| NANO102/112 BSP V3.04.000 The Board Support Package for Nano102/112 Series

Data Structures
NANO102/112 Peripherals
NANO102/112 Definitions » Device CMSIS Definitions
Collaboration diagram for NANO102/112 Peripherals:

## Data Structures
struct | ACMP_T
#define | ACMP_CR_ACMPEN_Pos (0)
#define | ACMP_CR_ACMPEN_Msk (0x1ul << ACMP_CR_ACMPEN_Pos)
#define | ACMP_CR_ACMPIE_Pos (1)
#define | ACMP_CR_ACMPIE_Msk (0x1ul << ACMP_CR_ACMPIE_Pos)
#define | ACMP_CR_ACMP_HYSEN_Pos (2)
#define | ACMP_CR_ACMP_HYSEN_Msk (0x1ul << ACMP_CR_ACMP_HYSEN_Pos)
#define | ACMP_CR_CN_Pos (4)
#define | ACMP_CR_CN_Msk (0x3ul << ACMP_CR_CN_Pos)
#define | ACMP_CR_ACMP0_EX_Pos (16)
#define | ACMP_CR_ACMP0_EX_Msk (0x1ul << ACMP_CR_ACMP0_EX_Pos)
#define | ACMP_CR_ACMP0_INV_Pos (17)
#define | ACMP_CR_ACMP0_INV_Msk (0x1UL<<ACMP_CR_ACMP0_INV_Pos)
#define | ACMP_CR_ACOMP0_PN_AutoEx_Pos (19)
#define | ACMP_CR_ACOMP0_PN_AutoEx_Msk (0x1ul << ACMP_CR_ACOMP0_PN_AutoEx_Pos)
#define | ACMP_CR_ACMP0_FILTER_Pos (20)
#define | ACMP_CR_ACMP0_FILTER_Msk (0x1ul << ACMP_CR_ACMP0_FILTER_Pos)
#define | ACMP_CR_CPO0_SEL_Pos (21)
#define | ACMP_CR_CPO0_SEL_Msk (0x1ul << ACMP_CR_CPO0_SEL_Pos)
#define | ACMP_CR_CPP0SEL_Pos (29)
#define | ACMP_CR_CPP0SEL_Msk (0x3ul << ACMP_CR_CPP0SEL_Pos)
#define | ACMP_CR_ACMP_WKEUP_EN_Pos (31)
#define | ACMP_CR_ACMP_WKEUP_EN_Msk (0x1ul << ACMP_CR_ACMP0_WKEUP_EN_Pos)
#define | ACMP_SR_ACMPF0_Pos (0)
#define | ACMP_SR_ACMPF0_Msk (0x1ul << ACMP_SR_ACMPF0_Pos)
#define | ACMP_SR_ACMPF1_Pos (1)
#define | ACMP_SR_ACMPF1_Msk (0x1ul << ACMP_SR_ACMPF1_Pos)
#define | ACMP_SR_CO0_Pos (2)
#define | ACMP_SR_CO0_Msk (0x1ul << ACMP_SR_CO0_Pos)
#define | ACMP_SR_CO1_Pos (3)
#define | ACMP_SR_CO1_Msk (0x1ul << ACMP_SR_CO1_Pos)
#define | ACMP_RVCR_CRVS_Pos (0)
#define | ACMP_RVCR_CRVS_Msk (0xful << ACMP_RVCR_CRVS_Pos)
#define | ACMP_RVCR_CRV_EN_Pos (4)
#define | ACMP_RVCR_CRV_EN_Msk (0x1ul << ACMP_RVCR_CRV_EN_Pos)
#define | ACMP_RVCR_CRVSRC_SEL_Pos (5)
#define | ACMP_RVCR_CRVSRC_SEL_Msk (0x1ul << ACMP_RVCR_CRVSRC_SEL_Pos)
#define | ACMP_MODCR0_MOD_SEL_Pos (0)
#define | ACMP_MODCR0_MOD_SEL_Msk (0x3ul << ACMP_MODCR0_MOD_SEL_Pos)
#define | ACMP_MODCR0_TMR_SEL_Pos (2)
#define | ACMP_MODCR0_TMR_SEL_Msk (0x1ul << ACMP_MODCR0_TMR_SEL_Pos)
#define | ACMP_MODCR0_TMR_TRI_LV_Pos (3)
#define | ACMP_MODCR0_TMR_TRI_LV_Msk (0x1ul << ACMP_MODCR0_TMR_TRI_LV_Pos)
#define | ACMP_MODCR0_CH_DIS_PIN_SEL_Pos (4)
#define | ACMP_MODCR0_CH_DIS_PIN_SEL_Msk (0x7ul << ACMP_MODCR0_CH_DIS_PIN_SEL_Pos)
#define | ACMP_MODCR0_CH_DIS_FUN_SEL_Pos (7)
#define | ACMP_MODCR0_CH_DIS_FUN_SEL_Msk (0x1ul << ACMP_MODCR0_CH_DIS_FUN_SEL_Pos)
#define | ACMP_MODCR0_START_Pos (8)
#define | ACMP_MODCR0_START_Msk (0x1ul << ACMP_MODCR0_START_Pos)

