![]() |
RTEMS 6.1
|
#include "chip.h"Functions | |
| void | TRNG_Enable (void) |
| Enables the TRNG to provide Random Values. | |
| void | TRNG_Disable (void) |
| Disables the TRNG to provide Random Values. | |
| void | TRNG_EnableIt (void) |
| Data Ready Interrupt enable. | |
| void | TRNG_DisableIt (void) |
| Data Ready Interrupt Disable. | |
| uint32_t | TRNG_GetStatus (void) |
| Get the current status register of the given TRNG peripheral. | |
| uint32_t | TRNG_GetRandData (void) |
| Get the 32-bit Output Data from TRNG peripheral. | |
Implementation of True Random Number Generator (TRNG)
| void TRNG_Disable | ( | void | ) |
Disables the TRNG to provide Random Values.
| key | This key is to be written when the DISABLE bit is set. |
| void TRNG_Enable | ( | void | ) |
Enables the TRNG to provide Random Values.
| key | This key is to be written when the ENABLE bit is set. |
| uint32_t TRNG_GetRandData | ( | void | ) |
Get the 32-bit Output Data from TRNG peripheral.
| uint32_t TRNG_GetStatus | ( | void | ) |
Get the current status register of the given TRNG peripheral.