RTEMS
5.0.0
|
#include "chip.h"
Functions | |
void | TRNG_Enable (void) |
Enables the TRNG to provide Random Values. More... | |
void | TRNG_Disable (void) |
Disables the TRNG to provide Random Values. More... | |
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. More... | |
uint32_t | TRNG_GetRandData (void) |
Get the 32-bit Output Data from TRNG peripheral. More... | |
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.