EFM32 Happy Gecko Software Documentation
efm32hg-doc-5.1.2
Main Page
Modules
Files
Documentation Home
silabs.com
File List
efm32hg_emu.h
Go to the documentation of this file.
1
/**************************************************************************/
32
/**************************************************************************/
36
/**************************************************************************/
41
typedef
struct
42
{
43
__IOM uint32_t
CTRL
;
45
uint32_t RESERVED0[1];
46
__IOM uint32_t
LOCK
;
48
uint32_t RESERVED1[6];
49
__IOM uint32_t
AUXCTRL
;
50
}
EMU_TypeDef
;
52
/**************************************************************************/
57
/* Bit fields for EMU CTRL */
58
#define _EMU_CTRL_RESETVALUE 0x00000000UL
59
#define _EMU_CTRL_MASK 0x0000000FUL
60
#define EMU_CTRL_EMVREG (0x1UL << 0)
61
#define _EMU_CTRL_EMVREG_SHIFT 0
62
#define _EMU_CTRL_EMVREG_MASK 0x1UL
63
#define _EMU_CTRL_EMVREG_DEFAULT 0x00000000UL
64
#define _EMU_CTRL_EMVREG_REDUCED 0x00000000UL
65
#define _EMU_CTRL_EMVREG_FULL 0x00000001UL
66
#define EMU_CTRL_EMVREG_DEFAULT (_EMU_CTRL_EMVREG_DEFAULT << 0)
67
#define EMU_CTRL_EMVREG_REDUCED (_EMU_CTRL_EMVREG_REDUCED << 0)
68
#define EMU_CTRL_EMVREG_FULL (_EMU_CTRL_EMVREG_FULL << 0)
69
#define EMU_CTRL_EM2BLOCK (0x1UL << 1)
70
#define _EMU_CTRL_EM2BLOCK_SHIFT 1
71
#define _EMU_CTRL_EM2BLOCK_MASK 0x2UL
72
#define _EMU_CTRL_EM2BLOCK_DEFAULT 0x00000000UL
73
#define EMU_CTRL_EM2BLOCK_DEFAULT (_EMU_CTRL_EM2BLOCK_DEFAULT << 1)
74
#define _EMU_CTRL_EM4CTRL_SHIFT 2
75
#define _EMU_CTRL_EM4CTRL_MASK 0xCUL
76
#define _EMU_CTRL_EM4CTRL_DEFAULT 0x00000000UL
77
#define EMU_CTRL_EM4CTRL_DEFAULT (_EMU_CTRL_EM4CTRL_DEFAULT << 2)
79
/* Bit fields for EMU LOCK */
80
#define _EMU_LOCK_RESETVALUE 0x00000000UL
81
#define _EMU_LOCK_MASK 0x0000FFFFUL
82
#define _EMU_LOCK_LOCKKEY_SHIFT 0
83
#define _EMU_LOCK_LOCKKEY_MASK 0xFFFFUL
84
#define _EMU_LOCK_LOCKKEY_DEFAULT 0x00000000UL
85
#define _EMU_LOCK_LOCKKEY_LOCK 0x00000000UL
86
#define _EMU_LOCK_LOCKKEY_UNLOCKED 0x00000000UL
87
#define _EMU_LOCK_LOCKKEY_LOCKED 0x00000001UL
88
#define _EMU_LOCK_LOCKKEY_UNLOCK 0x0000ADE8UL
89
#define EMU_LOCK_LOCKKEY_DEFAULT (_EMU_LOCK_LOCKKEY_DEFAULT << 0)
90
#define EMU_LOCK_LOCKKEY_LOCK (_EMU_LOCK_LOCKKEY_LOCK << 0)
91
#define EMU_LOCK_LOCKKEY_UNLOCKED (_EMU_LOCK_LOCKKEY_UNLOCKED << 0)
92
#define EMU_LOCK_LOCKKEY_LOCKED (_EMU_LOCK_LOCKKEY_LOCKED << 0)
93
#define EMU_LOCK_LOCKKEY_UNLOCK (_EMU_LOCK_LOCKKEY_UNLOCK << 0)
95
/* Bit fields for EMU AUXCTRL */
96
#define _EMU_AUXCTRL_RESETVALUE 0x00000000UL
97
#define _EMU_AUXCTRL_MASK 0x00000001UL
98
#define EMU_AUXCTRL_HRCCLR (0x1UL << 0)
99
#define _EMU_AUXCTRL_HRCCLR_SHIFT 0
100
#define _EMU_AUXCTRL_HRCCLR_MASK 0x1UL
101
#define _EMU_AUXCTRL_HRCCLR_DEFAULT 0x00000000UL
102
#define EMU_AUXCTRL_HRCCLR_DEFAULT (_EMU_AUXCTRL_HRCCLR_DEFAULT << 0)
EMU_TypeDef
Definition:
efm32hg_emu.h:41
EMU_TypeDef::CTRL
__IOM uint32_t CTRL
Definition:
efm32hg_emu.h:43
EMU_TypeDef::AUXCTRL
__IOM uint32_t AUXCTRL
Definition:
efm32hg_emu.h:49
EMU_TypeDef::LOCK
__IOM uint32_t LOCK
Definition:
efm32hg_emu.h:46
platform
Device
SiliconLabs
EFM32HG
Include
efm32hg_emu.h
Generated on Thu Mar 9 2017 20:44:09 for EFM32 Happy Gecko Software Documentation by
1.8.10