SAME54P20A Test Project
trng.h
Go to the documentation of this file.
1 
30 #ifndef _SAME54_TRNG_INSTANCE_
31 #define _SAME54_TRNG_INSTANCE_
32 
33 /* ========== Register definition for TRNG peripheral ========== */
34 #if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
35 #define REG_TRNG_CTRLA (0x42002800)
36 #define REG_TRNG_EVCTRL (0x42002804)
37 #define REG_TRNG_INTENCLR (0x42002808)
38 #define REG_TRNG_INTENSET (0x42002809)
39 #define REG_TRNG_INTFLAG (0x4200280A)
40 #define REG_TRNG_DATA (0x42002820)
41 #else
42 #define REG_TRNG_CTRLA (*(RwReg8 *)0x42002800UL)
43 #define REG_TRNG_EVCTRL (*(RwReg8 *)0x42002804UL)
44 #define REG_TRNG_INTENCLR (*(RwReg8 *)0x42002808UL)
45 #define REG_TRNG_INTENSET (*(RwReg8 *)0x42002809UL)
46 #define REG_TRNG_INTFLAG (*(RwReg8 *)0x4200280AUL)
47 #define REG_TRNG_DATA (*(RoReg *)0x42002820UL)
48 #endif /* (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
49 
50 
51 #endif /* _SAME54_TRNG_INSTANCE_ */