EFM32 Gecko Software Documentation  efm32g-doc-5.1.2
EFM32G_VCMP_BitFields

Detailed Description

Macros

#define _VCMP_CTRL_BIASPROG_DEFAULT   0x00000007UL
 
#define _VCMP_CTRL_BIASPROG_MASK   0xF000000UL
 
#define _VCMP_CTRL_BIASPROG_SHIFT   24
 
#define _VCMP_CTRL_EN_DEFAULT   0x00000000UL
 
#define _VCMP_CTRL_EN_MASK   0x1UL
 
#define _VCMP_CTRL_EN_SHIFT   0
 
#define _VCMP_CTRL_HALFBIAS_DEFAULT   0x00000001UL
 
#define _VCMP_CTRL_HALFBIAS_MASK   0x40000000UL
 
#define _VCMP_CTRL_HALFBIAS_SHIFT   30
 
#define _VCMP_CTRL_HYSTEN_DEFAULT   0x00000000UL
 
#define _VCMP_CTRL_HYSTEN_MASK   0x10UL
 
#define _VCMP_CTRL_HYSTEN_SHIFT   4
 
#define _VCMP_CTRL_IFALL_DEFAULT   0x00000000UL
 
#define _VCMP_CTRL_IFALL_MASK   0x20000UL
 
#define _VCMP_CTRL_IFALL_SHIFT   17
 
#define _VCMP_CTRL_INACTVAL_DEFAULT   0x00000000UL
 
#define _VCMP_CTRL_INACTVAL_MASK   0x4UL
 
#define _VCMP_CTRL_INACTVAL_SHIFT   2
 
#define _VCMP_CTRL_IRISE_DEFAULT   0x00000000UL
 
#define _VCMP_CTRL_IRISE_MASK   0x10000UL
 
#define _VCMP_CTRL_IRISE_SHIFT   16
 
#define _VCMP_CTRL_MASK   0x4F030715UL
 
#define _VCMP_CTRL_RESETVALUE   0x47000000UL
 
#define _VCMP_CTRL_WARMTIME_128CYCLES   0x00000005UL
 
#define _VCMP_CTRL_WARMTIME_16CYCLES   0x00000002UL
 
#define _VCMP_CTRL_WARMTIME_256CYCLES   0x00000006UL
 
#define _VCMP_CTRL_WARMTIME_32CYCLES   0x00000003UL
 
#define _VCMP_CTRL_WARMTIME_4CYCLES   0x00000000UL
 
#define _VCMP_CTRL_WARMTIME_512CYCLES   0x00000007UL
 
#define _VCMP_CTRL_WARMTIME_64CYCLES   0x00000004UL
 
#define _VCMP_CTRL_WARMTIME_8CYCLES   0x00000001UL
 
#define _VCMP_CTRL_WARMTIME_DEFAULT   0x00000000UL
 
#define _VCMP_CTRL_WARMTIME_MASK   0x700UL
 
#define _VCMP_CTRL_WARMTIME_SHIFT   8
 
#define _VCMP_IEN_EDGE_DEFAULT   0x00000000UL
 
#define _VCMP_IEN_EDGE_MASK   0x1UL
 
#define _VCMP_IEN_EDGE_SHIFT   0
 
#define _VCMP_IEN_MASK   0x00000003UL
 
#define _VCMP_IEN_RESETVALUE   0x00000000UL
 
#define _VCMP_IEN_WARMUP_DEFAULT   0x00000000UL
 
#define _VCMP_IEN_WARMUP_MASK   0x2UL
 
#define _VCMP_IEN_WARMUP_SHIFT   1
 
#define _VCMP_IF_EDGE_DEFAULT   0x00000000UL
 
#define _VCMP_IF_EDGE_MASK   0x1UL
 
#define _VCMP_IF_EDGE_SHIFT   0
 
#define _VCMP_IF_MASK   0x00000003UL
 
#define _VCMP_IF_RESETVALUE   0x00000000UL
 
#define _VCMP_IF_WARMUP_DEFAULT   0x00000000UL
 
#define _VCMP_IF_WARMUP_MASK   0x2UL
 
#define _VCMP_IF_WARMUP_SHIFT   1
 
#define _VCMP_IFC_EDGE_DEFAULT   0x00000000UL
 
#define _VCMP_IFC_EDGE_MASK   0x1UL
 
#define _VCMP_IFC_EDGE_SHIFT   0
 
#define _VCMP_IFC_MASK   0x00000003UL
 
#define _VCMP_IFC_RESETVALUE   0x00000000UL
 
#define _VCMP_IFC_WARMUP_DEFAULT   0x00000000UL
 
