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