add struct cmd and change UART port
This commit is contained in:
+12
-1
@@ -117,7 +117,18 @@ struct prng {
|
||||
unsigned long long seed;
|
||||
unsigned long long output;
|
||||
//unsigned int checksum;
|
||||
} /*__attribute__((packed))*/;
|
||||
};
|
||||
|
||||
#define CSPRNG_VERS 0x1
|
||||
|
||||
/* Define all commands */
|
||||
#define CSPRNG_CMD_GET_RNG 0x10
|
||||
|
||||
|
||||
struct cmd{
|
||||
int version;
|
||||
int cmd;
|
||||
};
|
||||
|
||||
/* USER CODE END Private defines */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user