#define _VCMP_IFC_WARMUP_MASK   0x2UL
 
#define _VCMP_IFC_WARMUP_SHIFT   1
 
#define _VCMP_IFS_EDGE_DEFAULT   0x00000000UL
 
#define _VCMP_IFS_EDGE_MASK   0x1UL
 
#define _VCMP_IFS_EDGE_SHIFT   0
 
#define _VCMP_IFS_MASK   0x00000003UL
 
#define _VCMP_IFS_RESETVALUE   0x00000000UL
 
#define _VCMP_IFS_WARMUP_DEFAULT   0x00000000UL
 
#define _VCMP_IFS_WARMUP_MASK   0x2UL
 
#define _VCMP_IFS_WARMUP_SHIFT   1
 
#define _VCMP_INPUTSEL_LPREF_DEFAULT   0x00000000UL
 
#define _VCMP_INPUTSEL_LPREF_MASK   0x100UL
 
#define _VCMP_INPUTSEL_LPREF_SHIFT   8
 
#define _VCMP_INPUTSEL_MASK   0x0000013FUL
 
#define _VCMP_INPUTSEL_RESETVALUE   0x00000000UL
 
#define _VCMP_INPUTSEL_TRIGLEVEL_DEFAULT   0x00000000UL
 
#define _VCMP_INPUTSEL_TRIGLEVEL_MASK   0x3FUL
 
#define _VCMP_INPUTSEL_TRIGLEVEL_SHIFT   0
 
#define _VCMP_STATUS_MASK   0x00000003UL
 
#define _VCMP_STATUS_RESETVALUE   0x00000000UL
 
#define _VCMP_STATUS_VCMPACT_DEFAULT   0x00000000UL
 
#define _VCMP_STATUS_VCMPACT_MASK   0x1UL
 
#define _VCMP_STATUS_VCMPACT_SHIFT   0
 
#define _VCMP_STATUS_VCMPOUT_DEFAULT   0x00000000UL
 
#define _VCMP_STATUS_VCMPOUT_MASK   0x2UL
 
#define _VCMP_STATUS_VCMPOUT_SHIFT   1
 
#define VCMP_CTRL_BIASPROG_DEFAULT   (_VCMP_CTRL_BIASPROG_DEFAULT << 24)
 
#define VCMP_CTRL_EN   (0x1UL << 0)
 
#define VCMP_CTRL_EN_DEFAULT   (_VCMP_CTRL_EN_DEFAULT << 0)
 
#define VCMP_CTRL_HALFBIAS   (0x1UL << 30)
 
#define VCMP_CTRL_HALFBIAS_DEFAULT   (_VCMP_CTRL_HALFBIAS_DEFAULT << 30)
 
#define VCMP_CTRL_HYSTEN   (0x1UL << 4)
 
#define VCMP_CTRL_HYSTEN_DEFAULT   (_VCMP_CTRL_HYSTEN_DEFAULT << 4)
 
#define VCMP_CTRL_IFALL   (0x1UL << 17)
 
#define VCMP_CTRL_IFALL_DEFAULT   (_VCMP_CTRL_IFALL_DEFAULT << 17)
 
#define VCMP_CTRL_INACTVAL   (0x1UL << 2)
 
#define VCMP_CTRL_INACTVAL_DEFAULT   (_VCMP_CTRL_INACTVAL_DEFAULT << 2)
 
#define VCMP_CTRL_IRISE   (0x1UL << 16)
 
#define VCMP_CTRL_IRISE_DEFAULT   (_VCMP_CTRL_IRISE_DEFAULT << 16)
 
#define VCMP_CTRL_WARMTIME_128CYCLES   (_VCMP_CTRL_WARMTIME_128CYCLES << 8)
 
#define VCMP_CTRL_WARMTIME_16CYCLES   (_VCMP_CTRL_WARMTIME_16CYCLES << 8)
 
#define VCMP_CTRL_WARMTIME_256CYCLES   (_VCMP_CTRL_WARMTIME_256CYCLES << 8)
 
#define VCMP_CTRL_WARMTIME_32CYCLES   (_VCMP_CTRL_WARMTIME_32CYCLES << 8)
 
#define VCMP_CTRL_WARMTIME_4CYCLES   (_VCMP_CTRL_WARMTIME_4CYCLES << 8)
 
#define VCMP_CTRL_WARMTIME_512CYCLES   (_VCMP_CTRL_WARMTIME_512CYCLES << 8)
 
#define VCMP_CTRL_WARMTIME_64CYCLES   (_VCMP_CTRL_WARMTIME_64CYCLES << 8)
 
