Classes | Macros
True Random Number Generator

Classes

struct  Trng
 Trng hardware registers. More...
 

Macros

#define TRNG_CR_ENABLE   (0x1u << 0)
 (TRNG_CR) Enables the TRNG to provide random values More...
 
#define TRNG_CR_KEY(value)   ((TRNG_CR_KEY_Msk & ((value) << TRNG_CR_KEY_Pos)))
 
#define TRNG_CR_KEY_Msk   (0xffffffu << TRNG_CR_KEY_Pos)
 (TRNG_CR) Security Key. More...
 
#define TRNG_CR_KEY_PASSWD   (0x524E47u << 8)
 (TRNG_CR) Writing any other value in this field aborts the write operation. More...
 
#define TRNG_CR_KEY_Pos   8
 
#define TRNG_IDR_DATRDY   (0x1u << 0)
 (TRNG_IDR) Data Ready Interrupt Disable More...
 
#define TRNG_IER_DATRDY   (0x1u << 0)
 (TRNG_IER) Data Ready Interrupt Enable More...
 
#define TRNG_IMR_DATRDY   (0x1u << 0)
 (TRNG_IMR) Data Ready Interrupt Mask More...
 
#define TRNG_ISR_DATRDY   (0x1u << 0)
 (TRNG_ISR) Data Ready More...
 
#define TRNG_ODATA_ODATA_Msk   (0xffffffffu << TRNG_ODATA_ODATA_Pos)
 (TRNG_ODATA) Output Data More...
 
#define TRNG_ODATA_ODATA_Pos   0
 
#define TRNG_VERSION_MFN_Msk   (0x7u << TRNG_VERSION_MFN_Pos)
 (TRNG_VERSION) Metal Fix Number More...
 
#define TRNG_VERSION_MFN_Pos   16
 
#define TRNG_VERSION_VERSION_Msk   (0xfffu << TRNG_VERSION_VERSION_Pos)
 (TRNG_VERSION) Version of the Hardware Module More...
 
#define TRNG_VERSION_VERSION_Pos   0
 

Detailed Description

SOFTWARE API DEFINITION FOR True Random Number Generator

Macro Definition Documentation

◆ TRNG_CR_ENABLE

#define TRNG_CR_ENABLE   (0x1u << 0)

(TRNG_CR) Enables the TRNG to provide random values

Definition at line 60 of file component/trng.h.

◆ TRNG_CR_KEY

#define TRNG_CR_KEY (   value)    ((TRNG_CR_KEY_Msk & ((value) << TRNG_CR_KEY_Pos)))

Definition at line 63 of file component/trng.h.

◆ TRNG_CR_KEY_Msk

#define TRNG_CR_KEY_Msk   (0xffffffu << TRNG_CR_KEY_Pos)

(TRNG_CR) Security Key.

Definition at line 62 of file component/trng.h.

◆ TRNG_CR_KEY_PASSWD

#define TRNG_CR_KEY_PASSWD   (0x524E47u << 8)

(TRNG_CR) Writing any other value in this field aborts the write operation.

Definition at line 64 of file component/trng.h.

◆ TRNG_CR_KEY_Pos

#define TRNG_CR_KEY_Pos   8

Definition at line 61 of file component/trng.h.

◆ TRNG_IDR_DATRDY

#define TRNG_IDR_DATRDY   (0x1u << 0)

(TRNG_IDR) Data Ready Interrupt Disable

Definition at line 68 of file component/trng.h.

◆ TRNG_IER_DATRDY

#define TRNG_IER_DATRDY   (0x1u << 0)

(TRNG_IER) Data Ready Interrupt Enable

Definition at line 66 of file component/trng.h.

◆ TRNG_IMR_DATRDY

#define TRNG_IMR_DATRDY   (0x1u << 0)

(TRNG_IMR) Data Ready Interrupt Mask

Definition at line 70 of file component/trng.h.

◆ TRNG_ISR_DATRDY

#define TRNG_ISR_DATRDY   (0x1u << 0)

(TRNG_ISR) Data Ready

Definition at line 72 of file component/trng.h.

◆ TRNG_ODATA_ODATA_Msk

#define TRNG_ODATA_ODATA_Msk   (0xffffffffu << TRNG_ODATA_ODATA_Pos)

(TRNG_ODATA) Output Data

Definition at line 75 of file component/trng.h.

◆ TRNG_ODATA_ODATA_Pos

#define TRNG_ODATA_ODATA_Pos   0

Definition at line 74 of file component/trng.h.

◆ TRNG_VERSION_MFN_Msk

#define TRNG_VERSION_MFN_Msk   (0x7u << TRNG_VERSION_MFN_Pos)

(TRNG_VERSION) Metal Fix Number

Definition at line 80 of file component/trng.h.

◆ TRNG_VERSION_MFN_Pos

#define TRNG_VERSION_MFN_Pos   16

Definition at line 79 of file component/trng.h.

◆ TRNG_VERSION_VERSION_Msk

#define TRNG_VERSION_VERSION_Msk   (0xfffu << TRNG_VERSION_VERSION_Pos)

(TRNG_VERSION) Version of the Hardware Module

Definition at line 78 of file component/trng.h.

◆ TRNG_VERSION_VERSION_Pos

#define TRNG_VERSION_VERSION_Pos   0

Definition at line 77 of file component/trng.h.



inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:18:01