RTC Bit FieldsDevices > RTC

Macros

#define _RTC_CNT_CNT_DEFAULT 0x00000000UL
#define _RTC_CNT_CNT_MASK 0xFFFFFFUL
#define _RTC_CNT_CNT_SHIFT 0
#define _RTC_CNT_MASK 0x00FFFFFFUL
#define _RTC_CNT_RESETVALUE 0x00000000UL
#define _RTC_COMP_COMP_COMP_DEFAULT 0x00000000UL
#define _RTC_COMP_COMP_COMP_MASK 0xFFFFFFUL
#define _RTC_COMP_COMP_COMP_SHIFT 0
#define _RTC_COMP_COMP_MASK 0x00FFFFFFUL
#define _RTC_COMP_COMP_RESETVALUE 0x00000000UL
#define _RTC_CTRL_COMP0TOP_DEFAULT 0x00000000UL
#define _RTC_CTRL_COMP0TOP_DISABLE 0x00000000UL
#define _RTC_CTRL_COMP0TOP_ENABLE 0x00000001UL
#define _RTC_CTRL_COMP0TOP_MASK 0x4UL
#define _RTC_CTRL_COMP0TOP_SHIFT 2
#define _RTC_CTRL_DEBUGRUN_DEFAULT 0x00000000UL
#define _RTC_CTRL_DEBUGRUN_MASK 0x2UL
#define _RTC_CTRL_DEBUGRUN_SHIFT 1
#define _RTC_CTRL_EN_DEFAULT 0x00000000UL
#define _RTC_CTRL_EN_MASK 0x1UL
#define _RTC_CTRL_EN_SHIFT 0
#define _RTC_CTRL_MASK 0x00000007UL
#define _RTC_CTRL_RESETVALUE 0x00000000UL
#define _RTC_IEN_COMP_DEFAULT 0x00000000UL
#define _RTC_IEN_COMP_MASK 0x7EUL
#define _RTC_IEN_COMP_SHIFT 1
#define _RTC_IEN_MASK 0x0000007FUL
#define _RTC_IEN_OF_DEFAULT 0x00000000UL
#define _RTC_IEN_OF_MASK 0x1UL
#define _RTC_IEN_OF_SHIFT 0
#define _RTC_IEN_RESETVALUE 0x00000000UL
#define _RTC_IF_COMP_DEFAULT 0x00000000UL
#define _RTC_IF_COMP_MASK 0x7EUL
#define _RTC_IF_COMP_SHIFT 1
#define _RTC_IF_MASK 0x0000007FUL
#define _RTC_IF_OF_DEFAULT 0x00000000UL
#define _RTC_IF_OF_MASK 0x1UL
#define _RTC_IF_OF_SHIFT 0
#define _RTC_IF_RESETVALUE 0x00000000UL
#define _RTC_IFC_COMP_DEFAULT 0x00000000UL
#define _RTC_IFC_COMP_MASK 0x7EUL
#define _RTC_IFC_COMP_SHIFT 1
#define _RTC_IFC_MASK 0x0000007FUL
#define _RTC_IFC_OF_DEFAULT 0x00000000UL
#define _RTC_IFC_OF_MASK 0x1UL
#define _RTC_IFC_OF_SHIFT 0
#define _RTC_IFC_RESETVALUE 0x00000000UL
#define _RTC_IFS_COMP_DEFAULT 0x00000000UL
#define _RTC_IFS_COMP_MASK 0x7EUL
#define _RTC_IFS_COMP_SHIFT 1
#define _RTC_IFS_MASK 0x0000007FUL
#define _RTC_IFS_OF_DEFAULT 0x00000000UL
#define _RTC_IFS_OF_MASK 0x1UL
#define _RTC_IFS_OF_SHIFT 0
#define _RTC_IFS_RESETVALUE 0x00000000UL
#define RTC_CNT_CNT_DEFAULT ( _RTC_CNT_CNT_DEFAULT << 0)
#define RTC_COMP_COMP_COMP_DEFAULT ( _RTC_COMP_COMP_COMP_DEFAULT << 0)
#define RTC_CTRL_COMP0TOP (0x1UL << 2)
#define RTC_CTRL_COMP0TOP_DEFAULT ( _RTC_CTRL_COMP0TOP_DEFAULT << 2)
#define RTC_CTRL_COMP0TOP_DISABLE ( _RTC_CTRL_COMP0TOP_DISABLE << 2)
#define RTC_CTRL_COMP0TOP_ENABLE ( _RTC_CTRL_COMP0TOP_ENABLE << 2)
#define RTC_CTRL_DEBUGRUN (0x1UL << 1)
#define RTC_CTRL_DEBUGRUN_DEFAULT ( _RTC_CTRL_DEBUGRUN_DEFAULT << 1)
#define RTC_CTRL_EN (0x1UL << 0)
#define RTC_CTRL_EN_DEFAULT ( _RTC_CTRL_EN_DEFAULT << 0)
#define RTC_IEN_COMP_DEFAULT ( _RTC_IEN_COMP_DEFAULT << 1)
#define RTC_IEN_OF (0x1UL << 0)
#define RTC_IEN_OF_DEFAULT ( _RTC_IEN_OF_DEFAULT << 0)
#define RTC_IF_COMP_DEFAULT ( _RTC_IF_COMP_DEFAULT << 1)
#define RTC_IF_OF (0x1UL << 0)
#define RTC_IF_OF_DEFAULT ( _RTC_IF_OF_DEFAULT << 0)
#define RTC_IFC_COMP_DEFAULT ( _RTC_IFC_COMP_DEFAULT << 1)
#define RTC_IFC_OF (0x1UL << 0)
#define RTC_IFC_OF_DEFAULT ( _RTC_IFC_OF_DEFAULT << 0)
#define RTC_IFS_COMP_DEFAULT ( _RTC_IFS_COMP_DEFAULT << 1)
#define RTC_IFS_OF (0x1UL << 0)
#define RTC_IFS_OF_DEFAULT ( _RTC_IFS_OF_DEFAULT << 0)