#define VCMP_CTRL_WARMTIME_8CYCLES   (_VCMP_CTRL_WARMTIME_8CYCLES << 8)
 
#define VCMP_CTRL_WARMTIME_DEFAULT   (_VCMP_CTRL_WARMTIME_DEFAULT << 8)
 
#define VCMP_IEN_EDGE   (0x1UL << 0)
 
#define VCMP_IEN_EDGE_DEFAULT   (_VCMP_IEN_EDGE_DEFAULT << 0)
 
#define VCMP_IEN_WARMUP   (0x1UL << 1)
 
#define VCMP_IEN_WARMUP_DEFAULT   (_VCMP_IEN_WARMUP_DEFAULT << 1)
 
#define VCMP_IF_EDGE   (0x1UL << 0)
 
#define VCMP_IF_EDGE_DEFAULT   (_VCMP_IF_EDGE_DEFAULT << 0)
 
#define VCMP_IF_WARMUP   (0x1UL << 1)
 
#define VCMP_IF_WARMUP_DEFAULT   (_VCMP_IF_WARMUP_DEFAULT << 1)
 
#define VCMP_IFC_EDGE   (0x1UL << 0)
 
#define VCMP_IFC_EDGE_DEFAULT   (_VCMP_IFC_EDGE_DEFAULT << 0)
 
#define VCMP_IFC_WARMUP   (0x1UL << 1)
 
#define VCMP_IFC_WARMUP_DEFAULT   (_VCMP_IFC_WARMUP_DEFAULT << 1)
 
#define VCMP_IFS_EDGE   (0x1UL << 0)
 
#define VCMP_IFS_EDGE_DEFAULT   (_VCMP_IFS_EDGE_DEFAULT << 0)
 
#define VCMP_IFS_WARMUP   (0x1UL << 1)
 
#define VCMP_IFS_WARMUP_DEFAULT   (_VCMP_IFS_WARMUP_DEFAULT << 1)
 
#define VCMP_INPUTSEL_LPREF   (0x1UL << 8)
 
#define VCMP_INPUTSEL_LPREF_DEFAULT   (_VCMP_INPUTSEL_LPREF_DEFAULT << 8)
 
#define VCMP_INPUTSEL_TRIGLEVEL_DEFAULT   (_VCMP_INPUTSEL_TRIGLEVEL_DEFAULT << 0)
 
#define VCMP_STATUS_VCMPACT   (0x1UL << 0)
 
#define VCMP_STATUS_VCMPACT_DEFAULT   (_VCMP_STATUS_VCMPACT_DEFAULT << 0)
 
#define VCMP_STATUS_VCMPOUT   (0x1UL << 1)
 
#define VCMP_STATUS_VCMPOUT_DEFAULT   (_VCMP_STATUS_VCMPOUT_DEFAULT << 1)
 

Macro Definition Documentation

#define _VCMP_CTRL_BIASPROG_DEFAULT   0x00000007UL

Mode DEFAULT for VCMP_CTRL

Definition at line 107 of file efm32g_vcmp.h.

#define _VCMP_CTRL_BIASPROG_MASK   0xF000000UL

Bit mask for VCMP_BIASPROG

Definition at line 106 of file efm32g_vcmp.h.

Referenced by VCMP_Init().

#define _VCMP_CTRL_BIASPROG_SHIFT   24

Shift value for VCMP_BIASPROG

Definition at line 105 of file efm32g_vcmp.h.

Referenced by VCMP_Init().

#define _VCMP_CTRL_EN_DEFAULT   0x00000000UL

Mode DEFAULT for VCMP_CTRL

Definition at line 63 of file efm32g_vcmp.h.

#define _VCMP_CTRL_EN_MASK   0x1UL

Bit mask for VCMP_EN

Definition at line 62 of file efm32g_vcmp.h.

#define _VCMP_CTRL_EN_SHIFT   0

Shift value for VCMP_EN

Definition at line 61 of file efm32g_vcmp.h.

#define _VCMP_CTRL_HALFBIAS_DEFAULT   0x00000001UL

Mode DEFAULT for VCMP_CTRL

Definition at line 112 of file efm32g_vcmp.h.

#define _VCMP_CTRL_HALFBIAS_MASK   0x40000000UL

Bit mask for VCMP_HALFBIAS

Definition at line 111 of file efm32g_vcmp.h.

#define _VCMP_CTRL_HALFBIAS_SHIFT   30

Shift value for VCMP_HALFBIAS

Definition at line 110 of file efm32g_vcmp.h.

#define _VCMP_CTRL_HYSTEN_DEFAULT   0x00000000UL

Mode DEFAULT for VCMP_CTRL

Definition at line 73 of file efm32g_vcmp.h.

