EFM32 Zero Gecko Software Documentation  efm32zg-doc-5.1.2
EFM32ZG_EMU_BitFields

Detailed Description

Macros

#define _EMU_AUXCTRL_HRCCLR_DEFAULT   0x00000000UL
 
#define _EMU_AUXCTRL_HRCCLR_MASK   0x1UL
 
#define _EMU_AUXCTRL_HRCCLR_SHIFT   0
 
#define _EMU_AUXCTRL_MASK   0x00000001UL
 
#define _EMU_AUXCTRL_RESETVALUE   0x00000000UL
 
#define _EMU_CTRL_EM2BLOCK_DEFAULT   0x00000000UL
 
#define _EMU_CTRL_EM2BLOCK_MASK   0x2UL
 
#define _EMU_CTRL_EM2BLOCK_SHIFT   1
 
#define _EMU_CTRL_EM4CTRL_DEFAULT   0x00000000UL
 
#define _EMU_CTRL_EM4CTRL_MASK   0xCUL
 
#define _EMU_CTRL_EM4CTRL_SHIFT   2
 
#define _EMU_CTRL_EMVREG_DEFAULT   0x00000000UL
 
#define _EMU_CTRL_EMVREG_FULL   0x00000001UL
 
#define _EMU_CTRL_EMVREG_MASK   0x1UL
 
#define _EMU_CTRL_EMVREG_REDUCED   0x00000000UL
 
#define _EMU_CTRL_EMVREG_SHIFT   0
 
#define _EMU_CTRL_MASK   0x0000000FUL
 
#define _EMU_CTRL_RESETVALUE   0x00000000UL
 
#define _EMU_LOCK_LOCKKEY_DEFAULT   0x00000000UL
 
#define _EMU_LOCK_LOCKKEY_LOCK   0x00000000UL
 
#define _EMU_LOCK_LOCKKEY_LOCKED   0x00000001UL
 
#define _EMU_LOCK_LOCKKEY_MASK   0xFFFFUL
 
#define _EMU_LOCK_LOCKKEY_SHIFT   0
 
#define _EMU_LOCK_LOCKKEY_UNLOCK   0x0000ADE8UL
 
#define _EMU_LOCK_LOCKKEY_UNLOCKED   0x00000000UL
 
#define _EMU_LOCK_MASK   0x0000FFFFUL
 
#define _EMU_LOCK_RESETVALUE   0x00000000UL
 
#define EMU_AUXCTRL_HRCCLR   (0x1UL << 0)
 
#define EMU_AUXCTRL_HRCCLR_DEFAULT   (_EMU_AUXCTRL_HRCCLR_DEFAULT << 0)
 
#define EMU_CTRL_EM2BLOCK   (0x1UL << 1)
 
#define EMU_CTRL_EM2BLOCK_DEFAULT   (_EMU_CTRL_EM2BLOCK_DEFAULT << 1)
 
#define EMU_CTRL_EM4CTRL_DEFAULT   (_EMU_CTRL_EM4CTRL_DEFAULT << 2)
 
#define EMU_CTRL_EMVREG   (0x1UL << 0)
 
#define EMU_CTRL_EMVREG_DEFAULT   (_EMU_CTRL_EMVREG_DEFAULT << 0)
 
#define EMU_CTRL_EMVREG_FULL   (_EMU_CTRL_EMVREG_FULL << 0)
 
#define EMU_CTRL_EMVREG_REDUCED   (_EMU_CTRL_EMVREG_REDUCED << 0)
 
#define EMU_LOCK_LOCKKEY_DEFAULT   (_EMU_LOCK_LOCKKEY_DEFAULT << 0)
 
#define EMU_LOCK_LOCKKEY_LOCK   (_EMU_LOCK_LOCKKEY_LOCK << 0)
 
#define EMU_LOCK_LOCKKEY_LOCKED   (_EMU_LOCK_LOCKKEY_LOCKED << 0)
 
#define EMU_LOCK_LOCKKEY_UNLOCK   (_EMU_LOCK_LOCKKEY_UNLOCK << 0)
 
#define EMU_LOCK_LOCKKEY_UNLOCKED   (_EMU_LOCK_LOCKKEY_UNLOCKED << 0)
 