Macro Definition Documentation

#define _RTC_CNT_CNT_DEFAULT   0x00000000UL

Mode DEFAULT for RTC_CNT

Definition at line 95 of file efm32gg12b_rtc.h .

#define _RTC_CNT_CNT_MASK   0xFFFFFFUL

Bit mask for RTC_CNT

Definition at line 94 of file efm32gg12b_rtc.h .

#define _RTC_CNT_CNT_SHIFT   0

Shift value for RTC_CNT

Definition at line 93 of file efm32gg12b_rtc.h .

#define _RTC_CNT_MASK   0x00FFFFFFUL

Mask for RTC_CNT

Definition at line 92 of file efm32gg12b_rtc.h .

#define _RTC_CNT_RESETVALUE   0x00000000UL

Default value for RTC_CNT

Definition at line 91 of file efm32gg12b_rtc.h .

#define _RTC_COMP_COMP_COMP_DEFAULT   0x00000000UL

Mode DEFAULT for RTC_COMP_COMP

Definition at line 155 of file efm32gg12b_rtc.h .

#define _RTC_COMP_COMP_COMP_MASK   0xFFFFFFUL

Bit mask for RTC_COMP

Definition at line 154 of file efm32gg12b_rtc.h .

Referenced by RTC_CompareSet() .

#define _RTC_COMP_COMP_COMP_SHIFT   0

Shift value for RTC_COMP

Definition at line 153 of file efm32gg12b_rtc.h .

Referenced by RTC_CompareSet() .

#define _RTC_COMP_COMP_MASK   0x00FFFFFFUL

Mask for RTC_COMP_COMP

Definition at line 152 of file efm32gg12b_rtc.h .

#define _RTC_COMP_COMP_RESETVALUE   0x00000000UL

Default value for RTC_COMP_COMP

Definition at line 151 of file efm32gg12b_rtc.h .

Referenced by RTC_Reset() .

#define _RTC_CTRL_COMP0TOP_DEFAULT   0x00000000UL

Mode DEFAULT for RTC_CTRL

Definition at line 83 of file efm32gg12b_rtc.h .

#define _RTC_CTRL_COMP0TOP_DISABLE   0x00000000UL

