aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/efm32/tinygecko/emu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libopencm3/efm32/tinygecko/emu.h')
-rw-r--r--include/libopencm3/efm32/tinygecko/emu.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/include/libopencm3/efm32/tinygecko/emu.h b/include/libopencm3/efm32/tinygecko/emu.h
index 307d1d6..0a97679 100644
--- a/include/libopencm3/efm32/tinygecko/emu.h
+++ b/include/libopencm3/efm32/tinygecko/emu.h
@@ -48,9 +48,9 @@
* @{
*/
-#define EMU_CTRL MMIO32(EMU_BASE + 0x000) /**< @see EFM32TG_EMU_CTRL_bits */
-#define EMU_LOCK MMIO32(EMU_BASE + 0x008) /**< @see EFM32TG_EMU_LOCK_values */
-#define EMU_AUXCTRL MMIO32(EMU_BASE + 0x024) /**< @see EFM32TG_EMU_AUXCTRL_bits */
+#define EMU_CTRL MMIO32(EMU_BASE + 0x000) /**< @see EFM32TG_EMU_CTRL_bits */
+#define EMU_LOCK MMIO32(EMU_BASE + 0x008) /**< @see EFM32TG_EMU_LOCK_values */
+#define EMU_AUXCTRL MMIO32(EMU_BASE + 0x024) /**< @see EFM32TG_EMU_AUXCTRL_bits */
/** @} */
@@ -63,39 +63,39 @@
* @{
*/
-#define EMU_CTRL_EM4CTRL_TWO (2<<2)
-#define EMU_CTRL_EM4CTRL_THREE (3<<2)
-#define EMU_CTRL_EM2BLOCK (1<<1) /**< When this bit is set, no mode lower than EM1 will be entered */
-#define EMU_CTRL_EMVREG (1<<0) /**< When this bit is set, the voltage regulator will stay on in modes lower than EM1 */
+#define EMU_CTRL_EM4CTRL_TWO (2<<2)
+#define EMU_CTRL_EM4CTRL_THREE (3<<2)
+#define EMU_CTRL_EM2BLOCK (1<<1) /**< When this bit is set, no mode lower than EM1 will be entered */
+#define EMU_CTRL_EMVREG (1<<0) /**< When this bit is set, the voltage regulator will stay on in modes lower than EM1 */
/** @} */
/** Values for the EMU_LOCK register
*
- * See d0034_efm32tg_reference_manual.pdf section 10.5.2. There seems not to be
- * another mention of it.
+ * See d0034_efm32tg_reference_manual.pdf section 10.5.2 for definitions. There
+ * seems not to be another mention of it.
*
* @defgroup EFM32TG_EMU_LOCK_values EFM32 Tiny Gecko EMU LOCK values
* @{
*/
-#define EMU_LOCK_IS_UNLOCKED 0 /**< When the LOCK register reads as this value, it is open */
-#define EMU_LOCK_IS_LOCKED 1 /**< When the LOCK register reads as this value, it is locked */
-#define EMU_LOCK_SET_LOCKED 0 /**< Write this to the LOCK register to lock the EMU */
-#define EMU_LOCK_SET_UNLOCKED 0xade8 /**< Write this to the LOCK register to unlock the EMU */
+#define EMU_LOCK_IS_UNLOCKED 0 /**< When the LOCK register reads as this value, it is open */
+#define EMU_LOCK_IS_LOCKED 1 /**< When the LOCK register reads as this value, it is locked */
+#define EMU_LOCK_SET_LOCKED 0 /**< Write this to the LOCK register to lock the EMU */
+#define EMU_LOCK_SET_UNLOCKED 0xade8 /**< Write this to the LOCK register to unlock the EMU */
/** @} */
/** Bit states for the EMU_AUXCTRL register
*
- * See d0034_efm32tg_reference_manual.pdf section 10.5.3 for definition, and
+ * See d0034_efm32tg_reference_manual.pdf section 10.5.3 for definitions, and
* 9.5.3 for details.
*
* @defgroup EFM32TG_EMU_AUXCTRL_bits EFM32 Tiny Gecko EMU AUXCTRL bits
* @{
*/
-#define EMU_AUXCTRL_HRCCLR (1<<0)
+#define EMU_AUXCTRL_HRCCLR (1<<0)
/** @} */