RTEMS  5.0.0
Functions
trng.c File Reference
#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...
 

Detailed Description

Implementation of True Random Number Generator (TRNG)

Function Documentation

◆ TRNG_Disable()

void TRNG_Disable ( void  )

Disables the TRNG to provide Random Values.

Parameters
keyThis key is to be written when the DISABLE bit is set.

◆ TRNG_Enable()

void TRNG_Enable ( void  )

Enables the TRNG to provide Random Values.

Parameters
keyThis key is to be written when the ENABLE bit is set.

◆ TRNG_GetRandData()

uint32_t TRNG_GetRandData ( void  )

Get the 32-bit Output Data from TRNG peripheral.

Returns
TRNG output data.

◆ TRNG_GetStatus()

uint32_t TRNG_GetStatus ( void  )

Get the current status register of the given TRNG peripheral.

Returns
TRNG status register.