Mode DISABLE for RTC_CTRL

Definition at line 84 of file efm32gg12b_rtc.h .

#define _RTC_CTRL_COMP0TOP_ENABLE   0x00000001UL

Mode ENABLE for RTC_CTRL

Definition at line 85 of file efm32gg12b_rtc.h .

#define _RTC_CTRL_COMP0TOP_MASK   0x4UL

Bit mask for RTC_COMP0TOP

Definition at line 82 of file efm32gg12b_rtc.h .

#define _RTC_CTRL_COMP0TOP_SHIFT   2

Shift value for RTC_COMP0TOP

Definition at line 81 of file efm32gg12b_rtc.h .

#define _RTC_CTRL_DEBUGRUN_DEFAULT   0x00000000UL

Mode DEFAULT for RTC_CTRL

Definition at line 78 of file efm32gg12b_rtc.h .

#define _RTC_CTRL_DEBUGRUN_MASK   0x2UL

Bit mask for RTC_DEBUGRUN

Definition at line 77 of file efm32gg12b_rtc.h .

#define _RTC_CTRL_DEBUGRUN_SHIFT   1

Shift value for RTC_DEBUGRUN

Definition at line 76 of file efm32gg12b_rtc.h .

#define _RTC_CTRL_EN_DEFAULT   0x00000000UL

Mode DEFAULT for RTC_CTRL

Definition at line 73 of file efm32gg12b_rtc.h .

#define _RTC_CTRL_EN_MASK   0x1UL

Bit mask for RTC_EN

Definition at line 72 of file efm32gg12b_rtc.h .

#define _RTC_CTRL_EN_SHIFT   0

Shift value for RTC_EN

Definition at line 71 of file efm32gg12b_rtc.h .

Referenced by RTC_Enable() .

#define _RTC_CTRL_MASK   0x00000007UL

Mask for RTC_CTRL

Definition at line 69 of file efm32gg12b_rtc.h .

#define _RTC_CTRL_RESETVALUE   0x00000000UL

Default value for RTC_CTRL

Definition at line 68 of file efm32gg12b_rtc.h .

Referenced by RTC_Reset() , and UDELAY_Calibrate() .

#define _RTC_IEN_COMP_DEFAULT   0x00000000UL

Mode DEFAULT for RTC_IEN

Definition at line 147 of file efm32gg12b_rtc.h .

#define _RTC_IEN_COMP_MASK   0x7EUL

Bit mask for RTC_COMP

Definition at line 146 of file efm32gg12b_rtc.h .

#define _RTC_IEN_COMP_SHIFT   1

Shift value for RTC_COMP

Definition at line 145 of file efm32gg12b_rtc.h .

#define _RTC_IEN_MASK   0x0000007FUL

Mask for RTC_IEN

Definition at line 139 of file efm32gg12b_rtc.h .

Referenced by UDELAY_Calibrate() .

#define _RTC_IEN_OF_DEFAULT   0x00000000UL

Mode DEFAULT for RTC_IEN

Definition at line 143 of file efm32gg12b_rtc.h .

#define _RTC_IEN_OF_MASK   0x1UL

Bit mask for RTC_OF

Definition at line 142 of file efm32gg12b_rtc.h .

#define _RTC_IEN_OF_SHIFT   0

Shift value for RTC_OF

Definition at line 141 of file efm32gg12b_rtc.h .

#define _RTC_IEN_RESETVALUE   0x00000000UL

Default value for RTC_IEN

Definition at line 138 of file efm32gg12b_rtc.h .

Referenced by RTC_Reset() .

#define _RTC_IF_COMP_DEFAULT   0x00000000UL

Mode DEFAULT for RTC_IF

Definition at line 108 of file efm32gg12b_rtc.h .

#define _RTC_IF_COMP_MASK   0x7EUL

Bit mask for RTC_COMP

Definition at line 107 of file efm32gg12b_rtc.h .

#define _RTC_IF_COMP_SHIFT   1

Shift value for RTC_COMP

Definition at line 106 of file efm32gg12b_rtc.h .

#define _RTC_IF_MASK   0x0000007FUL

