ChibiOS/HAL 9.0.0
|
TRNG Driver macros and structures. More...
#include "hal_trng_lld.h"
Go to the source code of this file.
Data Structures | |
struct | hal_trng_config |
Driver configuration structure. More... | |
struct | hal_trng_driver |
Structure representing a TRNG driver. More... |
Typedefs | |
typedef struct hal_trng_driver | TRNGDriver |
Type of a structure representing a TRNG driver. | |
typedef struct hal_trng_config | TRNGConfig |
Driver configuration structure. |
Enumerations | |
enum | trngstate_t { TRNG_UNINIT = 0 , TRNG_STOP = 1 , TRNG_READY = 2 , TRNG_RUNNING = 3 } |
Driver state machine possible states. More... |
Functions | |
void | trngInit (void) |
TRNG Driver initialization. | |
void | trngObjectInit (TRNGDriver *trngp) |
Initializes the standard part of a TRNGDriver structure. | |
msg_t | trngStart (TRNGDriver *trngp, const TRNGConfig *config) |
Configures and activates the TRNG peripheral. | |
void | trngStop (TRNGDriver *trngp) |
Deactivates the TRNG peripheral. | |
bool | trngGenerate (TRNGDriver *trngp, size_t size, uint8_t *out) |
True random numbers generator. |
TRNG Driver macros and structures.
Definition in file hal_trng.h.