#define _VCMP_CTRL_HYSTEN_MASK   0x10UL

Bit mask for VCMP_HYSTEN

Definition at line 72 of file efm32g_vcmp.h.

#define _VCMP_CTRL_HYSTEN_SHIFT   4

Shift value for VCMP_HYSTEN

Definition at line 71 of file efm32g_vcmp.h.

#define _VCMP_CTRL_IFALL_DEFAULT   0x00000000UL

Mode DEFAULT for VCMP_CTRL

Definition at line 103 of file efm32g_vcmp.h.

#define _VCMP_CTRL_IFALL_MASK   0x20000UL

Bit mask for VCMP_IFALL

Definition at line 102 of file efm32g_vcmp.h.

#define _VCMP_CTRL_IFALL_SHIFT   17

Shift value for VCMP_IFALL

Definition at line 101 of file efm32g_vcmp.h.

#define _VCMP_CTRL_INACTVAL_DEFAULT   0x00000000UL

Mode DEFAULT for VCMP_CTRL

Definition at line 68 of file efm32g_vcmp.h.

#define _VCMP_CTRL_INACTVAL_MASK   0x4UL

Bit mask for VCMP_INACTVAL

Definition at line 67 of file efm32g_vcmp.h.

#define _VCMP_CTRL_INACTVAL_SHIFT   2

Shift value for VCMP_INACTVAL

Definition at line 66 of file efm32g_vcmp.h.

Referenced by VCMP_Init().

#define _VCMP_CTRL_IRISE_DEFAULT   0x00000000UL

Mode DEFAULT for VCMP_CTRL

Definition at line 98 of file efm32g_vcmp.h.

#define _VCMP_CTRL_IRISE_MASK   0x10000UL

Bit mask for VCMP_IRISE

Definition at line 97 of file efm32g_vcmp.h.

#define _VCMP_CTRL_IRISE_SHIFT   16

Shift value for VCMP_IRISE

Definition at line 96 of file efm32g_vcmp.h.

#define _VCMP_CTRL_MASK   0x4F030715UL

Mask for VCMP_CTRL

Definition at line 59 of file efm32g_vcmp.h.

#define _VCMP_CTRL_RESETVALUE   0x47000000UL

Default value for VCMP_CTRL

Definition at line 58 of file efm32g_vcmp.h.

#define _VCMP_CTRL_WARMTIME_128CYCLES   0x00000005UL

Mode 128CYCLES for VCMP_CTRL

Definition at line 83 of file efm32g_vcmp.h.

#define _VCMP_CTRL_WARMTIME_16CYCLES   0x00000002UL

Mode 16CYCLES for VCMP_CTRL

Definition at line 80 of file efm32g_vcmp.h.

#define _VCMP_CTRL_WARMTIME_256CYCLES   0x00000006UL

Mode 256CYCLES for VCMP_CTRL

Definition at line 84 of file efm32g_vcmp.h.

#define _VCMP_CTRL_WARMTIME_32CYCLES   0x00000003UL

Mode 32CYCLES for VCMP_CTRL

Definition at line 81 of file efm32g_vcmp.h.

#define _VCMP_CTRL_WARMTIME_4CYCLES   0x00000000UL

Mode 4CYCLES for VCMP_CTRL

Definition at line 78 of file efm32g_vcmp.h.

#define _VCMP_CTRL_WARMTIME_512CYCLES   0x00000007UL

Mode 512CYCLES for VCMP_CTRL

Definition at line 85 of file efm32g_vcmp.h.

#define _VCMP_CTRL_WARMTIME_64CYCLES   0x00000004UL

Mode 64CYCLES for VCMP_CTRL

Definition at line 82 of file efm32g_vcmp.h.

#define _VCMP_CTRL_WARMTIME_8CYCLES   0x00000001UL

Mode 8CYCLES for VCMP_CTRL

Definition at line 79 of file efm32g_vcmp.h.

#define _VCMP_CTRL_WARMTIME_DEFAULT   0x00000000UL

Mode DEFAULT for VCMP_CTRL

Definition at line 77 of file efm32g_vcmp.h.

#define _VCMP_CTRL_WARMTIME_MASK   0x700UL

Bit mask for VCMP_WARMTIME

Definition at line 76 of file efm32g_vcmp.h.

Referenced by VCMP_Init().

#define _VCMP_CTRL_WARMTIME_SHIFT   8

Shift value for VCMP_WARMTIME

Definition at line 75 of file efm32g_vcmp.h.

Referenced by VCMP_Init().

#define _VCMP_IEN_EDGE_DEFAULT   0x00000000UL

Mode DEFAULT for VCMP_IEN