## Detailed Description

NANO102/112 Device Specific Peripheral registers structures

## Macro Definition Documentation

## ◆ ACMP_CR_ACMP0_EX_Msk

#define ACMP_CR_ACMP0_EX_Msk (0x1ul << ACMP_CR_ACMP0_EX_Pos)

ACMP_T::CR: ACMP0_EX Mask

Definition at line 309 of file Nano1X2Series.h.

## ◆ ACMP_CR_ACMP0_EX_Pos

#define ACMP_CR_ACMP0_EX_Pos (16)

ACMP_T::CR: ACMP0_EX Position

Definition at line 308 of file Nano1X2Series.h.

## ◆ ACMP_CR_ACMP0_FILTER_Msk

#define ACMP_CR_ACMP0_FILTER_Msk (0x1ul << ACMP_CR_ACMP0_FILTER_Pos)

ACMP_T::CR: ACMP0_FILTER Mask

Definition at line 318 of file Nano1X2Series.h.

## ◆ ACMP_CR_ACMP0_FILTER_Pos

#define ACMP_CR_ACMP0_FILTER_Pos (20)

ACMP_T::CR: ACMP0_FILTER Position

Definition at line 317 of file Nano1X2Series.h.

## ◆ ACMP_CR_ACMP0_INV_Msk

#define ACMP_CR_ACMP0_INV_Msk (0x1UL<<ACMP_CR_ACMP0_INV_Pos)

ACMP_T::CR: ACMP0_INV Mask

Definition at line 312 of file Nano1X2Series.h.

## ◆ ACMP_CR_ACMP0_INV_Pos

#define ACMP_CR_ACMP0_INV_Pos (17)

ACMP_T::CR: ACMP0_INV Position

Definition at line 311 of file Nano1X2Series.h.

## ◆ ACMP_CR_ACMP_HYSEN_Msk

#define ACMP_CR_ACMP_HYSEN_Msk (0x1ul << ACMP_CR_ACMP_HYSEN_Pos)

ACMP_T::CR: ACMP_HYSEN Mask

Definition at line 303 of file Nano1X2Series.h.

## ◆ ACMP_CR_ACMP_HYSEN_Pos

#define ACMP_CR_ACMP_HYSEN_Pos (2)

ACMP_T::CR: ACMP_HYSEN Position

Definition at line 302 of file Nano1X2Series.h.

## ◆ ACMP_CR_ACMP_WKEUP_EN_Msk

#define ACMP_CR_ACMP_WKEUP_EN_Msk (0x1ul << ACMP_CR_ACMP0_WKEUP_EN_Pos)

ACMP_T::CR: ACMP0_WKEUP_EN Mask

Definition at line 327 of file Nano1X2Series.h.

## ◆ ACMP_CR_ACMP_WKEUP_EN_Pos

#define ACMP_CR_ACMP_WKEUP_EN_Pos (31)

ACMP_T::CR: ACMP0_WKEUP_EN Position

Definition at line 326 of file Nano1X2Series.h.

## ◆ ACMP_CR_ACMPEN_Msk

#define ACMP_CR_ACMPEN_Msk (0x1ul << ACMP_CR_ACMPEN_Pos)

ACMP_T::CR: ACMPEN Mask

Definition at line 297 of file Nano1X2Series.h.

## ◆ ACMP_CR_ACMPEN_Pos

#define ACMP_CR_ACMPEN_Pos (0)

    @addtogroup ACMP_CONST ACMP Bit Field Definition
    Constant Definitions for ACMP Controller

ACMP_T::CR: ACMPEN Position

Definition at line 296 of file Nano1X2Series.h.

## ◆ ACMP_CR_ACMPIE_Msk

#define ACMP_CR_ACMPIE_Msk (0x1ul << ACMP_CR_ACMPIE_Pos)

ACMP_T::CR: ACMPIE Mask

Definition at line 300 of file Nano1X2Series.h.

## ◆ ACMP_CR_ACMPIE_Pos

#define ACMP_CR_ACMPIE_Pos (1)

ACMP_T::CR: ACMPIE Position

Definition at line 299 of file Nano1X2Series.h.

## ◆ ACMP_CR_ACOMP0_PN_AutoEx_Msk

