![]() |
MAX32665 Peripheral Driver API
Peripheral Driver API for the MAX32665
|
Modules | |
| TRNG_Registers | |
Functions | |
| int | TRNG_Init (const sys_cfg_t *sys_cfg) |
| int | TRNG_Shutdown (void) |
| uint8_t | TRNG_Read8BIT (mxc_trng_regs_t *trng) |
| uint16_t | TRNG_Read16BIT (mxc_trng_regs_t *trng) |
| uint32_t | TRNG_Read32BIT (mxc_trng_regs_t *trng) |
| void | TRNG_Read (mxc_trng_regs_t *trng, uint8_t *data, int len) |
| void | TRNG_Generate_AES (mxc_trng_regs_t *trng) |
| void TRNG_Generate_AES | ( | mxc_trng_regs_t * | trng | ) |
Generates 256-bits random number automatically.
| trng | Pointer to the trng register structure. |
| int TRNG_Init | ( | const sys_cfg_t * | sys_cfg | ) |
| void TRNG_Read | ( | mxc_trng_regs_t * | trng, |
| uint8_t * | data, | ||
| int | len | ||
| ) |
Generates Random Number of variable length.
| trng | Pointer to the trng register structure. |
| data | Pointer to the Data Buffer. |
| len | Defines length of data(bytes). |
| uint16_t TRNG_Read16BIT | ( | mxc_trng_regs_t * | trng | ) |
Reads 16-bit value stored in the data register.
| trng | Pointer to the trng register structure. |
| uint32_t TRNG_Read32BIT | ( | mxc_trng_regs_t * | trng | ) |
Reads 32-bit value stored in the data register.
| trng | Pointer to the trng register structure. |
| uint8_t TRNG_Read8BIT | ( | mxc_trng_regs_t * | trng | ) |
Reads 8-bit value stored in the data register.
| trng | Pointer to the trng register structure. |
| int TRNG_Shutdown | ( | void | ) |
TRNG Shutdown.