Driver for the TRNG (True Random Number Generator).
This driver provides access to the main features of the TRNG controller.
void trng_disable |
( |
Trng * |
p_trng | ) |
|
void trng_disable_interrupt |
( |
Trng * |
p_trng | ) |
|
Disable TRNG interrupt.
- Parameters
-
p_trng | Pointer to a TRNG instance. |
Referenced by TRNG_Handler().
void trng_enable |
( |
Trng * |
p_trng | ) |
|
void trng_enable_interrupt |
( |
Trng * |
p_trng | ) |
|
Enable TRNG interrupt.
- Parameters
-
p_trng | Pointer to a TRNG instance. |
Referenced by run_trng_test().
uint32_t trng_get_interrupt_mask |
( |
Trng * |
p_trng | ) |
|
Get TRNG interrupt mask.
- Parameters
-
p_trng | Pointer to a TRNG instance. |
- Return values
-
uint32_t trng_get_interrupt_status |
( |
Trng * |
p_trng | ) |
|
Get TRNG interrupt status.
- Parameters
-
p_trng | Pointer to a TRNG instance. |
- Return values
-
The | interrupt status value. |
Referenced by TRNG_Handler().
uint32_t trng_read_output_data |
( |
Trng * |
p_trng | ) |
|
Read TRNG output data.
- Parameters
-
p_trng | Pointer to a TRNG instance. |
- Return values
-