True Random Number Generator (TRNG) Driver Library.
|
| __STATIC_INLINE void | DL_TRNG_enablePower (TRNG_Regs *trng) |
| | Enables power on TRNG module. More...
|
| |
| __STATIC_INLINE void | DL_TRNG_disablePower (TRNG_Regs *trng) |
| | Disable power on TRNG module. More...
|
| |
| __STATIC_INLINE DL_TRNG_CLOCK_DIVIDE | DL_TRNG_getClockDivider (TRNG_Regs *trng) |
| | Get the clock divider on the TRNG module. More...
|
| |
| __STATIC_INLINE void | DL_TRNG_setClockDivider (TRNG_Regs *trng, DL_TRNG_CLOCK_DIVIDE clockDivider) |
| | Set the clock divider on the TRNG module. More...
|
| |
| __STATIC_INLINE void | DL_TRNG_reset (TRNG_Regs *trng) |
| | Resets the TRNG module. More...
|
| |
| __STATIC_INLINE bool | DL_TRNG_isReset (TRNG_Regs *trng) |
| | Returns if TRNG peripheral was reset. More...
|
| |
| __STATIC_INLINE bool | DL_TRNG_isCaptureReady (TRNG_Regs *trng) |
| | Returns if the data capture is ready. More...
|
| |
| __STATIC_INLINE bool | DL_TRNG_isCommandDone (TRNG_Regs *trng) |
| | Returns if the issued TRNG command is done. More...
|
| |
| __STATIC_INLINE bool | DL_TRNG_isCommandFail (TRNG_Regs *trng) |
| | Returns if the issued TRNG command failed. More...
|
| |
| __STATIC_INLINE bool | DL_TRNG_isHealthTestFail (TRNG_Regs *trng) |
| | Returns if a health test failed. More...
|
| |
| __STATIC_INLINE void | DL_TRNG_setDecimationRate (TRNG_Regs *trng, DL_TRNG_DECIMATION_RATE decimationRate) |
| | Set the decimation rate. More...
|
| |
| __STATIC_INLINE DL_TRNG_DECIMATION_RATE | DL_TRNG_getDecimationRate (TRNG_Regs *trng) |
| | Get the decimation rate. More...
|
| |
| __STATIC_INLINE uint8_t | DL_TRNG_getDigitalHealthTestResults (TRNG_Regs *trng) |
| | Get the digital health test results. More...
|
| |
| __STATIC_INLINE uint8_t | DL_TRNG_getAnalogHealthTestResults (TRNG_Regs *trng) |
| | Get the analog health test results. More...
|
| |
| __STATIC_INLINE uint32_t | DL_TRNG_getCurrentState (TRNG_Regs *trng) |
| | Get the current state of the TRNG front end FSM. More...
|
| |
| __STATIC_INLINE uint32_t | DL_TRNG_getIssuedCommand (TRNG_Regs *trng) |
| | Get the last accepted command that was issued to the TRNG. More...
|
| |
| __STATIC_INLINE bool | DL_TRNG_isRepetitionTestFail (TRNG_Regs *trng) |
| | Indicates if the repetition counter test caused the most recent failure. More...
|
| |
| __STATIC_INLINE bool | DL_TRNG_isAdaptiveTestFail (TRNG_Regs *trng) |
| | Indicates if the Adaptive Proportion Test (1,2,3, or 4-bit counters) caused the most recent failure. More...
|
| |
| __STATIC_INLINE void | DL_TRNG_enableInterrupt (TRNG_Regs *trng, uint32_t interruptMask) |
| | Enable TRNG interrupt. More...
|
| |
| __STATIC_INLINE void | DL_TRNG_disableInterrupt (TRNG_Regs *trng, uint32_t interruptMask) |
| | Disable TRNG interrupt. More...
|
| |
| __STATIC_INLINE uint32_t | DL_TRNG_getEnabledInterrupts (TRNG_Regs *trng, uint32_t interruptMask) |
| | Check which TRNG interrupts are enabled. More...
|
| |
| __STATIC_INLINE uint32_t | DL_TRNG_getEnabledInterruptStatus (TRNG_Regs *trng, uint32_t interruptMask) |
| | Check interrupt flag of enabled TRNG interrupt. More...
|
| |
| __STATIC_INLINE uint32_t | DL_TRNG_getRawInterruptStatus (TRNG_Regs *trng, uint32_t interruptMask) |
| | Check interrupt flag of any TRNG interrupt. More...
|
| |
| __STATIC_INLINE DL_TRNG_IIDX | DL_TRNG_getPendingInterrupt (TRNG_Regs *trng) |
| | Get highest priority pending TRNG interrupt. More...
|
| |
| __STATIC_INLINE void | DL_TRNG_clearInterruptStatus (TRNG_Regs *trng, uint32_t interruptMask) |
| | Clear pending TRNG interrupt. More...
|
| |
| __STATIC_INLINE void | DL_TRNG_sendCommand (TRNG_Regs *trng, DL_TRNG_CMD cmd) |
| | Update control register's command bits to send a TRNG command. More...
|
| |
| __STATIC_INLINE uint32_t | DL_TRNG_getCapture (TRNG_Regs *trng) |
| | Get word capture from TRNG. More...
|
| |
| bool | DL_TRNG_saveConfiguration (TRNG_Regs *trng, DL_TRNG_backupConfig *ptr) |
| | Save TRNG configuration before entering a power loss state. Only necessary for PG 1.0 silicon. More...
|
| |
| bool | DL_TRNG_restoreConfiguration (TRNG_Regs *trng, DL_TRNG_backupConfig *ptr) |
| | Restore TRNG configuration after leaving a power loss state. Upon restoration, if the TRNG was not originally in OFF state, then the TRNG will be set to the normal operating mode. Only necessary for PG 1.0 silicon. More...
|
| |