30 #ifndef _SAMV71_TRNG_COMPONENT_ 31 #define _SAMV71_TRNG_COMPONENT_ 39 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) 43 __I uint32_t Reserved1[3];
44 __O uint32_t TRNG_IER;
45 __O uint32_t TRNG_IDR;
46 __I uint32_t TRNG_IMR;
47 __I uint32_t TRNG_ISR;
48 __I uint32_t Reserved2[12];
49 __I uint32_t TRNG_ODATA;
50 __I uint32_t Reserved3[42];
55 #define TRNG_CR_ENABLE (0x1u << 0) 56 #define TRNG_CR_KEY_Pos 8 57 #define TRNG_CR_KEY_Msk (0xffffffu << TRNG_CR_KEY_Pos) 58 #define TRNG_CR_KEY(value) ((TRNG_CR_KEY_Msk & ((value) << TRNG_CR_KEY_Pos))) 59 #define TRNG_CR_KEY_PASSWD (0x524E47u << 8) 61 #define TRNG_IER_DATRDY (0x1u << 0) 63 #define TRNG_IDR_DATRDY (0x1u << 0) 65 #define TRNG_IMR_DATRDY (0x1u << 0) 67 #define TRNG_ISR_DATRDY (0x1u << 0) 69 #define TRNG_ODATA_ODATA_Pos 0 70 #define TRNG_ODATA_ODATA_Msk (0xffffffffu << TRNG_ODATA_ODATA_Pos) 72 #define TRNG_VERSION_VERSION_Pos 0 73 #define TRNG_VERSION_VERSION_Msk (0xfffu << TRNG_VERSION_VERSION_Pos) 74 #define TRNG_VERSION_MFN_Pos 16 75 #define TRNG_VERSION_MFN_Msk (0x7u << TRNG_VERSION_MFN_Pos) #define __O
Definition: core_cm7.h:286
Trng hardware registers.
Definition: component_trng.h:41
__I uint32_t TRNG_VERSION
(Trng Offset: 0xFC) Version Register
Definition: component_trng.h:51
#define __I
Definition: core_cm7.h:284