Macro Definition Documentation

#define _EMU_AUXCTRL_HRCCLR_DEFAULT   0x00000000UL

Mode DEFAULT for EMU_AUXCTRL

Definition at line 101 of file efm32zg_emu.h.

#define _EMU_AUXCTRL_HRCCLR_MASK   0x1UL

Bit mask for EMU_HRCCLR

Definition at line 100 of file efm32zg_emu.h.

#define _EMU_AUXCTRL_HRCCLR_SHIFT   0

Shift value for EMU_HRCCLR

Definition at line 99 of file efm32zg_emu.h.

Referenced by RMU_ResetCauseClear().

#define _EMU_AUXCTRL_MASK   0x00000001UL

Mask for EMU_AUXCTRL

Definition at line 97 of file efm32zg_emu.h.

#define _EMU_AUXCTRL_RESETVALUE   0x00000000UL

Default value for EMU_AUXCTRL

Definition at line 96 of file efm32zg_emu.h.

#define _EMU_CTRL_EM2BLOCK_DEFAULT   0x00000000UL

Mode DEFAULT for EMU_CTRL

Definition at line 72 of file efm32zg_emu.h.

#define _EMU_CTRL_EM2BLOCK_MASK   0x2UL

Bit mask for EMU_EM2BLOCK

Definition at line 71 of file efm32zg_emu.h.

#define _EMU_CTRL_EM2BLOCK_SHIFT   1

Shift value for EMU_EM2BLOCK

Definition at line 70 of file efm32zg_emu.h.

Referenced by EMU_EM2Block(), and EMU_EM2UnBlock().

#define _EMU_CTRL_EM4CTRL_DEFAULT   0x00000000UL

Mode DEFAULT for EMU_CTRL

Definition at line 76 of file efm32zg_emu.h.

#define _EMU_CTRL_EM4CTRL_MASK   0xCUL

Bit mask for EMU_EM4CTRL

Definition at line 75 of file efm32zg_emu.h.

Referenced by EMU_EnterEM4().

#define _EMU_CTRL_EM4CTRL_SHIFT   2

Shift value for EMU_EM4CTRL

Definition at line 74 of file efm32zg_emu.h.

Referenced by EMU_EnterEM4().

#define _EMU_CTRL_EMVREG_DEFAULT   0x00000000UL

Mode DEFAULT for EMU_CTRL

Definition at line 63 of file efm32zg_emu.h.

#define _EMU_CTRL_EMVREG_FULL   0x00000001UL

Mode FULL for EMU_CTRL

Definition at line 65 of file efm32zg_emu.h.

#define _EMU_CTRL_EMVREG_MASK   0x1UL

Bit mask for EMU_EMVREG

Definition at line 62 of file efm32zg_emu.h.

#define _EMU_CTRL_EMVREG_REDUCED   0x00000000UL

Mode REDUCED for EMU_CTRL

Definition at line 64 of file efm32zg_emu.h.

#define _EMU_CTRL_EMVREG_SHIFT   0

Shift value for EMU_EMVREG

Definition at line 61 of file efm32zg_emu.h.

#define _EMU_CTRL_MASK   0x0000000FUL

Mask for EMU_CTRL

Definition at line 59 of file efm32zg_emu.h.

#define _EMU_CTRL_RESETVALUE   0x00000000UL

Default value for EMU_CTRL

Definition at line 58 of file efm32zg_emu.h.

#define _EMU_LOCK_LOCKKEY_DEFAULT   0x00000000UL

Mode DEFAULT for EMU_LOCK

Definition at line 84 of file efm32zg_emu.h.

#define _EMU_LOCK_LOCKKEY_LOCK   0x00000000UL

Mode LOCK for EMU_LOCK

Definition at line 85 of file efm32zg_emu.h.

#define _EMU_LOCK_LOCKKEY_LOCKED   0x00000001UL

Mode LOCKED for EMU_LOCK

Definition at line 87 of file efm32zg_emu.h.

#define _EMU_LOCK_LOCKKEY_MASK   0xFFFFUL

Bit mask for EMU_LOCKKEY

Definition at line 83 of file efm32zg_emu.h.

#define _EMU_LOCK_LOCKKEY_SHIFT   0