Mask for RTC_IF

Definition at line 100 of file efm32gg12b_rtc.h .

#define _RTC_IF_OF_DEFAULT   0x00000000UL

Mode DEFAULT for RTC_IF

Definition at line 104 of file efm32gg12b_rtc.h .

#define _RTC_IF_OF_MASK   0x1UL

Bit mask for RTC_OF

Definition at line 103 of file efm32gg12b_rtc.h .

#define _RTC_IF_OF_SHIFT   0

Shift value for RTC_OF

Definition at line 102 of file efm32gg12b_rtc.h .

#define _RTC_IF_RESETVALUE   0x00000000UL

Default value for RTC_IF

Definition at line 99 of file efm32gg12b_rtc.h .

#define _RTC_IFC_COMP_DEFAULT   0x00000000UL

Mode DEFAULT for RTC_IFC

Definition at line 134 of file efm32gg12b_rtc.h .

#define _RTC_IFC_COMP_MASK   0x7EUL

Bit mask for RTC_COMP

Definition at line 133 of file efm32gg12b_rtc.h .

#define _RTC_IFC_COMP_SHIFT   1

Shift value for RTC_COMP

Definition at line 132 of file efm32gg12b_rtc.h .

#define _RTC_IFC_MASK   0x0000007FUL

Mask for RTC_IFC

Definition at line 126 of file efm32gg12b_rtc.h .

#define _RTC_IFC_OF_DEFAULT   0x00000000UL

Mode DEFAULT for RTC_IFC

Definition at line 130 of file efm32gg12b_rtc.h .

#define _RTC_IFC_OF_MASK   0x1UL

Bit mask for RTC_OF

Definition at line 129 of file efm32gg12b_rtc.h .

#define _RTC_IFC_OF_SHIFT   0

Shift value for RTC_OF

Definition at line 128 of file efm32gg12b_rtc.h .

#define _RTC_IFC_RESETVALUE   0x00000000UL

Default value for RTC_IFC

Definition at line 125 of file efm32gg12b_rtc.h .

Referenced by RTC_Reset() .

#define _RTC_IFS_COMP_DEFAULT   0x00000000UL

Mode DEFAULT for RTC_IFS

Definition at line 121 of file efm32gg12b_rtc.h .

#define _RTC_IFS_COMP_MASK   0x7EUL

Bit mask for RTC_COMP

Definition at line 120 of file efm32gg12b_rtc.h .

#define _RTC_IFS_COMP_SHIFT   1

Shift value for RTC_COMP

Definition at line 119 of file efm32gg12b_rtc.h .

#define _RTC_IFS_MASK   0x0000007FUL

Mask for RTC_IFS

Definition at line 113 of file efm32gg12b_rtc.h .

#define _RTC_IFS_OF_DEFAULT   0x00000000UL

Mode DEFAULT for RTC_IFS

Definition at line 117 of file efm32gg12b_rtc.h .

#define _RTC_IFS_OF_MASK   0x1UL

Bit mask for RTC_OF

Definition at line 116 of file efm32gg12b_rtc.h .

#define _RTC_IFS_OF_SHIFT   0

Shift value for RTC_OF

Definition at line 115 of file efm32gg12b_rtc.h .

#define _RTC_IFS_RESETVALUE   0x00000000UL

Default value for RTC_IFS

Definition at line 112 of file efm32gg12b_rtc.h .

#define RTC_CNT_CNT_DEFAULT   ( _RTC_CNT_CNT_DEFAULT << 0)

Shifted mode DEFAULT for RTC_CNT

Definition at line 96 of file efm32gg12b_rtc.h .

#define RTC_COMP_COMP_COMP_DEFAULT   ( _RTC_COMP_COMP_COMP_DEFAULT << 0)

Shifted mode DEFAULT for RTC_COMP_COMP

Definition at line 156 of file efm32gg12b_rtc.h .

#define RTC_CTRL_COMP0TOP   (0x1UL << 2)

Compare Channel 0 is Top Value

Definition at line 80 of file efm32gg12b_rtc.h .

Referenced by RTC_Init() .