Definition at line 148 of file efm32g_vcmp.h.

#define _VCMP_IEN_EDGE_MASK   0x1UL

Bit mask for VCMP_EDGE

Definition at line 147 of file efm32g_vcmp.h.

#define _VCMP_IEN_EDGE_SHIFT   0

Shift value for VCMP_EDGE

Definition at line 146 of file efm32g_vcmp.h.

#define _VCMP_IEN_MASK   0x00000003UL

Mask for VCMP_IEN

Definition at line 144 of file efm32g_vcmp.h.

#define _VCMP_IEN_RESETVALUE   0x00000000UL

Default value for VCMP_IEN

Definition at line 143 of file efm32g_vcmp.h.

#define _VCMP_IEN_WARMUP_DEFAULT   0x00000000UL

Mode DEFAULT for VCMP_IEN

Definition at line 153 of file efm32g_vcmp.h.

#define _VCMP_IEN_WARMUP_MASK   0x2UL

Bit mask for VCMP_WARMUP

Definition at line 152 of file efm32g_vcmp.h.

#define _VCMP_IEN_WARMUP_SHIFT   1

Shift value for VCMP_WARMUP

Definition at line 151 of file efm32g_vcmp.h.

#define _VCMP_IF_EDGE_DEFAULT   0x00000000UL

Mode DEFAULT for VCMP_IF

Definition at line 162 of file efm32g_vcmp.h.

#define _VCMP_IF_EDGE_MASK   0x1UL

Bit mask for VCMP_EDGE

Definition at line 161 of file efm32g_vcmp.h.

#define _VCMP_IF_EDGE_SHIFT   0

Shift value for VCMP_EDGE

Definition at line 160 of file efm32g_vcmp.h.

#define _VCMP_IF_MASK   0x00000003UL

Mask for VCMP_IF

Definition at line 158 of file efm32g_vcmp.h.

#define _VCMP_IF_RESETVALUE   0x00000000UL

Default value for VCMP_IF

Definition at line 157 of file efm32g_vcmp.h.

#define _VCMP_IF_WARMUP_DEFAULT   0x00000000UL

Mode DEFAULT for VCMP_IF

Definition at line 167 of file efm32g_vcmp.h.

#define _VCMP_IF_WARMUP_MASK   0x2UL

Bit mask for VCMP_WARMUP

Definition at line 166 of file efm32g_vcmp.h.

#define _VCMP_IF_WARMUP_SHIFT   1

Shift value for VCMP_WARMUP

Definition at line 165 of file efm32g_vcmp.h.

#define _VCMP_IFC_EDGE_DEFAULT   0x00000000UL

Mode DEFAULT for VCMP_IFC

Definition at line 190 of file efm32g_vcmp.h.

#define _VCMP_IFC_EDGE_MASK   0x1UL

Bit mask for VCMP_EDGE

Definition at line 189 of file efm32g_vcmp.h.

#define _VCMP_IFC_EDGE_SHIFT   0

Shift value for VCMP_EDGE

Definition at line 188 of file efm32g_vcmp.h.

#define _VCMP_IFC_MASK   0x00000003UL

Mask for VCMP_IFC

Definition at line 186 of file efm32g_vcmp.h.

#define _VCMP_IFC_RESETVALUE   0x00000000UL

Default value for VCMP_IFC

Definition at line 185 of file efm32g_vcmp.h.

#define _VCMP_IFC_WARMUP_DEFAULT   0x00000000UL

Mode DEFAULT for VCMP_IFC

Definition at line 195 of file efm32g_vcmp.h.

#define _VCMP_IFC_WARMUP_MASK   0x2UL

Bit mask for VCMP_WARMUP

Definition at line 194 of file efm32g_vcmp.h.

#define _VCMP_IFC_WARMUP_SHIFT   1

Shift value for VCMP_WARMUP

Definition at line 193 of file efm32g_vcmp.h.

#define _VCMP_IFS_EDGE_DEFAULT   0x00000000UL

Mode DEFAULT for VCMP_IFS

Definition at line 176 of file efm32g_vcmp.h.

#define _VCMP_IFS_EDGE_MASK   0x1UL

Bit mask for VCMP_EDGE

Definition at line 175 of file efm32g_vcmp.h.

#define _VCMP_IFS_EDGE_SHIFT   0

Shift value for VCMP_EDGE

Definition at line 174 of file efm32g_vcmp.h.

#define _VCMP_IFS_MASK   0x00000003UL

Mask for VCMP_IFS

Definition at line 172 of file efm32g_vcmp.h.

#define _VCMP_IFS_RESETVALUE   0x00000000UL

Default value for VCMP_IFS

