EFM32 Tiny Gecko Software Documentation  efm32tg-doc-5.1.2
efm32tg_emu.h
Go to the documentation of this file.
1 /**************************************************************************/
32 /**************************************************************************/
36 /**************************************************************************/
41 typedef struct
42 {
43  __IOM uint32_t CTRL;
44  uint32_t RESERVED0[1];
45  __IOM uint32_t LOCK;
46  uint32_t RESERVED1[6];
47  __IOM uint32_t AUXCTRL;
48 } EMU_TypeDef;
50 /**************************************************************************/
55 /* Bit fields for EMU CTRL */
56 #define _EMU_CTRL_RESETVALUE 0x00000000UL
57 #define _EMU_CTRL_MASK 0x0000000FUL
58 #define EMU_CTRL_EMVREG (0x1UL << 0)
59 #define _EMU_CTRL_EMVREG_SHIFT 0
60 #define _EMU_CTRL_EMVREG_MASK 0x1UL
61 #define _EMU_CTRL_EMVREG_DEFAULT 0x00000000UL
62 #define _EMU_CTRL_EMVREG_REDUCED 0x00000000UL
63 #define _EMU_CTRL_EMVREG_FULL 0x00000001UL
64 #define EMU_CTRL_EMVREG_DEFAULT (_EMU_CTRL_EMVREG_DEFAULT << 0)
65 #define EMU_CTRL_EMVREG_REDUCED (_EMU_CTRL_EMVREG_REDUCED << 0)
66 #define EMU_CTRL_EMVREG_FULL (_EMU_CTRL_EMVREG_FULL << 0)
67 #define EMU_CTRL_EM2BLOCK (0x1UL << 1)
68 #define _EMU_CTRL_EM2BLOCK_SHIFT 1
69 #define _EMU_CTRL_EM2BLOCK_MASK 0x2UL
70 #define _EMU_CTRL_EM2BLOCK_DEFAULT 0x00000000UL
71 #define EMU_CTRL_EM2BLOCK_DEFAULT (_EMU_CTRL_EM2BLOCK_DEFAULT << 1)
72 #define _EMU_CTRL_EM4CTRL_SHIFT 2
73 #define _EMU_CTRL_EM4CTRL_MASK 0xCUL
74 #define _EMU_CTRL_EM4CTRL_DEFAULT 0x00000000UL
75 #define EMU_CTRL_EM4CTRL_DEFAULT (_EMU_CTRL_EM4CTRL_DEFAULT << 2)
77 /* Bit fields for EMU LOCK */
78 #define _EMU_LOCK_RESETVALUE 0x00000000UL
79 #define _EMU_LOCK_MASK 0x0000FFFFUL
80 #define _EMU_LOCK_LOCKKEY_SHIFT 0
81 #define _EMU_LOCK_LOCKKEY_MASK 0xFFFFUL
82 #define _EMU_LOCK_LOCKKEY_DEFAULT 0x00000000UL
83 #define _EMU_LOCK_LOCKKEY_LOCK 0x00000000UL
84 #define _EMU_LOCK_LOCKKEY_UNLOCKED 0x00000000UL
85 #define _EMU_LOCK_LOCKKEY_LOCKED 0x00000001UL
86 #define _EMU_LOCK_LOCKKEY_UNLOCK 0x0000ADE8UL
87 #define EMU_LOCK_LOCKKEY_DEFAULT (_EMU_LOCK_LOCKKEY_DEFAULT << 0)
88 #define EMU_LOCK_LOCKKEY_LOCK (_EMU_LOCK_LOCKKEY_LOCK << 0)
89 #define EMU_LOCK_LOCKKEY_UNLOCKED (_EMU_LOCK_LOCKKEY_UNLOCKED << 0)
90 #define EMU_LOCK_LOCKKEY_LOCKED (_EMU_LOCK_LOCKKEY_LOCKED << 0)
91 #define EMU_LOCK_LOCKKEY_UNLOCK (_EMU_LOCK_LOCKKEY_UNLOCK << 0)
93 /* Bit fields for EMU AUXCTRL */
94 #define _EMU_AUXCTRL_RESETVALUE 0x00000000UL
95 #define _EMU_AUXCTRL_MASK 0x00000001UL
96 #define EMU_AUXCTRL_HRCCLR (0x1UL << 0)
97 #define _EMU_AUXCTRL_HRCCLR_SHIFT 0
98 #define _EMU_AUXCTRL_HRCCLR_MASK 0x1UL
99 #define _EMU_AUXCTRL_HRCCLR_DEFAULT 0x00000000UL
100 #define EMU_AUXCTRL_HRCCLR_DEFAULT (_EMU_AUXCTRL_HRCCLR_DEFAULT << 0)
__IOM uint32_t CTRL
Definition: efm32tg_emu.h:43
__IOM uint32_t AUXCTRL
Definition: efm32tg_emu.h:47
__IOM uint32_t LOCK
Definition: efm32tg_emu.h:45