#define ACMP_CR_ACOMP0_PN_AutoEx_Msk (0x1ul << ACMP_CR_ACOMP0_PN_AutoEx_Pos)

ACMP_T::CR: ACOMP0_PN_AutoEx Mask

Definition at line 315 of file Nano1X2Series.h.

## ◆ ACMP_CR_ACOMP0_PN_AutoEx_Pos

#define ACMP_CR_ACOMP0_PN_AutoEx_Pos (19)

ACMP_T::CR: ACOMP0_PN_AutoEx Position

Definition at line 314 of file Nano1X2Series.h.

## ◆ ACMP_CR_CN_Msk

#define ACMP_CR_CN_Msk (0x3ul << ACMP_CR_CN_Pos)

ACMP_T::CR: CN Mask

Definition at line 306 of file Nano1X2Series.h.

## ◆ ACMP_CR_CN_Pos

#define ACMP_CR_CN_Pos (4)

ACMP_T::CR: CN Position

Definition at line 305 of file Nano1X2Series.h.

## ◆ ACMP_CR_CPO0_SEL_Msk

#define ACMP_CR_CPO0_SEL_Msk (0x1ul << ACMP_CR_CPO0_SEL_Pos)

ACMP_T::CR: CPO0_SEL Mask

Definition at line 321 of file Nano1X2Series.h.

## ◆ ACMP_CR_CPO0_SEL_Pos

#define ACMP_CR_CPO0_SEL_Pos (21)

ACMP_T::CR: CPO0_SEL Position

Definition at line 320 of file Nano1X2Series.h.

## ◆ ACMP_CR_CPP0SEL_Msk

#define ACMP_CR_CPP0SEL_Msk (0x3ul << ACMP_CR_CPP0SEL_Pos)

ACMP_T::CR: CPP0SEL Mask

Definition at line 324 of file Nano1X2Series.h.

## ◆ ACMP_CR_CPP0SEL_Pos

#define ACMP_CR_CPP0SEL_Pos (29)

ACMP_T::CR: CPP0SEL Position

Definition at line 323 of file Nano1X2Series.h.

## ◆ ACMP_MODCR0_CH_DIS_FUN_SEL_Msk

#define ACMP_MODCR0_CH_DIS_FUN_SEL_Msk (0x1ul << ACMP_MODCR0_CH_DIS_FUN_SEL_Pos)

ACMP_T::MODCR0: CH_DIS_FUN_SEL Mask

Definition at line 363 of file Nano1X2Series.h.

## ◆ ACMP_MODCR0_CH_DIS_FUN_SEL_Pos

#define ACMP_MODCR0_CH_DIS_FUN_SEL_Pos (7)

ACMP_T::MODCR0: CH_DIS_FUN_SEL Position

Definition at line 362 of file Nano1X2Series.h.

## ◆ ACMP_MODCR0_CH_DIS_PIN_SEL_Msk

#define ACMP_MODCR0_CH_DIS_PIN_SEL_Msk (0x7ul << ACMP_MODCR0_CH_DIS_PIN_SEL_Pos)

ACMP_T::MODCR0: CH_DIS_PIN_SEL Mask

Definition at line 360 of file Nano1X2Series.h.

## ◆ ACMP_MODCR0_CH_DIS_PIN_SEL_Pos

#define ACMP_MODCR0_CH_DIS_PIN_SEL_Pos (4)

ACMP_T::MODCR0: CH_DIS_PIN_SEL Position

Definition at line 359 of file Nano1X2Series.h.

## ◆ ACMP_MODCR0_MOD_SEL_Msk

#define ACMP_MODCR0_MOD_SEL_Msk (0x3ul << ACMP_MODCR0_MOD_SEL_Pos)

ACMP_T::MODCR0: MOD_SEL Mask

Definition at line 351 of file Nano1X2Series.h.

## ◆ ACMP_MODCR0_MOD_SEL_Pos

#define ACMP_MODCR0_MOD_SEL_Pos (0)

ACMP_T::MODCR0: MOD_SEL Position

Definition at line 350 of file Nano1X2Series.h.

## ◆ ACMP_MODCR0_START_Msk

#define ACMP_MODCR0_START_Msk (0x1ul << ACMP_MODCR0_START_Pos)

ACMP_T::MODCR0: START Mask

Definition at line 366 of file Nano1X2Series.h.

## ◆ ACMP_MODCR0_START_Pos

#define ACMP_MODCR0_START_Pos (8)

ACMP_T::MODCR0: START Position

Definition at line 365 of file Nano1X2Series.h.

## ◆ ACMP_MODCR0_TMR_SEL_Msk

