28 #if (HAL_USE_TRNG == TRUE) || defined(__DOXYGEN__) 77 trng_lld_config_fields;
92 #if defined(TRNG_DRIVER_EXT_FIELDS) 93 TRNG_DRIVER_EXT_FIELDS
void trngStop(TRNGDriver *trngp)
Deactivates the TRNG peripheral.
bool trngGenerate(TRNGDriver *trngp, size_t size, uint8_t *out)
True random numbers generator.
void trngObjectInit(TRNGDriver *trngp)
Initializes the standard part of a TRNGDriver structure.
void trngStart(TRNGDriver *trngp, const TRNGConfig *config)
Configures and activates the TRNG peripheral.
Driver configuration structure.
void trngInit(void)
TRNG Driver initialization.
#define trng_lld_driver_fields
Low level fields of the TRNG driver structure.
const TRNGConfig * config
Current configuration data.
PLATFORM TRNG subsystem low level driver header.
trngstate_t
Driver state machine possible states.
USBOutEndpointState out
OUT EP0 state.
Structure representing a TRNG driver.
trngstate_t state
Driver state.