Definition at line 171 of file efm32g_vcmp.h.

#define _VCMP_IFS_WARMUP_DEFAULT   0x00000000UL

Mode DEFAULT for VCMP_IFS

Definition at line 181 of file efm32g_vcmp.h.

#define _VCMP_IFS_WARMUP_MASK   0x2UL

Bit mask for VCMP_WARMUP

Definition at line 180 of file efm32g_vcmp.h.

#define _VCMP_IFS_WARMUP_SHIFT   1

Shift value for VCMP_WARMUP

Definition at line 179 of file efm32g_vcmp.h.

#define _VCMP_INPUTSEL_LPREF_DEFAULT   0x00000000UL

Mode DEFAULT for VCMP_INPUTSEL

Definition at line 125 of file efm32g_vcmp.h.

#define _VCMP_INPUTSEL_LPREF_MASK   0x100UL

Bit mask for VCMP_LPREF

Definition at line 124 of file efm32g_vcmp.h.

#define _VCMP_INPUTSEL_LPREF_SHIFT   8

Shift value for VCMP_LPREF

Definition at line 123 of file efm32g_vcmp.h.

#define _VCMP_INPUTSEL_MASK   0x0000013FUL

Mask for VCMP_INPUTSEL

Definition at line 117 of file efm32g_vcmp.h.

#define _VCMP_INPUTSEL_RESETVALUE   0x00000000UL

Default value for VCMP_INPUTSEL

Definition at line 116 of file efm32g_vcmp.h.

#define _VCMP_INPUTSEL_TRIGLEVEL_DEFAULT   0x00000000UL

Mode DEFAULT for VCMP_INPUTSEL

Definition at line 120 of file efm32g_vcmp.h.

#define _VCMP_INPUTSEL_TRIGLEVEL_MASK   0x3FUL

Bit mask for VCMP_TRIGLEVEL

Definition at line 119 of file efm32g_vcmp.h.

Referenced by VCMP_TriggerSet().

#define _VCMP_INPUTSEL_TRIGLEVEL_SHIFT   0

Shift value for VCMP_TRIGLEVEL

Definition at line 118 of file efm32g_vcmp.h.

Referenced by VCMP_TriggerSet().

#define _VCMP_STATUS_MASK   0x00000003UL

Mask for VCMP_STATUS

Definition at line 130 of file efm32g_vcmp.h.

#define _VCMP_STATUS_RESETVALUE   0x00000000UL

Default value for VCMP_STATUS

Definition at line 129 of file efm32g_vcmp.h.

#define _VCMP_STATUS_VCMPACT_DEFAULT   0x00000000UL

Mode DEFAULT for VCMP_STATUS

Definition at line 134 of file efm32g_vcmp.h.

#define _VCMP_STATUS_VCMPACT_MASK   0x1UL

Bit mask for VCMP_VCMPACT

Definition at line 133 of file efm32g_vcmp.h.

#define _VCMP_STATUS_VCMPACT_SHIFT   0

Shift value for VCMP_VCMPACT

Definition at line 132 of file efm32g_vcmp.h.

#define _VCMP_STATUS_VCMPOUT_DEFAULT   0x00000000UL

Mode DEFAULT for VCMP_STATUS

Definition at line 139 of file efm32g_vcmp.h.

#define _VCMP_STATUS_VCMPOUT_MASK   0x2UL

Bit mask for VCMP_VCMPOUT

Definition at line 138 of file efm32g_vcmp.h.

#define _VCMP_STATUS_VCMPOUT_SHIFT   1

Shift value for VCMP_VCMPOUT

Definition at line 137 of file efm32g_vcmp.h.

#define VCMP_CTRL_BIASPROG_DEFAULT   (_VCMP_CTRL_BIASPROG_DEFAULT << 24)

Shifted mode DEFAULT for VCMP_CTRL

Definition at line 108 of file efm32g_vcmp.h.

#define VCMP_CTRL_EN   (0x1UL << 0)

Voltage Supply Comparator Enable

Definition at line 60 of file efm32g_vcmp.h.

Referenced by VCMP_Disable(), VCMP_Enable(), and VCMP_Init().

#define VCMP_CTRL_EN_DEFAULT   (_VCMP_CTRL_EN_DEFAULT << 0)

Shifted mode DEFAULT for VCMP_CTRL

Definition at line 64 of file efm32g_vcmp.h.

#define VCMP_CTRL_HALFBIAS   (0x1UL << 30)

Half Bias Current

Definition at line 109 of file efm32g_vcmp.h.

Referenced by VCMP_Init().

#define VCMP_CTRL_HALFBIAS_DEFAULT   (_VCMP_CTRL_HALFBIAS_DEFAULT << 30)

