#include <stdbool.h>
#include <stdint.h>
#include <inc/hw_types.h>
#include <inc/hw_trng.h>
#include <inc/hw_memmap.h>
#include <inc/hw_ints.h>
#include <driverlib/debug.h>
#include <driverlib/interrupt.h>
#include <driverlib/cpu.h>
Go to the source code of this file.
|
void | TRNGConfigure (uint32_t ui32MinSamplesPerCycle, uint32_t ui32MaxSamplesPerCycle, uint32_t ui32ClocksPerSample) |
| Configure the true random number generator. More...
|
|
__STATIC_INLINE void | TRNGEnable (void) |
| Enable the TRNG. More...
|
|
__STATIC_INLINE void | TRNGDisable (void) |
| Disable the TRNG module. More...
|
|
uint32_t | TRNGNumberGet (uint32_t ui32Word) |
| Get a random number from the generator. More...
|
|
__STATIC_INLINE uint32_t | TRNGStatusGet (void) |
| Get the status of the TRNG. More...
|
|
__STATIC_INLINE void | TRNGReset (void) |
| Reset the TRNG. More...
|
|
__STATIC_INLINE void | TRNGIntEnable (uint32_t ui32IntFlags) |
| Enables individual TRNG interrupt sources. More...
|
|
__STATIC_INLINE void | TRNGIntDisable (uint32_t ui32IntFlags) |
| Disables individual TRNG interrupt sources. More...
|
|
__STATIC_INLINE uint32_t | TRNGIntStatus (bool bMasked) |
| Gets the current interrupt status of the TRNG module. More...
|
|
__STATIC_INLINE void | TRNGIntClear (uint32_t ui32IntFlags) |
| Clears TRNG interrupt sources. More...
|
|
__STATIC_INLINE void | TRNGIntRegister (void(*pfnHandler)(void)) |
| Registers an interrupt handler for a TRNG interrupt. More...
|
|
__STATIC_INLINE void | TRNGIntUnregister (void) |
| Unregisters an interrupt handler for a TRNG interrupt. More...
|
|