Macros
COMP REF SOURCE
Peripheral Driver » LL Driver » COMP » Defines » COMP Exported Constants

## Macros
#define | LL_COMP_REF_SRC_IO0 (0UL << AON_PMU_COMP_REG_0_CHANNEL_SEL_N_Pos)
#define | LL_COMP_REF_SRC_IO1 (1UL << AON_PMU_COMP_REG_0_CHANNEL_SEL_N_Pos)
#define | LL_COMP_REF_SRC_IO2 (2UL << AON_PMU_COMP_REG_0_CHANNEL_SEL_N_Pos)
#define | LL_COMP_REF_SRC_IO3 (3UL << AON_PMU_COMP_REG_0_CHANNEL_SEL_N_Pos)
#define | LL_COMP_REF_SRC_IO4 (4UL << AON_PMU_COMP_REG_0_CHANNEL_SEL_N_Pos)
#define | LL_COMP_REF_SRC_IO5 (5UL << AON_PMU_COMP_REG_0_CHANNEL_SEL_N_Pos)
#define | LL_COMP_REF_SRC_IO6 (6UL << AON_PMU_COMP_REG_0_CHANNEL_SEL_N_Pos)
#define | LL_COMP_REF_SRC_IO7 (7UL << AON_PMU_COMP_REG_0_CHANNEL_SEL_N_Pos)
#define | LL_COMP_REF_SRC_VBAT (9UL << AON_PMU_COMP_REG_0_CHANNEL_SEL_N_Pos)
#define | LL_COMP_REF_SRC_VREF (10UL << AON_PMU_COMP_REG_0_CHANNEL_SEL_N_Pos)

## Detailed Description

## Macro Definition Documentation

## ◆ LL_COMP_REF_SRC_IO0

#define LL_COMP_REF_SRC_IO0 (0UL << AON_PMU_COMP_REG_0_CHANNEL_SEL_N_Pos)

Set MSIO_0 as references for the comparator

Definition at line 136 of file ll_comp.h.

## ◆ LL_COMP_REF_SRC_IO1

#define LL_COMP_REF_SRC_IO1 (1UL << AON_PMU_COMP_REG_0_CHANNEL_SEL_N_Pos)

Set MSIO_1 as references for the comparator

Definition at line 137 of file ll_comp.h.

## ◆ LL_COMP_REF_SRC_IO2

#define LL_COMP_REF_SRC_IO2 (2UL << AON_PMU_COMP_REG_0_CHANNEL_SEL_N_Pos)

Set MSIO_2 as references for the comparator

Definition at line 138 of file ll_comp.h.

## ◆ LL_COMP_REF_SRC_IO3

#define LL_COMP_REF_SRC_IO3 (3UL << AON_PMU_COMP_REG_0_CHANNEL_SEL_N_Pos)

Set MSIO_3 as references for the comparator

Definition at line 139 of file ll_comp.h.

## ◆ LL_COMP_REF_SRC_IO4

#define LL_COMP_REF_SRC_IO4 (4UL << AON_PMU_COMP_REG_0_CHANNEL_SEL_N_Pos)

Set MSIO_4 as references for the comparator

Definition at line 140 of file ll_comp.h.

## ◆ LL_COMP_REF_SRC_IO5

#define LL_COMP_REF_SRC_IO5 (5UL << AON_PMU_COMP_REG_0_CHANNEL_SEL_N_Pos)

Set MSIO_5 as references for the comparator

Definition at line 141 of file ll_comp.h.

## ◆ LL_COMP_REF_SRC_IO6

#define LL_COMP_REF_SRC_IO6 (6UL << AON_PMU_COMP_REG_0_CHANNEL_SEL_N_Pos)

Set MSIO_6 as references for the comparator

Definition at line 142 of file ll_comp.h.

## ◆ LL_COMP_REF_SRC_IO7

#define LL_COMP_REF_SRC_IO7 (7UL << AON_PMU_COMP_REG_0_CHANNEL_SEL_N_Pos)

Set MSIO_7 as references for the comparator

Definition at line 143 of file ll_comp.h.

## ◆ LL_COMP_REF_SRC_VBAT

#define LL_COMP_REF_SRC_VBAT (9UL << AON_PMU_COMP_REG_0_CHANNEL_SEL_N_Pos)

Set VBATT as references for the comparator

Definition at line 145 of file ll_comp.h.

## ◆ LL_COMP_REF_SRC_VREF

#define LL_COMP_REF_SRC_VREF (10UL << AON_PMU_COMP_REG_0_CHANNEL_SEL_N_Pos)

Set VREF as references for the comparator

Definition at line 146 of file ll_comp.h.