Shifted mode DEFAULT for VCMP_CTRL

Definition at line 113 of file efm32g_vcmp.h.

#define VCMP_CTRL_HYSTEN   (0x1UL << 4)

Hysteresis Enable

Definition at line 70 of file efm32g_vcmp.h.

Referenced by VCMP_Init().

#define VCMP_CTRL_HYSTEN_DEFAULT   (_VCMP_CTRL_HYSTEN_DEFAULT << 4)

Shifted mode DEFAULT for VCMP_CTRL

Definition at line 74 of file efm32g_vcmp.h.

#define VCMP_CTRL_IFALL   (0x1UL << 17)

Falling Edge Interrupt Sense

Definition at line 100 of file efm32g_vcmp.h.

Referenced by VCMP_Init().

#define VCMP_CTRL_IFALL_DEFAULT   (_VCMP_CTRL_IFALL_DEFAULT << 17)

Shifted mode DEFAULT for VCMP_CTRL

Definition at line 104 of file efm32g_vcmp.h.

#define VCMP_CTRL_INACTVAL   (0x1UL << 2)

Inactive Value

Definition at line 65 of file efm32g_vcmp.h.

#define VCMP_CTRL_INACTVAL_DEFAULT   (_VCMP_CTRL_INACTVAL_DEFAULT << 2)

Shifted mode DEFAULT for VCMP_CTRL

Definition at line 69 of file efm32g_vcmp.h.

#define VCMP_CTRL_IRISE   (0x1UL << 16)

Rising Edge Interrupt Sense

Definition at line 95 of file efm32g_vcmp.h.

Referenced by VCMP_Init().

#define VCMP_CTRL_IRISE_DEFAULT   (_VCMP_CTRL_IRISE_DEFAULT << 16)

Shifted mode DEFAULT for VCMP_CTRL

Definition at line 99 of file efm32g_vcmp.h.

#define VCMP_CTRL_WARMTIME_128CYCLES   (_VCMP_CTRL_WARMTIME_128CYCLES << 8)

Shifted mode 128CYCLES for VCMP_CTRL

Definition at line 92 of file efm32g_vcmp.h.

#define VCMP_CTRL_WARMTIME_16CYCLES   (_VCMP_CTRL_WARMTIME_16CYCLES << 8)

Shifted mode 16CYCLES for VCMP_CTRL

Definition at line 89 of file efm32g_vcmp.h.

#define VCMP_CTRL_WARMTIME_256CYCLES   (_VCMP_CTRL_WARMTIME_256CYCLES << 8)

Shifted mode 256CYCLES for VCMP_CTRL

Definition at line 93 of file efm32g_vcmp.h.

#define VCMP_CTRL_WARMTIME_32CYCLES   (_VCMP_CTRL_WARMTIME_32CYCLES << 8)

Shifted mode 32CYCLES for VCMP_CTRL

Definition at line 90 of file efm32g_vcmp.h.

#define VCMP_CTRL_WARMTIME_4CYCLES   (_VCMP_CTRL_WARMTIME_4CYCLES << 8)

Shifted mode 4CYCLES for VCMP_CTRL

Definition at line 87 of file efm32g_vcmp.h.

#define VCMP_CTRL_WARMTIME_512CYCLES   (_VCMP_CTRL_WARMTIME_512CYCLES << 8)

Shifted mode 512CYCLES for VCMP_CTRL

Definition at line 94 of file efm32g_vcmp.h.

#define VCMP_CTRL_WARMTIME_64CYCLES   (_VCMP_CTRL_WARMTIME_64CYCLES << 8)

Shifted mode 64CYCLES for VCMP_CTRL

Definition at line 91 of file efm32g_vcmp.h.

#define VCMP_CTRL_WARMTIME_8CYCLES   (_VCMP_CTRL_WARMTIME_8CYCLES << 8)

Shifted mode 8CYCLES for VCMP_CTRL

Definition at line 88 of file efm32g_vcmp.h.

#define VCMP_CTRL_WARMTIME_DEFAULT   (_VCMP_CTRL_WARMTIME_DEFAULT << 8)

Shifted mode DEFAULT for VCMP_CTRL

Definition at line 86 of file efm32g_vcmp.h.

#define VCMP_IEN_EDGE   (0x1UL << 0)

Edge Trigger Interrupt Enable

Definition at line 145 of file efm32g_vcmp.h.

#define VCMP_IEN_EDGE_DEFAULT   (_VCMP_IEN_EDGE_DEFAULT << 0)

Shifted mode DEFAULT for VCMP_IEN

Definition at line 149 of file efm32g_vcmp.h.

