27 #if (HAL_USE_TRNG == TRUE) || defined(__DOXYGEN__) 40 #if (PLATFORM_TRNG_USE_TRNG1 == TRUE) || defined(__DOXYGEN__) 67 #if PLATFORM_TRNG_USE_TRNG1 == TRUE 84 #if PLATFORM_TRNG_USE_TRNG1 == TRUE 85 if (&TRNGD1 == trngp) {
107 #if PLATFORM_TRNG_USE_TRNG1 == TRUE 108 if (&TRNGD1 == trngp) {
void trng_lld_init(void)
Low level TRNG driver initialization.
void trng_lld_stop(TRNGDriver *trngp)
Deactivates the TRNG peripheral.
void trng_lld_start(TRNGDriver *trngp)
Configures and activates the TRNG peripheral.
bool trng_lld_generate(TRNGDriver *trngp, size_t size, uint8_t *out)
True random numbers generator.
void trngObjectInit(TRNGDriver *trngp)
Initializes the standard part of a TRNGDriver structure.
TRNGDriver TRNGD1
TRNGD1 driver identifier.
USBOutEndpointState out
OUT EP0 state.
Structure representing a TRNG driver.
trngstate_t state
Driver state.