35 #ifndef _SAME70_TRNG_COMPONENT_ 36 #define _SAME70_TRNG_COMPONENT_ 44 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) 48 __I uint32_t Reserved1[3];
53 __I uint32_t Reserved2[12];
55 __I uint32_t Reserved3[42];
60 #define TRNG_CR_ENABLE (0x1u << 0) 61 #define TRNG_CR_KEY_Pos 8 62 #define TRNG_CR_KEY_Msk (0xffffffu << TRNG_CR_KEY_Pos) 63 #define TRNG_CR_KEY(value) ((TRNG_CR_KEY_Msk & ((value) << TRNG_CR_KEY_Pos))) 64 #define TRNG_CR_KEY_PASSWD (0x524E47u << 8) 66 #define TRNG_IER_DATRDY (0x1u << 0) 68 #define TRNG_IDR_DATRDY (0x1u << 0) 70 #define TRNG_IMR_DATRDY (0x1u << 0) 72 #define TRNG_ISR_DATRDY (0x1u << 0) 74 #define TRNG_ODATA_ODATA_Pos 0 75 #define TRNG_ODATA_ODATA_Msk (0xffffffffu << TRNG_ODATA_ODATA_Pos) 77 #define TRNG_VERSION_VERSION_Pos 0 78 #define TRNG_VERSION_VERSION_Msk (0xfffu << TRNG_VERSION_VERSION_Pos) 79 #define TRNG_VERSION_MFN_Pos 16 80 #define TRNG_VERSION_MFN_Msk (0x7u << TRNG_VERSION_MFN_Pos) __O uint32_t TRNG_IDR
(Trng Offset: 0x14) Interrupt Disable Register
__O uint32_t TRNG_CR
(Trng Offset: 0x00) Control Register
__I uint32_t TRNG_ODATA
(Trng Offset: 0x50) Output Data Register
__I uint32_t TRNG_IMR
(Trng Offset: 0x18) Interrupt Mask Register
__O uint32_t TRNG_IER
(Trng Offset: 0x10) Interrupt Enable Register
__I uint32_t TRNG_VERSION
(Trng Offset: 0xFC) Version Register
__I uint32_t TRNG_ISR
(Trng Offset: 0x1C) Interrupt Status Register