#define ACMP_MODCR0_TMR_SEL_Msk (0x1ul << ACMP_MODCR0_TMR_SEL_Pos)

ACMP_T::MODCR0: TMR_SEL Mask

Definition at line 354 of file Nano1X2Series.h.

## ◆ ACMP_MODCR0_TMR_SEL_Pos

#define ACMP_MODCR0_TMR_SEL_Pos (2)

ACMP_T::MODCR0: TMR_SEL Position

Definition at line 353 of file Nano1X2Series.h.

## ◆ ACMP_MODCR0_TMR_TRI_LV_Msk

#define ACMP_MODCR0_TMR_TRI_LV_Msk (0x1ul << ACMP_MODCR0_TMR_TRI_LV_Pos)

ACMP_T::MODCR0: TMR_TRI_LV Mask

Definition at line 357 of file Nano1X2Series.h.

## ◆ ACMP_MODCR0_TMR_TRI_LV_Pos

#define ACMP_MODCR0_TMR_TRI_LV_Pos (3)

ACMP_T::MODCR0: TMR_TRI_LV Position

Definition at line 356 of file Nano1X2Series.h.

## ◆ ACMP_RVCR_CRV_EN_Msk

#define ACMP_RVCR_CRV_EN_Msk (0x1ul << ACMP_RVCR_CRV_EN_Pos)

ACMP_T::RVCR: CRV_EN Mask

Definition at line 345 of file Nano1X2Series.h.

## ◆ ACMP_RVCR_CRV_EN_Pos

#define ACMP_RVCR_CRV_EN_Pos (4)

ACMP_T::RVCR: CRV_EN Position

Definition at line 344 of file Nano1X2Series.h.

## ◆ ACMP_RVCR_CRVS_Msk

#define ACMP_RVCR_CRVS_Msk (0xful << ACMP_RVCR_CRVS_Pos)

ACMP_T::RVCR: CRVS Mask

Definition at line 342 of file Nano1X2Series.h.

## ◆ ACMP_RVCR_CRVS_Pos

#define ACMP_RVCR_CRVS_Pos (0)

ACMP_T::RVCR: CRVS Position

Definition at line 341 of file Nano1X2Series.h.

## ◆ ACMP_RVCR_CRVSRC_SEL_Msk

#define ACMP_RVCR_CRVSRC_SEL_Msk (0x1ul << ACMP_RVCR_CRVSRC_SEL_Pos)

ACMP_T::RVCR: CRVSRC_SEL Mask

Definition at line 348 of file Nano1X2Series.h.

## ◆ ACMP_RVCR_CRVSRC_SEL_Pos

#define ACMP_RVCR_CRVSRC_SEL_Pos (5)

ACMP_T::RVCR: CRVSRC_SEL Position

Definition at line 347 of file Nano1X2Series.h.

## ◆ ACMP_SR_ACMPF0_Msk

#define ACMP_SR_ACMPF0_Msk (0x1ul << ACMP_SR_ACMPF0_Pos)

ACMP_T::SR: ACMPF0 Mask

Definition at line 330 of file Nano1X2Series.h.

## ◆ ACMP_SR_ACMPF0_Pos

#define ACMP_SR_ACMPF0_Pos (0)

ACMP_T::SR: ACMPF0 Position

Definition at line 329 of file Nano1X2Series.h.

## ◆ ACMP_SR_ACMPF1_Msk

#define ACMP_SR_ACMPF1_Msk (0x1ul << ACMP_SR_ACMPF1_Pos)

ACMP_T::SR: ACMPF1 Mask

Definition at line 333 of file Nano1X2Series.h.

## ◆ ACMP_SR_ACMPF1_Pos

#define ACMP_SR_ACMPF1_Pos (1)

ACMP_T::SR: ACMPF1 Position

Definition at line 332 of file Nano1X2Series.h.

## ◆ ACMP_SR_CO0_Msk

#define ACMP_SR_CO0_Msk (0x1ul << ACMP_SR_CO0_Pos)

ACMP_T::SR: CO0 Mask

Definition at line 336 of file Nano1X2Series.h.

## ◆ ACMP_SR_CO0_Pos

#define ACMP_SR_CO0_Pos (2)

ACMP_T::SR: CO0 Position

Definition at line 335 of file Nano1X2Series.h.

## ◆ ACMP_SR_CO1_Msk

#define ACMP_SR_CO1_Msk (0x1ul << ACMP_SR_CO1_Pos)

ACMP_T::SR: CO1 Mask

Definition at line 339 of file Nano1X2Series.h.

## ◆ ACMP_SR_CO1_Pos

#define ACMP_SR_CO1_Pos (3)

ACMP_T::SR: CO1 Position

Definition at line 338 of file Nano1X2Series.h.