![]() |
MAX78002 Peripheral Driver API
Peripheral Driver API for the MAX78002
|
Modules | |
TRNG_Registers | |
Functions | |
int | MXC_TRNG_Init (void) |
void | MXC_TRNG_EnableInt (void) |
void | MXC_TRNG_DisableInt (void) |
int | MXC_TRNG_Shutdown (void) |
void | MXC_TRNG_Handler (void) |
int | MXC_TRNG_RandomInt (void) |
int | MXC_TRNG_Random (uint8_t *data, uint32_t len) |
void | MXC_TRNG_RandomAsync (uint8_t *data, uint32_t len, mxc_trng_complete_t callback) |
void | MXC_TRNG_GenerateKey (void) |
int | MXC_TRNG_HealthTest (void) |
int MXC_TRNG_HealthTest | ( | void | ) |
Perform health test of the TRNG entropy source.
int MXC_TRNG_Init | ( | void | ) |
Enable portions of the TRNG.
int MXC_TRNG_Random | ( | uint8_t * | data, |
uint32_t | len | ||
) |
Get a random number of length len.
data | Pointer to a location to store the number |
len | Length of random number in bytes |
void MXC_TRNG_RandomAsync | ( | uint8_t * | data, |
uint32_t | len, | ||
mxc_trng_complete_t | callback | ||
) |
Get a random number of length len, do not block while generating data.
data | Pointer to a location to store the number |
len | Length of random number in bytes |
callback | Function that will be called when all data has been generated |
int MXC_TRNG_RandomInt | ( | void | ) |
Get a random number.
int MXC_TRNG_Shutdown | ( | void | ) |
Disable and reset portions of the TRNG.