#define VCMP_IEN_WARMUP   (0x1UL << 1)

Warm-up Interrupt Enable

Definition at line 150 of file efm32g_vcmp.h.

#define VCMP_IEN_WARMUP_DEFAULT   (_VCMP_IEN_WARMUP_DEFAULT << 1)

Shifted mode DEFAULT for VCMP_IEN

Definition at line 154 of file efm32g_vcmp.h.

#define VCMP_IF_EDGE   (0x1UL << 0)

Edge Triggered Interrupt Flag

Definition at line 159 of file efm32g_vcmp.h.

Referenced by VCMP_Init().

#define VCMP_IF_EDGE_DEFAULT   (_VCMP_IF_EDGE_DEFAULT << 0)

Shifted mode DEFAULT for VCMP_IF

Definition at line 163 of file efm32g_vcmp.h.

#define VCMP_IF_WARMUP   (0x1UL << 1)

Warm-up Interrupt Flag

Definition at line 164 of file efm32g_vcmp.h.

#define VCMP_IF_WARMUP_DEFAULT   (_VCMP_IF_WARMUP_DEFAULT << 1)

Shifted mode DEFAULT for VCMP_IF

Definition at line 168 of file efm32g_vcmp.h.

#define VCMP_IFC_EDGE   (0x1UL << 0)

Edge Triggered Interrupt Flag Clear

Definition at line 187 of file efm32g_vcmp.h.

#define VCMP_IFC_EDGE_DEFAULT   (_VCMP_IFC_EDGE_DEFAULT << 0)

Shifted mode DEFAULT for VCMP_IFC

Definition at line 191 of file efm32g_vcmp.h.

#define VCMP_IFC_WARMUP   (0x1UL << 1)

Warm-up Interrupt Flag Clear

Definition at line 192 of file efm32g_vcmp.h.

#define VCMP_IFC_WARMUP_DEFAULT   (_VCMP_IFC_WARMUP_DEFAULT << 1)

Shifted mode DEFAULT for VCMP_IFC

Definition at line 196 of file efm32g_vcmp.h.

#define VCMP_IFS_EDGE   (0x1UL << 0)

Edge Triggered Interrupt Flag Set

Definition at line 173 of file efm32g_vcmp.h.

#define VCMP_IFS_EDGE_DEFAULT   (_VCMP_IFS_EDGE_DEFAULT << 0)

Shifted mode DEFAULT for VCMP_IFS

Definition at line 177 of file efm32g_vcmp.h.

#define VCMP_IFS_WARMUP   (0x1UL << 1)

Warm-up Interrupt Flag Set

Definition at line 178 of file efm32g_vcmp.h.

#define VCMP_IFS_WARMUP_DEFAULT   (_VCMP_IFS_WARMUP_DEFAULT << 1)

Shifted mode DEFAULT for VCMP_IFS

Definition at line 182 of file efm32g_vcmp.h.

#define VCMP_INPUTSEL_LPREF   (0x1UL << 8)

Low Power Reference

Definition at line 122 of file efm32g_vcmp.h.

Referenced by VCMP_LowPowerRefSet().

#define VCMP_INPUTSEL_LPREF_DEFAULT   (_VCMP_INPUTSEL_LPREF_DEFAULT << 8)

Shifted mode DEFAULT for VCMP_INPUTSEL

Definition at line 126 of file efm32g_vcmp.h.

#define VCMP_INPUTSEL_TRIGLEVEL_DEFAULT   (_VCMP_INPUTSEL_TRIGLEVEL_DEFAULT << 0)

Shifted mode DEFAULT for VCMP_INPUTSEL

Definition at line 121 of file efm32g_vcmp.h.

#define VCMP_STATUS_VCMPACT   (0x1UL << 0)

Voltage Supply Comparator Active

Definition at line 131 of file efm32g_vcmp.h.

Referenced by VCMP_Ready().

#define VCMP_STATUS_VCMPACT_DEFAULT   (_VCMP_STATUS_VCMPACT_DEFAULT << 0)

Shifted mode DEFAULT for VCMP_STATUS

Definition at line 135 of file efm32g_vcmp.h.

#define VCMP_STATUS_VCMPOUT   (0x1UL << 1)

Voltage Supply Comparator Output

Definition at line 136 of file efm32g_vcmp.h.

Referenced by VCMP_VDDHigher(), and VCMP_VDDLower().

#define VCMP_STATUS_VCMPOUT_DEFAULT   (_VCMP_STATUS_VCMPOUT_DEFAULT << 1)

Shifted mode DEFAULT for VCMP_STATUS

Definition at line 140 of file efm32g_vcmp.h.