Shift value for EMU_LOCKKEY

Definition at line 82 of file efm32zg_emu.h.

#define _EMU_LOCK_LOCKKEY_UNLOCK   0x0000ADE8UL

Mode UNLOCK for EMU_LOCK

Definition at line 88 of file efm32zg_emu.h.

#define _EMU_LOCK_LOCKKEY_UNLOCKED   0x00000000UL

Mode UNLOCKED for EMU_LOCK

Definition at line 86 of file efm32zg_emu.h.

#define _EMU_LOCK_MASK   0x0000FFFFUL

Mask for EMU_LOCK

Definition at line 81 of file efm32zg_emu.h.

#define _EMU_LOCK_RESETVALUE   0x00000000UL

Default value for EMU_LOCK

Definition at line 80 of file efm32zg_emu.h.

#define EMU_AUXCTRL_HRCCLR   (0x1UL << 0)

Hard Reset Cause Clear

Definition at line 98 of file efm32zg_emu.h.

#define EMU_AUXCTRL_HRCCLR_DEFAULT   (_EMU_AUXCTRL_HRCCLR_DEFAULT << 0)

Shifted mode DEFAULT for EMU_AUXCTRL

Definition at line 102 of file efm32zg_emu.h.

#define EMU_CTRL_EM2BLOCK   (0x1UL << 1)

Energy Mode 2 Block

Definition at line 69 of file efm32zg_emu.h.

#define EMU_CTRL_EM2BLOCK_DEFAULT   (_EMU_CTRL_EM2BLOCK_DEFAULT << 1)

Shifted mode DEFAULT for EMU_CTRL

Definition at line 73 of file efm32zg_emu.h.

#define EMU_CTRL_EM4CTRL_DEFAULT   (_EMU_CTRL_EM4CTRL_DEFAULT << 2)

Shifted mode DEFAULT for EMU_CTRL

Definition at line 77 of file efm32zg_emu.h.

#define EMU_CTRL_EMVREG   (0x1UL << 0)

Energy Mode Voltage Regulator Control

Definition at line 60 of file efm32zg_emu.h.

Referenced by EMU_EM23Init().

#define EMU_CTRL_EMVREG_DEFAULT   (_EMU_CTRL_EMVREG_DEFAULT << 0)

Shifted mode DEFAULT for EMU_CTRL

Definition at line 66 of file efm32zg_emu.h.

#define EMU_CTRL_EMVREG_FULL   (_EMU_CTRL_EMVREG_FULL << 0)

Shifted mode FULL for EMU_CTRL

Definition at line 68 of file efm32zg_emu.h.

#define EMU_CTRL_EMVREG_REDUCED   (_EMU_CTRL_EMVREG_REDUCED << 0)

Shifted mode REDUCED for EMU_CTRL

Definition at line 67 of file efm32zg_emu.h.

#define EMU_LOCK_LOCKKEY_DEFAULT   (_EMU_LOCK_LOCKKEY_DEFAULT << 0)

Shifted mode DEFAULT for EMU_LOCK

Definition at line 89 of file efm32zg_emu.h.

#define EMU_LOCK_LOCKKEY_LOCK   (_EMU_LOCK_LOCKKEY_LOCK << 0)

Shifted mode LOCK for EMU_LOCK

Definition at line 90 of file efm32zg_emu.h.

Referenced by EMU_Lock().

#define EMU_LOCK_LOCKKEY_LOCKED   (_EMU_LOCK_LOCKKEY_LOCKED << 0)

Shifted mode LOCKED for EMU_LOCK

Definition at line 92 of file efm32zg_emu.h.

Referenced by RMU_ResetCauseClear().

#define EMU_LOCK_LOCKKEY_UNLOCK   (_EMU_LOCK_LOCKKEY_UNLOCK << 0)

Shifted mode UNLOCK for EMU_LOCK

Definition at line 93 of file efm32zg_emu.h.

Referenced by EMU_Unlock().

#define EMU_LOCK_LOCKKEY_UNLOCKED   (_EMU_LOCK_LOCKKEY_UNLOCKED << 0)

Shifted mode UNLOCKED for EMU_LOCK

Definition at line 91 of file efm32zg_emu.h.