30 #ifndef _SAMS70_TRNG_COMPONENT_ 31 #define _SAMS70_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;
53 #define TRNG_CR_ENABLE (0x1u << 0) 54 #define TRNG_CR_KEY_Pos 8 55 #define TRNG_CR_KEY_Msk (0xffffffu << TRNG_CR_KEY_Pos) 56 #define TRNG_CR_KEY(value) ((TRNG_CR_KEY_Msk & ((value) << TRNG_CR_KEY_Pos))) 57 #define TRNG_CR_KEY_PASSWD (0x524E47u << 8) 59 #define TRNG_IER_DATRDY (0x1u << 0) 61 #define TRNG_IDR_DATRDY (0x1u << 0) 63 #define TRNG_IMR_DATRDY (0x1u << 0) 65 #define TRNG_ISR_DATRDY (0x1u << 0) 67 #define TRNG_ODATA_ODATA_Pos 0 68 #define TRNG_ODATA_ODATA_Msk (0xffffffffu << TRNG_ODATA_ODATA_Pos) #define __O
Definition: core_cm7.h:286
Trng hardware registers.
Definition: component_trng.h:41
#define __I
Definition: core_cm7.h:284