#define RTC_CTRL_COMP0TOP_DEFAULT   ( _RTC_CTRL_COMP0TOP_DEFAULT << 2)

Shifted mode DEFAULT for RTC_CTRL

Definition at line 86 of file efm32gg12b_rtc.h .

#define RTC_CTRL_COMP0TOP_DISABLE   ( _RTC_CTRL_COMP0TOP_DISABLE << 2)

Shifted mode DISABLE for RTC_CTRL

Definition at line 87 of file efm32gg12b_rtc.h .

#define RTC_CTRL_COMP0TOP_ENABLE   ( _RTC_CTRL_COMP0TOP_ENABLE << 2)

Shifted mode ENABLE for RTC_CTRL

Definition at line 88 of file efm32gg12b_rtc.h .

#define RTC_CTRL_DEBUGRUN   (0x1UL << 1)

Debug Mode Run Enable

Definition at line 75 of file efm32gg12b_rtc.h .

Referenced by RTC_Init() .

#define RTC_CTRL_DEBUGRUN_DEFAULT   ( _RTC_CTRL_DEBUGRUN_DEFAULT << 1)

Shifted mode DEFAULT for RTC_CTRL

Definition at line 79 of file efm32gg12b_rtc.h .

#define RTC_CTRL_EN   (0x1UL << 0)

RTC Enable

Definition at line 70 of file efm32gg12b_rtc.h .

Referenced by RTC_Init() , and UDELAY_Calibrate() .

#define RTC_CTRL_EN_DEFAULT   ( _RTC_CTRL_EN_DEFAULT << 0)

Shifted mode DEFAULT for RTC_CTRL

Definition at line 74 of file efm32gg12b_rtc.h .

#define RTC_IEN_COMP_DEFAULT   ( _RTC_IEN_COMP_DEFAULT << 1)

Shifted mode DEFAULT for RTC_IEN

Definition at line 148 of file efm32gg12b_rtc.h .

#define RTC_IEN_OF   (0x1UL << 0)

OF Interrupt Enable

Definition at line 140 of file efm32gg12b_rtc.h .

#define RTC_IEN_OF_DEFAULT   ( _RTC_IEN_OF_DEFAULT << 0)

Shifted mode DEFAULT for RTC_IEN

Definition at line 144 of file efm32gg12b_rtc.h .

#define RTC_IF_COMP_DEFAULT   ( _RTC_IF_COMP_DEFAULT << 1)

Shifted mode DEFAULT for RTC_IF

Definition at line 109 of file efm32gg12b_rtc.h .

#define RTC_IF_OF   (0x1UL << 0)

Overflow Interrupt Flag

Definition at line 101 of file efm32gg12b_rtc.h .

#define RTC_IF_OF_DEFAULT   ( _RTC_IF_OF_DEFAULT << 0)

Shifted mode DEFAULT for RTC_IF

Definition at line 105 of file efm32gg12b_rtc.h .

#define RTC_IFC_COMP_DEFAULT   ( _RTC_IFC_COMP_DEFAULT << 1)

Shifted mode DEFAULT for RTC_IFC

Definition at line 135 of file efm32gg12b_rtc.h .

#define RTC_IFC_OF   (0x1UL << 0)

Clear OF Interrupt Flag

Definition at line 127 of file efm32gg12b_rtc.h .

#define RTC_IFC_OF_DEFAULT   ( _RTC_IFC_OF_DEFAULT << 0)

Shifted mode DEFAULT for RTC_IFC

Definition at line 131 of file efm32gg12b_rtc.h .

#define RTC_IFS_COMP_DEFAULT   ( _RTC_IFS_COMP_DEFAULT << 1)

Shifted mode DEFAULT for RTC_IFS

Definition at line 122 of file efm32gg12b_rtc.h .

#define RTC_IFS_OF   (0x1UL << 0)

Set OF Interrupt Flag

Definition at line 114 of file efm32gg12b_rtc.h .

#define RTC_IFS_OF_DEFAULT   ( _RTC_IFS_OF_DEFAULT << 0)

Shifted mode DEFAULT for RTC_IFS

Definition at line 118 of file efm32gg12b_rtc.h .