EFM32 Zero Gecko Software Documentation  efm32zg-doc-5.1.2
EFM32ZG_PCNT_BitFields

Detailed Description

Macros

#define _PCNT_AUXCNT_AUXCNT_DEFAULT   0x00000000UL
 
#define _PCNT_AUXCNT_AUXCNT_MASK   0xFFFFUL
 
#define _PCNT_AUXCNT_AUXCNT_SHIFT   0
 
#define _PCNT_AUXCNT_MASK   0x0000FFFFUL
 
#define _PCNT_AUXCNT_RESETVALUE   0x00000000UL
 
#define _PCNT_CMD_LCNTIM_DEFAULT   0x00000000UL
 
#define _PCNT_CMD_LCNTIM_MASK   0x1UL
 
#define _PCNT_CMD_LCNTIM_SHIFT   0
 
#define _PCNT_CMD_LTOPBIM_DEFAULT   0x00000000UL
 
#define _PCNT_CMD_LTOPBIM_MASK   0x2UL
 
#define _PCNT_CMD_LTOPBIM_SHIFT   1
 
#define _PCNT_CMD_MASK   0x00000003UL
 
#define _PCNT_CMD_RESETVALUE   0x00000000UL
 
#define _PCNT_CNT_CNT_DEFAULT   0x00000000UL
 
#define _PCNT_CNT_CNT_MASK   0xFFFFUL
 
#define _PCNT_CNT_CNT_SHIFT   0
 
#define _PCNT_CNT_MASK   0x0000FFFFUL
 
#define _PCNT_CNT_RESETVALUE   0x00000000UL
 
#define _PCNT_CTRL_AUXCNTEV_BOTH   0x00000003UL
 
#define _PCNT_CTRL_AUXCNTEV_DEFAULT   0x00000000UL
 
#define _PCNT_CTRL_AUXCNTEV_DOWN   0x00000002UL
 
#define _PCNT_CTRL_AUXCNTEV_MASK   0xC000UL
 
#define _PCNT_CTRL_AUXCNTEV_NONE   0x00000000UL
 
#define _PCNT_CTRL_AUXCNTEV_SHIFT   14
 
#define _PCNT_CTRL_AUXCNTEV_UP   0x00000001UL
 
#define _PCNT_CTRL_AUXCNTRSTEN_DEFAULT   0x00000000UL
 
#define _PCNT_CTRL_AUXCNTRSTEN_MASK   0x40UL
 
#define _PCNT_CTRL_AUXCNTRSTEN_SHIFT   6
 
#define _PCNT_CTRL_CNTDIR_DEFAULT   0x00000000UL
 
#define _PCNT_CTRL_CNTDIR_DOWN   0x00000001UL
 
#define _PCNT_CTRL_CNTDIR_MASK   0x4UL
 
#define _PCNT_CTRL_CNTDIR_SHIFT   2
 
#define _PCNT_CTRL_CNTDIR_UP   0x00000000UL
 
#define _PCNT_CTRL_CNTEV_BOTH   0x00000000UL
 
#define _PCNT_CTRL_CNTEV_DEFAULT   0x00000000UL
 
#define _PCNT_CTRL_CNTEV_DOWN   0x00000002UL
 
#define _PCNT_CTRL_CNTEV_MASK   0xC00UL
 
#define _PCNT_CTRL_CNTEV_NONE   0x00000003UL
 
#define _PCNT_CTRL_CNTEV_SHIFT   10
 
#define _PCNT_CTRL_CNTEV_UP   0x00000001UL
 
#define _PCNT_CTRL_EDGE_DEFAULT   0x00000000UL
 
#define _PCNT_CTRL_EDGE_MASK   0x8UL
 
#define _PCNT_CTRL_EDGE_NEG   0x00000001UL
 
#define _PCNT_CTRL_EDGE_POS   0x00000000UL
 
#define _PCNT_CTRL_EDGE_SHIFT   3
 
#define _PCNT_CTRL_FILT_DEFAULT   0x00000000UL
 
#define _PCNT_CTRL_FILT_MASK   0x10UL
 
#define _PCNT_CTRL_FILT_SHIFT   4
 
#define _PCNT_CTRL_HYST_DEFAULT   0x00000000UL
 
#define _PCNT_CTRL_HYST_MASK   0x100UL
 
#define _PCNT_CTRL_HYST_SHIFT   8
 
#define _PCNT_CTRL_MASK   0x7ECCCF7FUL
 
#define _PCNT_CTRL_MODE_DEFAULT   0x00000000UL
 
#define _PCNT_CTRL_MODE_DISABLE   0x00000000UL
 
#define _PCNT_CTRL_MODE_EXTCLKQUAD   0x00000003UL
 
#define _PCNT_CTRL_MODE_EXTCLKSINGLE   0x00000002UL
 
#define _PCNT_CTRL_MODE_MASK   0x3UL
 
#define _PCNT_CTRL_MODE_OVSSINGLE   0x00000001UL
 
#define _PCNT_CTRL_MODE_SHIFT   0
 
#define _PCNT_CTRL_PRSGATEEN_DEFAULT   0x00000000UL
 
#define _PCNT_CTRL_PRSGATEEN_MASK   0x8000000UL
 
#define _PCNT_CTRL_PRSGATEEN_SHIFT   27
 
#define _PCNT_CTRL_RESETVALUE   0x00000000UL
 
#define _PCNT_CTRL_RSTEN_DEFAULT   0x00000000UL
 
#define _PCNT_CTRL_RSTEN_MASK   0x20UL
 
#define _PCNT_CTRL_RSTEN_SHIFT   5
 
#define _PCNT_CTRL_S1CDIR_DEFAULT   0x00000000UL
 
#define _PCNT_CTRL_S1CDIR_MASK   0x200UL
 
#define _PCNT_CTRL_S1CDIR_SHIFT   9
 
#define _PCNT_CTRL_TCCCOMP_DEFAULT   0x00000000UL
 
#define _PCNT_CTRL_TCCCOMP_GTOE   0x00000001UL
 
#define _PCNT_CTRL_TCCCOMP_LTOE   0x00000000UL
 
#define _PCNT_CTRL_TCCCOMP_MASK   0x6000000UL
 
#define _PCNT_CTRL_TCCCOMP_RANGE   0x00000002UL
 
#define _PCNT_CTRL_TCCCOMP_SHIFT   25
 
#define _PCNT_CTRL_TCCMODE_DEFAULT   0x00000000UL
 
#define _PCNT_CTRL_TCCMODE_DISABLED   0x00000000UL
 
#define _PCNT_CTRL_TCCMODE_LFA   0x00000001UL
 
#define _PCNT_CTRL_TCCMODE_MASK   0xC0000UL
 
#define _PCNT_CTRL_TCCMODE_PRS   0x00000002UL
 
#define _PCNT_CTRL_TCCMODE_SHIFT   18
 
#define _PCNT_CTRL_TCCPRESC_DEFAULT   0x00000000UL
 
#define _PCNT_CTRL_TCCPRESC_DIV1   0x00000000UL
 
#define _PCNT_CTRL_TCCPRESC_DIV2   0x00000001UL
 
#define _PCNT_CTRL_TCCPRESC_DIV4   0x00000002UL
 
#define _PCNT_CTRL_TCCPRESC_DIV8   0x00000003UL
 
#define _PCNT_CTRL_TCCPRESC_MASK   0xC00000UL
 
#define _PCNT_CTRL_TCCPRESC_SHIFT   22
 
#define _PCNT_CTRL_TCCPRSPOL_DEFAULT   0x00000000UL
 
#define _PCNT_CTRL_TCCPRSPOL_FALLING   0x00000001UL
 
#define _PCNT_CTRL_TCCPRSPOL_MASK   0x10000000UL
 
#define _PCNT_CTRL_TCCPRSPOL_RISING   0x00000000UL
 
#define _PCNT_CTRL_TCCPRSPOL_SHIFT   28
 
#define _PCNT_CTRL_TCCPRSSEL_DEFAULT   0x00000000UL
 
#define _PCNT_CTRL_TCCPRSSEL_MASK   0x60000000UL
 
#define _PCNT_CTRL_TCCPRSSEL_PRSCH0   0x00000000UL
 
#define _PCNT_CTRL_TCCPRSSEL_PRSCH1   0x00000001UL
 
#define _PCNT_CTRL_TCCPRSSEL_PRSCH2   0x00000002UL
 
#define _PCNT_CTRL_TCCPRSSEL_PRSCH3   0x00000003UL
 
#define _PCNT_CTRL_TCCPRSSEL_SHIFT   29
 
#define _PCNT_FREEZE_MASK   0x00000001UL
 
#define _PCNT_FREEZE_REGFREEZE_DEFAULT   0x00000000UL
 
#define _PCNT_FREEZE_REGFREEZE_FREEZE   0x00000001UL
 
#define _PCNT_FREEZE_REGFREEZE_MASK   0x1UL
 
#define _PCNT_FREEZE_REGFREEZE_SHIFT   0
 
#define _PCNT_FREEZE_REGFREEZE_UPDATE   0x00000000UL
 
#define _PCNT_FREEZE_RESETVALUE   0x00000000UL
 
#define _PCNT_IEN_AUXOF_DEFAULT   0x00000000UL
 
#define _PCNT_IEN_AUXOF_MASK   0x8UL
 
#define _PCNT_IEN_AUXOF_SHIFT   3
 
#define _PCNT_IEN_DIRCNG_DEFAULT   0x00000000UL
 
#define _PCNT_IEN_DIRCNG_MASK   0x4UL
 
#define _PCNT_IEN_DIRCNG_SHIFT   2
 
#define _PCNT_IEN_MASK   0x0000001FUL
 
#define _PCNT_IEN_OF_DEFAULT   0x00000000UL
 
#define _PCNT_IEN_OF_MASK   0x2UL
 
#define _PCNT_IEN_OF_SHIFT   1
 
#define _PCNT_IEN_RESETVALUE   0x00000000UL
 
#define _PCNT_IEN_TCC_DEFAULT   0x00000000UL
 
#define _PCNT_IEN_TCC_MASK   0x10UL
 
#define _PCNT_IEN_TCC_SHIFT   4
 
#define _PCNT_IEN_UF_DEFAULT   0x00000000UL
 
#define _PCNT_IEN_UF_MASK   0x1UL
 
#define _PCNT_IEN_UF_SHIFT   0
 
#define _PCNT_IF_AUXOF_DEFAULT   0x00000000UL
 
#define _PCNT_IF_AUXOF_MASK   0x8UL
 
#define _PCNT_IF_AUXOF_SHIFT   3
 
#define _PCNT_IF_DIRCNG_DEFAULT   0x00000000UL
 
#define _PCNT_IF_DIRCNG_MASK   0x4UL
 
#define _PCNT_IF_DIRCNG_SHIFT   2
 
#define _PCNT_IF_MASK   0x0000001FUL
 
#define _PCNT_IF_OF_DEFAULT   0x00000000UL
 
#define _PCNT_IF_OF_MASK   0x2UL
 
#define _PCNT_IF_OF_SHIFT   1
 
#define _PCNT_IF_RESETVALUE   0x00000000UL
 
#define _PCNT_IF_TCC_DEFAULT   0x00000000UL
 
#define _PCNT_IF_TCC_MASK   0x10UL
 
#define _PCNT_IF_TCC_SHIFT   4
 
#define _PCNT_IF_UF_DEFAULT   0x00000000UL
 
#define _PCNT_IF_UF_MASK   0x1UL
 
#define _PCNT_IF_UF_SHIFT   0
 
#define _PCNT_IFC_AUXOF_DEFAULT   0x00000000UL
 
#define _PCNT_IFC_AUXOF_MASK   0x8UL
 
#define _PCNT_IFC_AUXOF_SHIFT   3
 
#define _PCNT_IFC_DIRCNG_DEFAULT   0x00000000UL
 
#define _PCNT_IFC_DIRCNG_MASK   0x4UL
 
#define _PCNT_IFC_DIRCNG_SHIFT   2
 
#define _PCNT_IFC_MASK   0x0000001FUL
 
#define _PCNT_IFC_OF_DEFAULT   0x00000000UL
 
#define _PCNT_IFC_OF_MASK   0x2UL
 
#define _PCNT_IFC_OF_SHIFT   1
 
#define _PCNT_IFC_RESETVALUE   0x00000000UL
 
#define _PCNT_IFC_TCC_DEFAULT   0x00000000UL
 
#define _PCNT_IFC_TCC_MASK   0x10UL
 
#define _PCNT_IFC_TCC_SHIFT   4
 
#define _PCNT_IFC_UF_DEFAULT   0x00000000UL
 
#define _PCNT_IFC_UF_MASK   0x1UL
 
#define _PCNT_IFC_UF_SHIFT   0
 
#define _PCNT_IFS_AUXOF_DEFAULT   0x00000000UL
 
#define _PCNT_IFS_AUXOF_MASK   0x8UL
 
#define _PCNT_IFS_AUXOF_SHIFT   3
 
#define _PCNT_IFS_DIRCNG_DEFAULT   0x00000000UL
 
#define _PCNT_IFS_DIRCNG_MASK   0x4UL
 
#define _PCNT_IFS_DIRCNG_SHIFT   2
 
#define _PCNT_IFS_MASK   0x0000001FUL
 
#define _PCNT_IFS_OF_DEFAULT   0x00000000UL
 
#define _PCNT_IFS_OF_MASK   0x2UL
 
#define _PCNT_IFS_OF_SHIFT   1
 
#define _PCNT_IFS_RESETVALUE   0x00000000UL
 
#define _PCNT_IFS_TCC_DEFAULT   0x00000000UL
 
#define _PCNT_IFS_TCC_MASK   0x10UL
 
#define _PCNT_IFS_TCC_SHIFT   4
 
#define _PCNT_IFS_UF_DEFAULT   0x00000000UL
 
#define _PCNT_IFS_UF_MASK   0x1UL
 
#define _PCNT_IFS_UF_SHIFT   0
 
#define _PCNT_INPUT_MASK   0x000004D3UL
 
#define _PCNT_INPUT_RESETVALUE   0x00000000UL
 
#define _PCNT_INPUT_S0PRSEN_DEFAULT   0x00000000UL
 
#define _PCNT_INPUT_S0PRSEN_MASK   0x10UL
 
#define _PCNT_INPUT_S0PRSEN_SHIFT   4
 
#define _PCNT_INPUT_S0PRSSEL_DEFAULT   0x00000000UL
 
#define _PCNT_INPUT_S0PRSSEL_MASK   0x3UL
 
#define _PCNT_INPUT_S0PRSSEL_PRSCH0   0x00000000UL
 
#define _PCNT_INPUT_S0PRSSEL_PRSCH1   0x00000001UL
 
#define _PCNT_INPUT_S0PRSSEL_PRSCH2   0x00000002UL
 
#define _PCNT_INPUT_S0PRSSEL_PRSCH3   0x00000003UL
 
#define _PCNT_INPUT_S0PRSSEL_SHIFT   0
 
#define _PCNT_INPUT_S1PRSEN_DEFAULT   0x00000000UL
 
#define _PCNT_INPUT_S1PRSEN_MASK   0x400UL
 
#define _PCNT_INPUT_S1PRSEN_SHIFT   10
 
#define _PCNT_INPUT_S1PRSSEL_DEFAULT   0x00000000UL
 
#define _PCNT_INPUT_S1PRSSEL_MASK   0xC0UL
 
#define _PCNT_INPUT_S1PRSSEL_PRSCH0   0x00000000UL
 
#define _PCNT_INPUT_S1PRSSEL_PRSCH1   0x00000001UL
 
#define _PCNT_INPUT_S1PRSSEL_PRSCH2   0x00000002UL
 
#define _PCNT_INPUT_S1PRSSEL_PRSCH3   0x00000003UL
 
#define _PCNT_INPUT_S1PRSSEL_SHIFT   6
 
#define _PCNT_ROUTE_LOCATION_DEFAULT   0x00000000UL
 
#define _PCNT_ROUTE_LOCATION_LOC0   0x00000000UL
 
#define _PCNT_ROUTE_LOCATION_LOC1   0x00000001UL
 
#define _PCNT_ROUTE_LOCATION_LOC2   0x00000002UL
 
#define _PCNT_ROUTE_LOCATION_LOC3   0x00000003UL
 
#define _PCNT_ROUTE_LOCATION_MASK   0x700UL
 
#define _PCNT_ROUTE_LOCATION_SHIFT   8
 
#define _PCNT_ROUTE_MASK   0x00000700UL
 
#define _PCNT_ROUTE_RESETVALUE   0x00000000UL
 
#define _PCNT_STATUS_DIR_DEFAULT   0x00000000UL
 
#define _PCNT_STATUS_DIR_DOWN   0x00000001UL
 
#define _PCNT_STATUS_DIR_MASK   0x1UL
 
#define _PCNT_STATUS_DIR_SHIFT   0
 
#define _PCNT_STATUS_DIR_UP   0x00000000UL
 
#define _PCNT_STATUS_MASK   0x00000001UL
 
#define _PCNT_STATUS_RESETVALUE   0x00000000UL
 
#define _PCNT_SYNCBUSY_CMD_DEFAULT   0x00000000UL
 
#define _PCNT_SYNCBUSY_CMD_MASK   0x2UL
 
#define _PCNT_SYNCBUSY_CMD_SHIFT   1
 
#define _PCNT_SYNCBUSY_CTRL_DEFAULT   0x00000000UL
 
#define _PCNT_SYNCBUSY_CTRL_MASK   0x1UL
 
#define _PCNT_SYNCBUSY_CTRL_SHIFT   0
 
#define _PCNT_SYNCBUSY_MASK   0x00000007UL
 
#define _PCNT_SYNCBUSY_RESETVALUE   0x00000000UL
 
#define _PCNT_SYNCBUSY_TOPB_DEFAULT   0x00000000UL
 
#define _PCNT_SYNCBUSY_TOPB_MASK   0x4UL
 
#define _PCNT_SYNCBUSY_TOPB_SHIFT   2
 
#define _PCNT_TOP_MASK   0x0000FFFFUL
 
#define _PCNT_TOP_RESETVALUE   0x000000FFUL
 
#define _PCNT_TOP_TOP_DEFAULT   0x000000FFUL
 
#define _PCNT_TOP_TOP_MASK   0xFFFFUL
 
#define _PCNT_TOP_TOP_SHIFT   0
 
#define _PCNT_TOPB_MASK   0x0000FFFFUL
 
#define _PCNT_TOPB_RESETVALUE   0x000000FFUL
 
#define _PCNT_TOPB_TOPB_DEFAULT   0x000000FFUL
 
#define _PCNT_TOPB_TOPB_MASK   0xFFFFUL
 
#define _PCNT_TOPB_TOPB_SHIFT   0
 
#define PCNT_AUXCNT_AUXCNT_DEFAULT   (_PCNT_AUXCNT_AUXCNT_DEFAULT << 0)
 
#define PCNT_CMD_LCNTIM   (0x1UL << 0)
 
#define PCNT_CMD_LCNTIM_DEFAULT   (_PCNT_CMD_LCNTIM_DEFAULT << 0)
 
#define PCNT_CMD_LTOPBIM   (0x1UL << 1)
 
#define PCNT_CMD_LTOPBIM_DEFAULT   (_PCNT_CMD_LTOPBIM_DEFAULT << 1)
 
#define PCNT_CNT_CNT_DEFAULT   (_PCNT_CNT_CNT_DEFAULT << 0)
 
#define PCNT_CTRL_AUXCNTEV_BOTH   (_PCNT_CTRL_AUXCNTEV_BOTH << 14)
 
#define PCNT_CTRL_AUXCNTEV_DEFAULT   (_PCNT_CTRL_AUXCNTEV_DEFAULT << 14)
 
#define PCNT_CTRL_AUXCNTEV_DOWN   (_PCNT_CTRL_AUXCNTEV_DOWN << 14)
 
#define PCNT_CTRL_AUXCNTEV_NONE   (_PCNT_CTRL_AUXCNTEV_NONE << 14)
 
#define PCNT_CTRL_AUXCNTEV_UP   (_PCNT_CTRL_AUXCNTEV_UP << 14)
 
#define PCNT_CTRL_AUXCNTRSTEN   (0x1UL << 6)
 
#define PCNT_CTRL_AUXCNTRSTEN_DEFAULT   (_PCNT_CTRL_AUXCNTRSTEN_DEFAULT << 6)
 
#define PCNT_CTRL_CNTDIR   (0x1UL << 2)
 
#define PCNT_CTRL_CNTDIR_DEFAULT   (_PCNT_CTRL_CNTDIR_DEFAULT << 2)
 
#define PCNT_CTRL_CNTDIR_DOWN   (_PCNT_CTRL_CNTDIR_DOWN << 2)
 
#define PCNT_CTRL_CNTDIR_UP   (_PCNT_CTRL_CNTDIR_UP << 2)
 
#define PCNT_CTRL_CNTEV_BOTH   (_PCNT_CTRL_CNTEV_BOTH << 10)
 
#define PCNT_CTRL_CNTEV_DEFAULT   (_PCNT_CTRL_CNTEV_DEFAULT << 10)
 
#define PCNT_CTRL_CNTEV_DOWN   (_PCNT_CTRL_CNTEV_DOWN << 10)
 
#define PCNT_CTRL_CNTEV_NONE   (_PCNT_CTRL_CNTEV_NONE << 10)
 
#define PCNT_CTRL_CNTEV_UP   (_PCNT_CTRL_CNTEV_UP << 10)
 
#define PCNT_CTRL_EDGE   (0x1UL << 3)
 
#define PCNT_CTRL_EDGE_DEFAULT   (_PCNT_CTRL_EDGE_DEFAULT << 3)
 
#define PCNT_CTRL_EDGE_NEG   (_PCNT_CTRL_EDGE_NEG << 3)
 
#define PCNT_CTRL_EDGE_POS   (_PCNT_CTRL_EDGE_POS << 3)
 
#define PCNT_CTRL_FILT   (0x1UL << 4)
 
#define PCNT_CTRL_FILT_DEFAULT   (_PCNT_CTRL_FILT_DEFAULT << 4)
 
#define PCNT_CTRL_HYST   (0x1UL << 8)
 
#define PCNT_CTRL_HYST_DEFAULT   (_PCNT_CTRL_HYST_DEFAULT << 8)
 
#define PCNT_CTRL_MODE_DEFAULT   (_PCNT_CTRL_MODE_DEFAULT << 0)
 
#define PCNT_CTRL_MODE_DISABLE   (_PCNT_CTRL_MODE_DISABLE << 0)
 
#define PCNT_CTRL_MODE_EXTCLKQUAD   (_PCNT_CTRL_MODE_EXTCLKQUAD << 0)
 
#define PCNT_CTRL_MODE_EXTCLKSINGLE   (_PCNT_CTRL_MODE_EXTCLKSINGLE << 0)
 
#define PCNT_CTRL_MODE_OVSSINGLE   (_PCNT_CTRL_MODE_OVSSINGLE << 0)
 
#define PCNT_CTRL_PRSGATEEN   (0x1UL << 27)
 
#define PCNT_CTRL_PRSGATEEN_DEFAULT   (_PCNT_CTRL_PRSGATEEN_DEFAULT << 27)
 
#define PCNT_CTRL_RSTEN   (0x1UL << 5)
 
#define PCNT_CTRL_RSTEN_DEFAULT   (_PCNT_CTRL_RSTEN_DEFAULT << 5)
 
#define PCNT_CTRL_S1CDIR   (0x1UL << 9)
 
#define PCNT_CTRL_S1CDIR_DEFAULT   (_PCNT_CTRL_S1CDIR_DEFAULT << 9)
 
#define PCNT_CTRL_TCCCOMP_DEFAULT   (_PCNT_CTRL_TCCCOMP_DEFAULT << 25)
 
#define PCNT_CTRL_TCCCOMP_GTOE   (_PCNT_CTRL_TCCCOMP_GTOE << 25)
 
#define PCNT_CTRL_TCCCOMP_LTOE   (_PCNT_CTRL_TCCCOMP_LTOE << 25)
 
#define PCNT_CTRL_TCCCOMP_RANGE   (_PCNT_CTRL_TCCCOMP_RANGE << 25)
 
#define PCNT_CTRL_TCCMODE_DEFAULT   (_PCNT_CTRL_TCCMODE_DEFAULT << 18)
 
#define PCNT_CTRL_TCCMODE_DISABLED   (_PCNT_CTRL_TCCMODE_DISABLED << 18)
 
#define PCNT_CTRL_TCCMODE_LFA   (_PCNT_CTRL_TCCMODE_LFA << 18)
 
#define PCNT_CTRL_TCCMODE_PRS   (_PCNT_CTRL_TCCMODE_PRS << 18)
 
#define PCNT_CTRL_TCCPRESC_DEFAULT   (_PCNT_CTRL_TCCPRESC_DEFAULT << 22)
 
#define PCNT_CTRL_TCCPRESC_DIV1   (_PCNT_CTRL_TCCPRESC_DIV1 << 22)
 
#define PCNT_CTRL_TCCPRESC_DIV2   (_PCNT_CTRL_TCCPRESC_DIV2 << 22)
 
#define PCNT_CTRL_TCCPRESC_DIV4   (_PCNT_CTRL_TCCPRESC_DIV4 << 22)
 
#define PCNT_CTRL_TCCPRESC_DIV8   (_PCNT_CTRL_TCCPRESC_DIV8 << 22)
 
#define PCNT_CTRL_TCCPRSPOL   (0x1UL << 28)
 
#define PCNT_CTRL_TCCPRSPOL_DEFAULT   (_PCNT_CTRL_TCCPRSPOL_DEFAULT << 28)
 
#define PCNT_CTRL_TCCPRSPOL_FALLING   (_PCNT_CTRL_TCCPRSPOL_FALLING << 28)
 
#define PCNT_CTRL_TCCPRSPOL_RISING   (_PCNT_CTRL_TCCPRSPOL_RISING << 28)
 
#define PCNT_CTRL_TCCPRSSEL_DEFAULT   (_PCNT_CTRL_TCCPRSSEL_DEFAULT << 29)
 
#define PCNT_CTRL_TCCPRSSEL_PRSCH0   (_PCNT_CTRL_TCCPRSSEL_PRSCH0 << 29)
 
#define PCNT_CTRL_TCCPRSSEL_PRSCH1   (_PCNT_CTRL_TCCPRSSEL_PRSCH1 << 29)
 
#define PCNT_CTRL_TCCPRSSEL_PRSCH2   (_PCNT_CTRL_TCCPRSSEL_PRSCH2 << 29)
 
#define PCNT_CTRL_TCCPRSSEL_PRSCH3   (_PCNT_CTRL_TCCPRSSEL_PRSCH3 << 29)
 
#define PCNT_FREEZE_REGFREEZE   (0x1UL << 0)
 
#define PCNT_FREEZE_REGFREEZE_DEFAULT   (_PCNT_FREEZE_REGFREEZE_DEFAULT << 0)
 
#define PCNT_FREEZE_REGFREEZE_FREEZE   (_PCNT_FREEZE_REGFREEZE_FREEZE << 0)
 
#define PCNT_FREEZE_REGFREEZE_UPDATE   (_PCNT_FREEZE_REGFREEZE_UPDATE << 0)
 
#define PCNT_IEN_AUXOF   (0x1UL << 3)
 
#define PCNT_IEN_AUXOF_DEFAULT   (_PCNT_IEN_AUXOF_DEFAULT << 3)
 
#define PCNT_IEN_DIRCNG   (0x1UL << 2)
 
#define PCNT_IEN_DIRCNG_DEFAULT   (_PCNT_IEN_DIRCNG_DEFAULT << 2)
 
#define PCNT_IEN_OF   (0x1UL << 1)
 
#define PCNT_IEN_OF_DEFAULT   (_PCNT_IEN_OF_DEFAULT << 1)
 
#define PCNT_IEN_TCC   (0x1UL << 4)
 
#define PCNT_IEN_TCC_DEFAULT   (_PCNT_IEN_TCC_DEFAULT << 4)
 
#define PCNT_IEN_UF   (0x1UL << 0)
 
#define PCNT_IEN_UF_DEFAULT   (_PCNT_IEN_UF_DEFAULT << 0)
 
#define PCNT_IF_AUXOF   (0x1UL << 3)
 
#define PCNT_IF_AUXOF_DEFAULT   (_PCNT_IF_AUXOF_DEFAULT << 3)
 
#define PCNT_IF_DIRCNG   (0x1UL << 2)
 
#define PCNT_IF_DIRCNG_DEFAULT   (_PCNT_IF_DIRCNG_DEFAULT << 2)
 
#define PCNT_IF_OF   (0x1UL << 1)
 
#define PCNT_IF_OF_DEFAULT   (_PCNT_IF_OF_DEFAULT << 1)
 
#define PCNT_IF_TCC   (0x1UL << 4)
 
#define PCNT_IF_TCC_DEFAULT   (_PCNT_IF_TCC_DEFAULT << 4)
 
#define PCNT_IF_UF   (0x1UL << 0)
 
#define PCNT_IF_UF_DEFAULT   (_PCNT_IF_UF_DEFAULT << 0)
 
#define PCNT_IFC_AUXOF   (0x1UL << 3)
 
#define PCNT_IFC_AUXOF_DEFAULT   (_PCNT_IFC_AUXOF_DEFAULT << 3)
 
#define PCNT_IFC_DIRCNG   (0x1UL << 2)
 
#define PCNT_IFC_DIRCNG_DEFAULT   (_PCNT_IFC_DIRCNG_DEFAULT << 2)
 
#define PCNT_IFC_OF   (0x1UL << 1)
 
#define PCNT_IFC_OF_DEFAULT   (_PCNT_IFC_OF_DEFAULT << 1)
 
#define PCNT_IFC_TCC   (0x1UL << 4)
 
#define PCNT_IFC_TCC_DEFAULT   (_PCNT_IFC_TCC_DEFAULT << 4)
 
#define PCNT_IFC_UF   (0x1UL << 0)
 
#define PCNT_IFC_UF_DEFAULT   (_PCNT_IFC_UF_DEFAULT << 0)
 
#define PCNT_IFS_AUXOF   (0x1UL << 3)
 
#define PCNT_IFS_AUXOF_DEFAULT   (_PCNT_IFS_AUXOF_DEFAULT << 3)
 
#define PCNT_IFS_DIRCNG   (0x1UL << 2)
 
#define PCNT_IFS_DIRCNG_DEFAULT   (_PCNT_IFS_DIRCNG_DEFAULT << 2)
 
#define PCNT_IFS_OF   (0x1UL << 1)
 
#define PCNT_IFS_OF_DEFAULT   (_PCNT_IFS_OF_DEFAULT << 1)
 
#define PCNT_IFS_TCC   (0x1UL << 4)
 
#define PCNT_IFS_TCC_DEFAULT   (_PCNT_IFS_TCC_DEFAULT << 4)
 
#define PCNT_IFS_UF   (0x1UL << 0)
 
#define PCNT_IFS_UF_DEFAULT   (_PCNT_IFS_UF_DEFAULT << 0)
 
#define PCNT_INPUT_S0PRSEN   (0x1UL << 4)
 
#define PCNT_INPUT_S0PRSEN_DEFAULT   (_PCNT_INPUT_S0PRSEN_DEFAULT << 4)
 
#define PCNT_INPUT_S0PRSSEL_DEFAULT   (_PCNT_INPUT_S0PRSSEL_DEFAULT << 0)
 
#define PCNT_INPUT_S0PRSSEL_PRSCH0   (_PCNT_INPUT_S0PRSSEL_PRSCH0 << 0)
 
#define PCNT_INPUT_S0PRSSEL_PRSCH1   (_PCNT_INPUT_S0PRSSEL_PRSCH1 << 0)
 
#define PCNT_INPUT_S0PRSSEL_PRSCH2   (_PCNT_INPUT_S0PRSSEL_PRSCH2 << 0)
 
#define PCNT_INPUT_S0PRSSEL_PRSCH3   (_PCNT_INPUT_S0PRSSEL_PRSCH3 << 0)
 
#define PCNT_INPUT_S1PRSEN   (0x1UL << 10)
 
#define PCNT_INPUT_S1PRSEN_DEFAULT   (_PCNT_INPUT_S1PRSEN_DEFAULT << 10)
 
#define PCNT_INPUT_S1PRSSEL_DEFAULT   (_PCNT_INPUT_S1PRSSEL_DEFAULT << 6)
 
#define PCNT_INPUT_S1PRSSEL_PRSCH0   (_PCNT_INPUT_S1PRSSEL_PRSCH0 << 6)
 
#define PCNT_INPUT_S1PRSSEL_PRSCH1   (_PCNT_INPUT_S1PRSSEL_PRSCH1 << 6)
 
#define PCNT_INPUT_S1PRSSEL_PRSCH2   (_PCNT_INPUT_S1PRSSEL_PRSCH2 << 6)
 
#define PCNT_INPUT_S1PRSSEL_PRSCH3   (_PCNT_INPUT_S1PRSSEL_PRSCH3 << 6)
 
#define PCNT_ROUTE_LOCATION_DEFAULT   (_PCNT_ROUTE_LOCATION_DEFAULT << 8)
 
#define PCNT_ROUTE_LOCATION_LOC0   (_PCNT_ROUTE_LOCATION_LOC0 << 8)
 
#define PCNT_ROUTE_LOCATION_LOC1   (_PCNT_ROUTE_LOCATION_LOC1 << 8)
 
#define PCNT_ROUTE_LOCATION_LOC2   (_PCNT_ROUTE_LOCATION_LOC2 << 8)
 
#define PCNT_ROUTE_LOCATION_LOC3   (_PCNT_ROUTE_LOCATION_LOC3 << 8)
 
#define PCNT_STATUS_DIR   (0x1UL << 0)
 
#define PCNT_STATUS_DIR_DEFAULT   (_PCNT_STATUS_DIR_DEFAULT << 0)
 
#define PCNT_STATUS_DIR_DOWN   (_PCNT_STATUS_DIR_DOWN << 0)
 
#define PCNT_STATUS_DIR_UP   (_PCNT_STATUS_DIR_UP << 0)
 
#define PCNT_SYNCBUSY_CMD   (0x1UL << 1)
 
#define PCNT_SYNCBUSY_CMD_DEFAULT   (_PCNT_SYNCBUSY_CMD_DEFAULT << 1)
 
#define PCNT_SYNCBUSY_CTRL   (0x1UL << 0)
 
#define PCNT_SYNCBUSY_CTRL_DEFAULT   (_PCNT_SYNCBUSY_CTRL_DEFAULT << 0)
 
#define PCNT_SYNCBUSY_TOPB   (0x1UL << 2)
 
#define PCNT_SYNCBUSY_TOPB_DEFAULT   (_PCNT_SYNCBUSY_TOPB_DEFAULT << 2)
 
#define PCNT_TOP_TOP_DEFAULT   (_PCNT_TOP_TOP_DEFAULT << 0)
 
#define PCNT_TOPB_TOPB_DEFAULT   (_PCNT_TOPB_TOPB_DEFAULT << 0)
 

Macro Definition Documentation

#define _PCNT_AUXCNT_AUXCNT_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_AUXCNT

Definition at line 429 of file efm32zg_pcnt.h.

#define _PCNT_AUXCNT_AUXCNT_MASK   0xFFFFUL

Bit mask for PCNT_AUXCNT

Definition at line 428 of file efm32zg_pcnt.h.

#define _PCNT_AUXCNT_AUXCNT_SHIFT   0

Shift value for PCNT_AUXCNT

Definition at line 427 of file efm32zg_pcnt.h.

#define _PCNT_AUXCNT_MASK   0x0000FFFFUL

Mask for PCNT_AUXCNT

Definition at line 426 of file efm32zg_pcnt.h.

#define _PCNT_AUXCNT_RESETVALUE   0x00000000UL

Default value for PCNT_AUXCNT

Definition at line 425 of file efm32zg_pcnt.h.

#define _PCNT_CMD_LCNTIM_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_CMD

Definition at line 215 of file efm32zg_pcnt.h.

#define _PCNT_CMD_LCNTIM_MASK   0x1UL

Bit mask for PCNT_LCNTIM

Definition at line 214 of file efm32zg_pcnt.h.

#define _PCNT_CMD_LCNTIM_SHIFT   0

Shift value for PCNT_LCNTIM

Definition at line 213 of file efm32zg_pcnt.h.

#define _PCNT_CMD_LTOPBIM_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_CMD

Definition at line 220 of file efm32zg_pcnt.h.

#define _PCNT_CMD_LTOPBIM_MASK   0x2UL

Bit mask for PCNT_LTOPBIM

Definition at line 219 of file efm32zg_pcnt.h.

#define _PCNT_CMD_LTOPBIM_SHIFT   1

Shift value for PCNT_LTOPBIM

Definition at line 218 of file efm32zg_pcnt.h.

#define _PCNT_CMD_MASK   0x00000003UL

Mask for PCNT_CMD

Definition at line 211 of file efm32zg_pcnt.h.

#define _PCNT_CMD_RESETVALUE   0x00000000UL

Default value for PCNT_CMD

Definition at line 210 of file efm32zg_pcnt.h.

#define _PCNT_CNT_CNT_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_CNT

Definition at line 241 of file efm32zg_pcnt.h.

#define _PCNT_CNT_CNT_MASK   0xFFFFUL

Bit mask for PCNT_CNT

Definition at line 240 of file efm32zg_pcnt.h.

#define _PCNT_CNT_CNT_SHIFT   0

Shift value for PCNT_CNT

Definition at line 239 of file efm32zg_pcnt.h.

#define _PCNT_CNT_MASK   0x0000FFFFUL

Mask for PCNT_CNT

Definition at line 238 of file efm32zg_pcnt.h.

#define _PCNT_CNT_RESETVALUE   0x00000000UL

Default value for PCNT_CNT

Definition at line 237 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_AUXCNTEV_BOTH   0x00000003UL

Mode BOTH for PCNT_CTRL

Definition at line 144 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_AUXCNTEV_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_CTRL

Definition at line 140 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_AUXCNTEV_DOWN   0x00000002UL

Mode DOWN for PCNT_CTRL

Definition at line 143 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_AUXCNTEV_MASK   0xC000UL

Bit mask for PCNT_AUXCNTEV

Definition at line 139 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_AUXCNTEV_NONE   0x00000000UL

Mode NONE for PCNT_CTRL

Definition at line 141 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_AUXCNTEV_SHIFT   14

Shift value for PCNT_AUXCNTEV

Definition at line 138 of file efm32zg_pcnt.h.

Referenced by PCNT_Init().

#define _PCNT_CTRL_AUXCNTEV_UP   0x00000001UL

Mode UP for PCNT_CTRL

Definition at line 142 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_AUXCNTRSTEN_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_CTRL

Definition at line 114 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_AUXCNTRSTEN_MASK   0x40UL

Bit mask for PCNT_AUXCNTRSTEN

Definition at line 113 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_AUXCNTRSTEN_SHIFT   6

Shift value for PCNT_AUXCNTRSTEN

Definition at line 112 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_CNTDIR_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_CTRL

Definition at line 86 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_CNTDIR_DOWN   0x00000001UL

Mode DOWN for PCNT_CTRL

Definition at line 88 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_CNTDIR_MASK   0x4UL

Bit mask for PCNT_CNTDIR

Definition at line 85 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_CNTDIR_SHIFT   2

Shift value for PCNT_CNTDIR

Definition at line 84 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_CNTDIR_UP   0x00000000UL

Mode UP for PCNT_CTRL

Definition at line 87 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_CNTEV_BOTH   0x00000000UL

Mode BOTH for PCNT_CTRL

Definition at line 129 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_CNTEV_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_CTRL

Definition at line 128 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_CNTEV_DOWN   0x00000002UL

Mode DOWN for PCNT_CTRL

Definition at line 131 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_CNTEV_MASK   0xC00UL

Bit mask for PCNT_CNTEV

Definition at line 127 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_CNTEV_NONE   0x00000003UL

Mode NONE for PCNT_CTRL

Definition at line 132 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_CNTEV_SHIFT   10

Shift value for PCNT_CNTEV

Definition at line 126 of file efm32zg_pcnt.h.

Referenced by PCNT_Init().

#define _PCNT_CTRL_CNTEV_UP   0x00000001UL

Mode UP for PCNT_CTRL

Definition at line 130 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_EDGE_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_CTRL

Definition at line 95 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_EDGE_MASK   0x8UL

Bit mask for PCNT_EDGE

Definition at line 94 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_EDGE_NEG   0x00000001UL

Mode NEG for PCNT_CTRL

Definition at line 97 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_EDGE_POS   0x00000000UL

Mode POS for PCNT_CTRL

Definition at line 96 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_EDGE_SHIFT   3

Shift value for PCNT_EDGE

Definition at line 93 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_FILT_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_CTRL

Definition at line 104 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_FILT_MASK   0x10UL

Bit mask for PCNT_FILT

Definition at line 103 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_FILT_SHIFT   4

Shift value for PCNT_FILT

Definition at line 102 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_HYST_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_CTRL

Definition at line 119 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_HYST_MASK   0x100UL

Bit mask for PCNT_HYST

Definition at line 118 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_HYST_SHIFT   8

Shift value for PCNT_HYST

Definition at line 117 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_MASK   0x7ECCCF7FUL

Mask for PCNT_CTRL

Definition at line 70 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_MODE_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_CTRL

Definition at line 73 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_MODE_DISABLE   0x00000000UL

Mode DISABLE for PCNT_CTRL

Definition at line 74 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_MODE_EXTCLKQUAD   0x00000003UL

Mode EXTCLKQUAD for PCNT_CTRL

Definition at line 77 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_MODE_EXTCLKSINGLE   0x00000002UL

Mode EXTCLKSINGLE for PCNT_CTRL

Definition at line 76 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_MODE_MASK   0x3UL

Bit mask for PCNT_MODE

Definition at line 72 of file efm32zg_pcnt.h.

Referenced by PCNT_CounterTopSet(), PCNT_Enable(), and PCNT_Init().

#define _PCNT_CTRL_MODE_OVSSINGLE   0x00000001UL

Mode OVSSINGLE for PCNT_CTRL

Definition at line 75 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_MODE_SHIFT   0

Shift value for PCNT_MODE

Definition at line 71 of file efm32zg_pcnt.h.

Referenced by PCNT_Enable(), and PCNT_Init().

#define _PCNT_CTRL_PRSGATEEN_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_CTRL

Definition at line 185 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_PRSGATEEN_MASK   0x8000000UL

Bit mask for PCNT_PRSGATEEN

Definition at line 184 of file efm32zg_pcnt.h.

Referenced by PCNT_TCCConfiguration().

#define _PCNT_CTRL_PRSGATEEN_SHIFT   27

Shift value for PCNT_PRSGATEEN

Definition at line 183 of file efm32zg_pcnt.h.

Referenced by PCNT_TCCConfiguration().

#define _PCNT_CTRL_RESETVALUE   0x00000000UL

Default value for PCNT_CTRL

Definition at line 69 of file efm32zg_pcnt.h.

Referenced by PCNT_Reset().

#define _PCNT_CTRL_RSTEN_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_CTRL

Definition at line 109 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_RSTEN_MASK   0x20UL

Bit mask for PCNT_RSTEN

Definition at line 108 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_RSTEN_SHIFT   5

Shift value for PCNT_RSTEN

Definition at line 107 of file efm32zg_pcnt.h.

Referenced by PCNT_CounterReset(), PCNT_Init(), and PCNT_Reset().

#define _PCNT_CTRL_S1CDIR_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_CTRL

Definition at line 124 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_S1CDIR_MASK   0x200UL

Bit mask for PCNT_S1CDIR

Definition at line 123 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_S1CDIR_SHIFT   9

Shift value for PCNT_S1CDIR

Definition at line 122 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_TCCCOMP_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_CTRL

Definition at line 174 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_TCCCOMP_GTOE   0x00000001UL

Mode GTOE for PCNT_CTRL

Definition at line 176 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_TCCCOMP_LTOE   0x00000000UL

Mode LTOE for PCNT_CTRL

Definition at line 175 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_TCCCOMP_MASK   0x6000000UL

Bit mask for PCNT_TCCCOMP

Definition at line 173 of file efm32zg_pcnt.h.

Referenced by PCNT_TCCConfiguration().

#define _PCNT_CTRL_TCCCOMP_RANGE   0x00000002UL

Mode RANGE for PCNT_CTRL

Definition at line 177 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_TCCCOMP_SHIFT   25

Shift value for PCNT_TCCCOMP

Definition at line 172 of file efm32zg_pcnt.h.

Referenced by PCNT_TCCConfiguration().

#define _PCNT_CTRL_TCCMODE_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_CTRL

Definition at line 152 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_TCCMODE_DISABLED   0x00000000UL

Mode DISABLED for PCNT_CTRL

Definition at line 153 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_TCCMODE_LFA   0x00000001UL

Mode LFA for PCNT_CTRL

Definition at line 154 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_TCCMODE_MASK   0xC0000UL

Bit mask for PCNT_TCCMODE

Definition at line 151 of file efm32zg_pcnt.h.

Referenced by PCNT_TCCConfiguration().

#define _PCNT_CTRL_TCCMODE_PRS   0x00000002UL

Mode PRS for PCNT_CTRL

Definition at line 155 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_TCCMODE_SHIFT   18

Shift value for PCNT_TCCMODE

Definition at line 150 of file efm32zg_pcnt.h.

Referenced by PCNT_TCCConfiguration().

#define _PCNT_CTRL_TCCPRESC_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_CTRL

Definition at line 162 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_TCCPRESC_DIV1   0x00000000UL

Mode DIV1 for PCNT_CTRL

Definition at line 163 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_TCCPRESC_DIV2   0x00000001UL

Mode DIV2 for PCNT_CTRL

Definition at line 164 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_TCCPRESC_DIV4   0x00000002UL

Mode DIV4 for PCNT_CTRL

Definition at line 165 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_TCCPRESC_DIV8   0x00000003UL

Mode DIV8 for PCNT_CTRL

Definition at line 166 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_TCCPRESC_MASK   0xC00000UL

Bit mask for PCNT_TCCPRESC

Definition at line 161 of file efm32zg_pcnt.h.

Referenced by PCNT_TCCConfiguration().

#define _PCNT_CTRL_TCCPRESC_SHIFT   22

Shift value for PCNT_TCCPRESC

Definition at line 160 of file efm32zg_pcnt.h.

Referenced by PCNT_TCCConfiguration().

#define _PCNT_CTRL_TCCPRSPOL_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_CTRL

Definition at line 190 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_TCCPRSPOL_FALLING   0x00000001UL

Mode FALLING for PCNT_CTRL

Definition at line 192 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_TCCPRSPOL_MASK   0x10000000UL

Bit mask for PCNT_TCCPRSPOL

Definition at line 189 of file efm32zg_pcnt.h.

Referenced by PCNT_TCCConfiguration().

#define _PCNT_CTRL_TCCPRSPOL_RISING   0x00000000UL

Mode RISING for PCNT_CTRL

Definition at line 191 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_TCCPRSPOL_SHIFT   28

Shift value for PCNT_TCCPRSPOL

Definition at line 188 of file efm32zg_pcnt.h.

Referenced by PCNT_TCCConfiguration().

#define _PCNT_CTRL_TCCPRSSEL_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_CTRL

Definition at line 198 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_TCCPRSSEL_MASK   0x60000000UL

Bit mask for PCNT_TCCPRSSEL

Definition at line 197 of file efm32zg_pcnt.h.

Referenced by PCNT_TCCConfiguration().

#define _PCNT_CTRL_TCCPRSSEL_PRSCH0   0x00000000UL

Mode PRSCH0 for PCNT_CTRL

Definition at line 199 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_TCCPRSSEL_PRSCH1   0x00000001UL

Mode PRSCH1 for PCNT_CTRL

Definition at line 200 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_TCCPRSSEL_PRSCH2   0x00000002UL

Mode PRSCH2 for PCNT_CTRL

Definition at line 201 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_TCCPRSSEL_PRSCH3   0x00000003UL

Mode PRSCH3 for PCNT_CTRL

Definition at line 202 of file efm32zg_pcnt.h.

#define _PCNT_CTRL_TCCPRSSEL_SHIFT   29

Shift value for PCNT_TCCPRSSEL

Definition at line 196 of file efm32zg_pcnt.h.

Referenced by PCNT_TCCConfiguration().

#define _PCNT_FREEZE_MASK   0x00000001UL

Mask for PCNT_FREEZE

Definition at line 394 of file efm32zg_pcnt.h.

#define _PCNT_FREEZE_REGFREEZE_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_FREEZE

Definition at line 398 of file efm32zg_pcnt.h.

#define _PCNT_FREEZE_REGFREEZE_FREEZE   0x00000001UL

Mode FREEZE for PCNT_FREEZE

Definition at line 400 of file efm32zg_pcnt.h.

#define _PCNT_FREEZE_REGFREEZE_MASK   0x1UL

Bit mask for PCNT_REGFREEZE

Definition at line 397 of file efm32zg_pcnt.h.

#define _PCNT_FREEZE_REGFREEZE_SHIFT   0

Shift value for PCNT_REGFREEZE

Definition at line 396 of file efm32zg_pcnt.h.

#define _PCNT_FREEZE_REGFREEZE_UPDATE   0x00000000UL

Mode UPDATE for PCNT_FREEZE

Definition at line 399 of file efm32zg_pcnt.h.

#define _PCNT_FREEZE_RESETVALUE   0x00000000UL

Default value for PCNT_FREEZE

Definition at line 393 of file efm32zg_pcnt.h.

#define _PCNT_IEN_AUXOF_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_IEN

Definition at line 368 of file efm32zg_pcnt.h.

#define _PCNT_IEN_AUXOF_MASK   0x8UL

Bit mask for PCNT_AUXOF

Definition at line 367 of file efm32zg_pcnt.h.

#define _PCNT_IEN_AUXOF_SHIFT   3

Shift value for PCNT_AUXOF

Definition at line 366 of file efm32zg_pcnt.h.

#define _PCNT_IEN_DIRCNG_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_IEN

Definition at line 363 of file efm32zg_pcnt.h.

#define _PCNT_IEN_DIRCNG_MASK   0x4UL

Bit mask for PCNT_DIRCNG

Definition at line 362 of file efm32zg_pcnt.h.

#define _PCNT_IEN_DIRCNG_SHIFT   2

Shift value for PCNT_DIRCNG

Definition at line 361 of file efm32zg_pcnt.h.

#define _PCNT_IEN_MASK   0x0000001FUL

Mask for PCNT_IEN

Definition at line 349 of file efm32zg_pcnt.h.

#define _PCNT_IEN_OF_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_IEN

Definition at line 358 of file efm32zg_pcnt.h.

#define _PCNT_IEN_OF_MASK   0x2UL

Bit mask for PCNT_OF

Definition at line 357 of file efm32zg_pcnt.h.

#define _PCNT_IEN_OF_SHIFT   1

Shift value for PCNT_OF

Definition at line 356 of file efm32zg_pcnt.h.

#define _PCNT_IEN_RESETVALUE   0x00000000UL

Default value for PCNT_IEN

Definition at line 348 of file efm32zg_pcnt.h.

Referenced by PCNT_Reset().

#define _PCNT_IEN_TCC_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_IEN

Definition at line 373 of file efm32zg_pcnt.h.

#define _PCNT_IEN_TCC_MASK   0x10UL

Bit mask for PCNT_TCC

Definition at line 372 of file efm32zg_pcnt.h.

#define _PCNT_IEN_TCC_SHIFT   4

Shift value for PCNT_TCC

Definition at line 371 of file efm32zg_pcnt.h.

#define _PCNT_IEN_UF_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_IEN

Definition at line 353 of file efm32zg_pcnt.h.

#define _PCNT_IEN_UF_MASK   0x1UL

Bit mask for PCNT_UF

Definition at line 352 of file efm32zg_pcnt.h.

#define _PCNT_IEN_UF_SHIFT   0

Shift value for PCNT_UF

Definition at line 351 of file efm32zg_pcnt.h.

#define _PCNT_IF_AUXOF_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_IF

Definition at line 281 of file efm32zg_pcnt.h.

#define _PCNT_IF_AUXOF_MASK   0x8UL

Bit mask for PCNT_AUXOF

Definition at line 280 of file efm32zg_pcnt.h.

#define _PCNT_IF_AUXOF_SHIFT   3

Shift value for PCNT_AUXOF

Definition at line 279 of file efm32zg_pcnt.h.

#define _PCNT_IF_DIRCNG_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_IF

Definition at line 276 of file efm32zg_pcnt.h.

#define _PCNT_IF_DIRCNG_MASK   0x4UL

Bit mask for PCNT_DIRCNG

Definition at line 275 of file efm32zg_pcnt.h.

#define _PCNT_IF_DIRCNG_SHIFT   2

Shift value for PCNT_DIRCNG

Definition at line 274 of file efm32zg_pcnt.h.

#define _PCNT_IF_MASK   0x0000001FUL

Mask for PCNT_IF

Definition at line 262 of file efm32zg_pcnt.h.

#define _PCNT_IF_OF_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_IF

Definition at line 271 of file efm32zg_pcnt.h.

#define _PCNT_IF_OF_MASK   0x2UL

Bit mask for PCNT_OF

Definition at line 270 of file efm32zg_pcnt.h.

#define _PCNT_IF_OF_SHIFT   1

Shift value for PCNT_OF

Definition at line 269 of file efm32zg_pcnt.h.

#define _PCNT_IF_RESETVALUE   0x00000000UL

Default value for PCNT_IF

Definition at line 261 of file efm32zg_pcnt.h.

#define _PCNT_IF_TCC_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_IF

Definition at line 286 of file efm32zg_pcnt.h.

#define _PCNT_IF_TCC_MASK   0x10UL

Bit mask for PCNT_TCC

Definition at line 285 of file efm32zg_pcnt.h.

#define _PCNT_IF_TCC_SHIFT   4

Shift value for PCNT_TCC

Definition at line 284 of file efm32zg_pcnt.h.

#define _PCNT_IF_UF_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_IF

Definition at line 266 of file efm32zg_pcnt.h.

#define _PCNT_IF_UF_MASK   0x1UL

Bit mask for PCNT_UF

Definition at line 265 of file efm32zg_pcnt.h.

#define _PCNT_IF_UF_SHIFT   0

Shift value for PCNT_UF

Definition at line 264 of file efm32zg_pcnt.h.

#define _PCNT_IFC_AUXOF_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_IFC

Definition at line 339 of file efm32zg_pcnt.h.

#define _PCNT_IFC_AUXOF_MASK   0x8UL

Bit mask for PCNT_AUXOF

Definition at line 338 of file efm32zg_pcnt.h.

#define _PCNT_IFC_AUXOF_SHIFT   3

Shift value for PCNT_AUXOF

Definition at line 337 of file efm32zg_pcnt.h.

#define _PCNT_IFC_DIRCNG_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_IFC

Definition at line 334 of file efm32zg_pcnt.h.

#define _PCNT_IFC_DIRCNG_MASK   0x4UL

Bit mask for PCNT_DIRCNG

Definition at line 333 of file efm32zg_pcnt.h.

#define _PCNT_IFC_DIRCNG_SHIFT   2

Shift value for PCNT_DIRCNG

Definition at line 332 of file efm32zg_pcnt.h.

#define _PCNT_IFC_MASK   0x0000001FUL

Mask for PCNT_IFC

Definition at line 320 of file efm32zg_pcnt.h.

Referenced by PCNT_Reset().

#define _PCNT_IFC_OF_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_IFC

Definition at line 329 of file efm32zg_pcnt.h.

#define _PCNT_IFC_OF_MASK   0x2UL

Bit mask for PCNT_OF

Definition at line 328 of file efm32zg_pcnt.h.

#define _PCNT_IFC_OF_SHIFT   1

Shift value for PCNT_OF

Definition at line 327 of file efm32zg_pcnt.h.

#define _PCNT_IFC_RESETVALUE   0x00000000UL

Default value for PCNT_IFC

Definition at line 319 of file efm32zg_pcnt.h.

#define _PCNT_IFC_TCC_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_IFC

Definition at line 344 of file efm32zg_pcnt.h.

#define _PCNT_IFC_TCC_MASK   0x10UL

Bit mask for PCNT_TCC

Definition at line 343 of file efm32zg_pcnt.h.

#define _PCNT_IFC_TCC_SHIFT   4

Shift value for PCNT_TCC

Definition at line 342 of file efm32zg_pcnt.h.

#define _PCNT_IFC_UF_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_IFC

Definition at line 324 of file efm32zg_pcnt.h.

#define _PCNT_IFC_UF_MASK   0x1UL

Bit mask for PCNT_UF

Definition at line 323 of file efm32zg_pcnt.h.

#define _PCNT_IFC_UF_SHIFT   0

Shift value for PCNT_UF

Definition at line 322 of file efm32zg_pcnt.h.

#define _PCNT_IFS_AUXOF_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_IFS

Definition at line 310 of file efm32zg_pcnt.h.

#define _PCNT_IFS_AUXOF_MASK   0x8UL

Bit mask for PCNT_AUXOF

Definition at line 309 of file efm32zg_pcnt.h.

#define _PCNT_IFS_AUXOF_SHIFT   3

Shift value for PCNT_AUXOF

Definition at line 308 of file efm32zg_pcnt.h.

#define _PCNT_IFS_DIRCNG_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_IFS

Definition at line 305 of file efm32zg_pcnt.h.

#define _PCNT_IFS_DIRCNG_MASK   0x4UL

Bit mask for PCNT_DIRCNG

Definition at line 304 of file efm32zg_pcnt.h.

#define _PCNT_IFS_DIRCNG_SHIFT   2

Shift value for PCNT_DIRCNG

Definition at line 303 of file efm32zg_pcnt.h.

#define _PCNT_IFS_MASK   0x0000001FUL

Mask for PCNT_IFS

Definition at line 291 of file efm32zg_pcnt.h.

#define _PCNT_IFS_OF_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_IFS

Definition at line 300 of file efm32zg_pcnt.h.

#define _PCNT_IFS_OF_MASK   0x2UL

Bit mask for PCNT_OF

Definition at line 299 of file efm32zg_pcnt.h.

#define _PCNT_IFS_OF_SHIFT   1

Shift value for PCNT_OF

Definition at line 298 of file efm32zg_pcnt.h.

#define _PCNT_IFS_RESETVALUE   0x00000000UL

Default value for PCNT_IFS

Definition at line 290 of file efm32zg_pcnt.h.

#define _PCNT_IFS_TCC_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_IFS

Definition at line 315 of file efm32zg_pcnt.h.

#define _PCNT_IFS_TCC_MASK   0x10UL

Bit mask for PCNT_TCC

Definition at line 314 of file efm32zg_pcnt.h.

#define _PCNT_IFS_TCC_SHIFT   4

Shift value for PCNT_TCC

Definition at line 313 of file efm32zg_pcnt.h.

#define _PCNT_IFS_UF_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_IFS

Definition at line 295 of file efm32zg_pcnt.h.

#define _PCNT_IFS_UF_MASK   0x1UL

Bit mask for PCNT_UF

Definition at line 294 of file efm32zg_pcnt.h.

#define _PCNT_IFS_UF_SHIFT   0

Shift value for PCNT_UF

Definition at line 293 of file efm32zg_pcnt.h.

#define _PCNT_INPUT_MASK   0x000004D3UL

Mask for PCNT_INPUT

Definition at line 434 of file efm32zg_pcnt.h.

#define _PCNT_INPUT_RESETVALUE   0x00000000UL

Default value for PCNT_INPUT

Definition at line 433 of file efm32zg_pcnt.h.

#define _PCNT_INPUT_S0PRSEN_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_INPUT

Definition at line 450 of file efm32zg_pcnt.h.

#define _PCNT_INPUT_S0PRSEN_MASK   0x10UL

Bit mask for PCNT_S0PRSEN

Definition at line 449 of file efm32zg_pcnt.h.

#define _PCNT_INPUT_S0PRSEN_SHIFT   4

Shift value for PCNT_S0PRSEN

Definition at line 448 of file efm32zg_pcnt.h.

Referenced by PCNT_PRSInputEnable().

#define _PCNT_INPUT_S0PRSSEL_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_INPUT

Definition at line 437 of file efm32zg_pcnt.h.

#define _PCNT_INPUT_S0PRSSEL_MASK   0x3UL

Bit mask for PCNT_S0PRSSEL

Definition at line 436 of file efm32zg_pcnt.h.

Referenced by PCNT_Init().

#define _PCNT_INPUT_S0PRSSEL_PRSCH0   0x00000000UL

Mode PRSCH0 for PCNT_INPUT

Definition at line 438 of file efm32zg_pcnt.h.

#define _PCNT_INPUT_S0PRSSEL_PRSCH1   0x00000001UL

Mode PRSCH1 for PCNT_INPUT

Definition at line 439 of file efm32zg_pcnt.h.

#define _PCNT_INPUT_S0PRSSEL_PRSCH2   0x00000002UL

Mode PRSCH2 for PCNT_INPUT

Definition at line 440 of file efm32zg_pcnt.h.

#define _PCNT_INPUT_S0PRSSEL_PRSCH3   0x00000003UL

Mode PRSCH3 for PCNT_INPUT

Definition at line 441 of file efm32zg_pcnt.h.

#define _PCNT_INPUT_S0PRSSEL_SHIFT   0

Shift value for PCNT_S0PRSSEL

Definition at line 435 of file efm32zg_pcnt.h.

Referenced by PCNT_Init().

#define _PCNT_INPUT_S1PRSEN_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_INPUT

Definition at line 467 of file efm32zg_pcnt.h.

#define _PCNT_INPUT_S1PRSEN_MASK   0x400UL

Bit mask for PCNT_S1PRSEN

Definition at line 466 of file efm32zg_pcnt.h.

#define _PCNT_INPUT_S1PRSEN_SHIFT   10

Shift value for PCNT_S1PRSEN

Definition at line 465 of file efm32zg_pcnt.h.

Referenced by PCNT_PRSInputEnable().

#define _PCNT_INPUT_S1PRSSEL_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_INPUT

Definition at line 454 of file efm32zg_pcnt.h.

#define _PCNT_INPUT_S1PRSSEL_MASK   0xC0UL

Bit mask for PCNT_S1PRSSEL

Definition at line 453 of file efm32zg_pcnt.h.

Referenced by PCNT_Init().

#define _PCNT_INPUT_S1PRSSEL_PRSCH0   0x00000000UL

Mode PRSCH0 for PCNT_INPUT

Definition at line 455 of file efm32zg_pcnt.h.

#define _PCNT_INPUT_S1PRSSEL_PRSCH1   0x00000001UL

Mode PRSCH1 for PCNT_INPUT

Definition at line 456 of file efm32zg_pcnt.h.

#define _PCNT_INPUT_S1PRSSEL_PRSCH2   0x00000002UL

Mode PRSCH2 for PCNT_INPUT

Definition at line 457 of file efm32zg_pcnt.h.

#define _PCNT_INPUT_S1PRSSEL_PRSCH3   0x00000003UL

Mode PRSCH3 for PCNT_INPUT

Definition at line 458 of file efm32zg_pcnt.h.

#define _PCNT_INPUT_S1PRSSEL_SHIFT   6

Shift value for PCNT_S1PRSSEL

Definition at line 452 of file efm32zg_pcnt.h.

Referenced by PCNT_Init().

#define _PCNT_ROUTE_LOCATION_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_ROUTE

Definition at line 382 of file efm32zg_pcnt.h.

#define _PCNT_ROUTE_LOCATION_LOC0   0x00000000UL

Mode LOC0 for PCNT_ROUTE

Definition at line 381 of file efm32zg_pcnt.h.

#define _PCNT_ROUTE_LOCATION_LOC1   0x00000001UL

Mode LOC1 for PCNT_ROUTE

Definition at line 383 of file efm32zg_pcnt.h.

#define _PCNT_ROUTE_LOCATION_LOC2   0x00000002UL

Mode LOC2 for PCNT_ROUTE

Definition at line 384 of file efm32zg_pcnt.h.

#define _PCNT_ROUTE_LOCATION_LOC3   0x00000003UL

Mode LOC3 for PCNT_ROUTE

Definition at line 385 of file efm32zg_pcnt.h.

#define _PCNT_ROUTE_LOCATION_MASK   0x700UL

Bit mask for PCNT_LOCATION

Definition at line 380 of file efm32zg_pcnt.h.

#define _PCNT_ROUTE_LOCATION_SHIFT   8

Shift value for PCNT_LOCATION

Definition at line 379 of file efm32zg_pcnt.h.

#define _PCNT_ROUTE_MASK   0x00000700UL

Mask for PCNT_ROUTE

Definition at line 378 of file efm32zg_pcnt.h.

#define _PCNT_ROUTE_RESETVALUE   0x00000000UL

Default value for PCNT_ROUTE

Definition at line 377 of file efm32zg_pcnt.h.

#define _PCNT_STATUS_DIR_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_STATUS

Definition at line 229 of file efm32zg_pcnt.h.

#define _PCNT_STATUS_DIR_DOWN   0x00000001UL

Mode DOWN for PCNT_STATUS

Definition at line 231 of file efm32zg_pcnt.h.

#define _PCNT_STATUS_DIR_MASK   0x1UL

Bit mask for PCNT_DIR

Definition at line 228 of file efm32zg_pcnt.h.

#define _PCNT_STATUS_DIR_SHIFT   0

Shift value for PCNT_DIR

Definition at line 227 of file efm32zg_pcnt.h.

#define _PCNT_STATUS_DIR_UP   0x00000000UL

Mode UP for PCNT_STATUS

Definition at line 230 of file efm32zg_pcnt.h.

#define _PCNT_STATUS_MASK   0x00000001UL

Mask for PCNT_STATUS

Definition at line 225 of file efm32zg_pcnt.h.

#define _PCNT_STATUS_RESETVALUE   0x00000000UL

Default value for PCNT_STATUS

Definition at line 224 of file efm32zg_pcnt.h.

#define _PCNT_SYNCBUSY_CMD_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_SYNCBUSY

Definition at line 416 of file efm32zg_pcnt.h.

#define _PCNT_SYNCBUSY_CMD_MASK   0x2UL

Bit mask for PCNT_CMD

Definition at line 415 of file efm32zg_pcnt.h.

#define _PCNT_SYNCBUSY_CMD_SHIFT   1

Shift value for PCNT_CMD

Definition at line 414 of file efm32zg_pcnt.h.

#define _PCNT_SYNCBUSY_CTRL_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_SYNCBUSY

Definition at line 411 of file efm32zg_pcnt.h.

#define _PCNT_SYNCBUSY_CTRL_MASK   0x1UL

Bit mask for PCNT_CTRL

Definition at line 410 of file efm32zg_pcnt.h.

#define _PCNT_SYNCBUSY_CTRL_SHIFT   0

Shift value for PCNT_CTRL

Definition at line 409 of file efm32zg_pcnt.h.

#define _PCNT_SYNCBUSY_MASK   0x00000007UL

Mask for PCNT_SYNCBUSY

Definition at line 407 of file efm32zg_pcnt.h.

#define _PCNT_SYNCBUSY_RESETVALUE   0x00000000UL

Default value for PCNT_SYNCBUSY

Definition at line 406 of file efm32zg_pcnt.h.

#define _PCNT_SYNCBUSY_TOPB_DEFAULT   0x00000000UL

Mode DEFAULT for PCNT_SYNCBUSY

Definition at line 421 of file efm32zg_pcnt.h.

#define _PCNT_SYNCBUSY_TOPB_MASK   0x4UL

Bit mask for PCNT_TOPB

Definition at line 420 of file efm32zg_pcnt.h.

#define _PCNT_SYNCBUSY_TOPB_SHIFT   2

Shift value for PCNT_TOPB

Definition at line 419 of file efm32zg_pcnt.h.

#define _PCNT_TOP_MASK   0x0000FFFFUL

Mask for PCNT_TOP

Definition at line 246 of file efm32zg_pcnt.h.

#define _PCNT_TOP_RESETVALUE   0x000000FFUL

Default value for PCNT_TOP

Definition at line 245 of file efm32zg_pcnt.h.

#define _PCNT_TOP_TOP_DEFAULT   0x000000FFUL

Mode DEFAULT for PCNT_TOP

Definition at line 249 of file efm32zg_pcnt.h.

#define _PCNT_TOP_TOP_MASK   0xFFFFUL

Bit mask for PCNT_TOP

Definition at line 248 of file efm32zg_pcnt.h.

#define _PCNT_TOP_TOP_SHIFT   0

Shift value for PCNT_TOP

Definition at line 247 of file efm32zg_pcnt.h.

#define _PCNT_TOPB_MASK   0x0000FFFFUL

Mask for PCNT_TOPB

Definition at line 254 of file efm32zg_pcnt.h.

#define _PCNT_TOPB_RESETVALUE   0x000000FFUL

Default value for PCNT_TOPB

Definition at line 253 of file efm32zg_pcnt.h.

Referenced by PCNT_Reset().

#define _PCNT_TOPB_TOPB_DEFAULT   0x000000FFUL

Mode DEFAULT for PCNT_TOPB

Definition at line 257 of file efm32zg_pcnt.h.

#define _PCNT_TOPB_TOPB_MASK   0xFFFFUL

Bit mask for PCNT_TOPB

Definition at line 256 of file efm32zg_pcnt.h.

#define _PCNT_TOPB_TOPB_SHIFT   0

Shift value for PCNT_TOPB

Definition at line 255 of file efm32zg_pcnt.h.

#define PCNT_AUXCNT_AUXCNT_DEFAULT   (_PCNT_AUXCNT_AUXCNT_DEFAULT << 0)

Shifted mode DEFAULT for PCNT_AUXCNT

Definition at line 430 of file efm32zg_pcnt.h.

#define PCNT_CMD_LCNTIM   (0x1UL << 0)

Load CNT Immediately

Definition at line 212 of file efm32zg_pcnt.h.

Referenced by PCNT_CounterTopSet().

#define PCNT_CMD_LCNTIM_DEFAULT   (_PCNT_CMD_LCNTIM_DEFAULT << 0)

Shifted mode DEFAULT for PCNT_CMD

Definition at line 216 of file efm32zg_pcnt.h.

#define PCNT_CMD_LTOPBIM   (0x1UL << 1)

Load TOPB Immediately

Definition at line 217 of file efm32zg_pcnt.h.

Referenced by PCNT_CounterTopSet(), PCNT_Init(), and PCNT_TopSet().

#define PCNT_CMD_LTOPBIM_DEFAULT   (_PCNT_CMD_LTOPBIM_DEFAULT << 1)

Shifted mode DEFAULT for PCNT_CMD

Definition at line 221 of file efm32zg_pcnt.h.

#define PCNT_CNT_CNT_DEFAULT   (_PCNT_CNT_CNT_DEFAULT << 0)

Shifted mode DEFAULT for PCNT_CNT

Definition at line 242 of file efm32zg_pcnt.h.

#define PCNT_CTRL_AUXCNTEV_BOTH   (_PCNT_CTRL_AUXCNTEV_BOTH << 14)

Shifted mode BOTH for PCNT_CTRL

Definition at line 149 of file efm32zg_pcnt.h.

#define PCNT_CTRL_AUXCNTEV_DEFAULT   (_PCNT_CTRL_AUXCNTEV_DEFAULT << 14)

Shifted mode DEFAULT for PCNT_CTRL

Definition at line 145 of file efm32zg_pcnt.h.

#define PCNT_CTRL_AUXCNTEV_DOWN   (_PCNT_CTRL_AUXCNTEV_DOWN << 14)

Shifted mode DOWN for PCNT_CTRL

Definition at line 148 of file efm32zg_pcnt.h.

#define PCNT_CTRL_AUXCNTEV_NONE   (_PCNT_CTRL_AUXCNTEV_NONE << 14)

Shifted mode NONE for PCNT_CTRL

Definition at line 146 of file efm32zg_pcnt.h.

#define PCNT_CTRL_AUXCNTEV_UP   (_PCNT_CTRL_AUXCNTEV_UP << 14)

Shifted mode UP for PCNT_CTRL

Definition at line 147 of file efm32zg_pcnt.h.

#define PCNT_CTRL_AUXCNTRSTEN   (0x1UL << 6)

Enable AUXCNT Reset

Definition at line 111 of file efm32zg_pcnt.h.

#define PCNT_CTRL_AUXCNTRSTEN_DEFAULT   (_PCNT_CTRL_AUXCNTRSTEN_DEFAULT << 6)

Shifted mode DEFAULT for PCNT_CTRL

Definition at line 115 of file efm32zg_pcnt.h.

#define PCNT_CTRL_CNTDIR   (0x1UL << 2)

Non-Quadrature Mode Counter Direction Control

Definition at line 83 of file efm32zg_pcnt.h.

#define PCNT_CTRL_CNTDIR_DEFAULT   (_PCNT_CTRL_CNTDIR_DEFAULT << 2)

Shifted mode DEFAULT for PCNT_CTRL

Definition at line 89 of file efm32zg_pcnt.h.

#define PCNT_CTRL_CNTDIR_DOWN   (_PCNT_CTRL_CNTDIR_DOWN << 2)

Shifted mode DOWN for PCNT_CTRL

Definition at line 91 of file efm32zg_pcnt.h.

Referenced by PCNT_Init().

#define PCNT_CTRL_CNTDIR_UP   (_PCNT_CTRL_CNTDIR_UP << 2)

Shifted mode UP for PCNT_CTRL

Definition at line 90 of file efm32zg_pcnt.h.

#define PCNT_CTRL_CNTEV_BOTH   (_PCNT_CTRL_CNTEV_BOTH << 10)

Shifted mode BOTH for PCNT_CTRL

Definition at line 134 of file efm32zg_pcnt.h.

#define PCNT_CTRL_CNTEV_DEFAULT   (_PCNT_CTRL_CNTEV_DEFAULT << 10)

Shifted mode DEFAULT for PCNT_CTRL

Definition at line 133 of file efm32zg_pcnt.h.

#define PCNT_CTRL_CNTEV_DOWN   (_PCNT_CTRL_CNTEV_DOWN << 10)

Shifted mode DOWN for PCNT_CTRL

Definition at line 136 of file efm32zg_pcnt.h.

#define PCNT_CTRL_CNTEV_NONE   (_PCNT_CTRL_CNTEV_NONE << 10)

Shifted mode NONE for PCNT_CTRL

Definition at line 137 of file efm32zg_pcnt.h.

#define PCNT_CTRL_CNTEV_UP   (_PCNT_CTRL_CNTEV_UP << 10)

Shifted mode UP for PCNT_CTRL

Definition at line 135 of file efm32zg_pcnt.h.

#define PCNT_CTRL_EDGE   (0x1UL << 3)

Edge Select

Definition at line 92 of file efm32zg_pcnt.h.

#define PCNT_CTRL_EDGE_DEFAULT   (_PCNT_CTRL_EDGE_DEFAULT << 3)

Shifted mode DEFAULT for PCNT_CTRL

Definition at line 98 of file efm32zg_pcnt.h.

#define PCNT_CTRL_EDGE_NEG   (_PCNT_CTRL_EDGE_NEG << 3)

Shifted mode NEG for PCNT_CTRL

Definition at line 100 of file efm32zg_pcnt.h.

Referenced by PCNT_Init().

#define PCNT_CTRL_EDGE_POS   (_PCNT_CTRL_EDGE_POS << 3)

Shifted mode POS for PCNT_CTRL

Definition at line 99 of file efm32zg_pcnt.h.

#define PCNT_CTRL_FILT   (0x1UL << 4)

Enable Digital Pulse Width Filter

Definition at line 101 of file efm32zg_pcnt.h.

Referenced by PCNT_Init().

#define PCNT_CTRL_FILT_DEFAULT   (_PCNT_CTRL_FILT_DEFAULT << 4)

Shifted mode DEFAULT for PCNT_CTRL

Definition at line 105 of file efm32zg_pcnt.h.

#define PCNT_CTRL_HYST   (0x1UL << 8)

Enable Hysteresis

Definition at line 116 of file efm32zg_pcnt.h.

Referenced by PCNT_Init().

#define PCNT_CTRL_HYST_DEFAULT   (_PCNT_CTRL_HYST_DEFAULT << 8)

Shifted mode DEFAULT for PCNT_CTRL

Definition at line 120 of file efm32zg_pcnt.h.

#define PCNT_CTRL_MODE_DEFAULT   (_PCNT_CTRL_MODE_DEFAULT << 0)

Shifted mode DEFAULT for PCNT_CTRL

Definition at line 78 of file efm32zg_pcnt.h.

#define PCNT_CTRL_MODE_DISABLE   (_PCNT_CTRL_MODE_DISABLE << 0)

Shifted mode DISABLE for PCNT_CTRL

Definition at line 79 of file efm32zg_pcnt.h.

Referenced by PCNT_CounterTopSet(), and PCNT_Init().

#define PCNT_CTRL_MODE_EXTCLKQUAD   (_PCNT_CTRL_MODE_EXTCLKQUAD << 0)

Shifted mode EXTCLKQUAD for PCNT_CTRL

Definition at line 82 of file efm32zg_pcnt.h.

#define PCNT_CTRL_MODE_EXTCLKSINGLE   (_PCNT_CTRL_MODE_EXTCLKSINGLE << 0)

Shifted mode EXTCLKSINGLE for PCNT_CTRL

Definition at line 81 of file efm32zg_pcnt.h.

#define PCNT_CTRL_MODE_OVSSINGLE   (_PCNT_CTRL_MODE_OVSSINGLE << 0)

Shifted mode OVSSINGLE for PCNT_CTRL

Definition at line 80 of file efm32zg_pcnt.h.

#define PCNT_CTRL_PRSGATEEN   (0x1UL << 27)

PRS gate enable

Definition at line 182 of file efm32zg_pcnt.h.

#define PCNT_CTRL_PRSGATEEN_DEFAULT   (_PCNT_CTRL_PRSGATEEN_DEFAULT << 27)

Shifted mode DEFAULT for PCNT_CTRL

Definition at line 186 of file efm32zg_pcnt.h.

#define PCNT_CTRL_RSTEN   (0x1UL << 5)

Enable PCNT Clock Domain Reset

Definition at line 106 of file efm32zg_pcnt.h.

Referenced by PCNT_Init(), and PCNT_Reset().

#define PCNT_CTRL_RSTEN_DEFAULT   (_PCNT_CTRL_RSTEN_DEFAULT << 5)

Shifted mode DEFAULT for PCNT_CTRL

Definition at line 110 of file efm32zg_pcnt.h.

#define PCNT_CTRL_S1CDIR   (0x1UL << 9)

Count direction determined by S1

Definition at line 121 of file efm32zg_pcnt.h.

Referenced by PCNT_Init().

#define PCNT_CTRL_S1CDIR_DEFAULT   (_PCNT_CTRL_S1CDIR_DEFAULT << 9)

Shifted mode DEFAULT for PCNT_CTRL

Definition at line 125 of file efm32zg_pcnt.h.

#define PCNT_CTRL_TCCCOMP_DEFAULT   (_PCNT_CTRL_TCCCOMP_DEFAULT << 25)

Shifted mode DEFAULT for PCNT_CTRL

Definition at line 178 of file efm32zg_pcnt.h.

#define PCNT_CTRL_TCCCOMP_GTOE   (_PCNT_CTRL_TCCCOMP_GTOE << 25)

Shifted mode GTOE for PCNT_CTRL

Definition at line 180 of file efm32zg_pcnt.h.

#define PCNT_CTRL_TCCCOMP_LTOE   (_PCNT_CTRL_TCCCOMP_LTOE << 25)

Shifted mode LTOE for PCNT_CTRL

Definition at line 179 of file efm32zg_pcnt.h.

#define PCNT_CTRL_TCCCOMP_RANGE   (_PCNT_CTRL_TCCCOMP_RANGE << 25)

Shifted mode RANGE for PCNT_CTRL

Definition at line 181 of file efm32zg_pcnt.h.

#define PCNT_CTRL_TCCMODE_DEFAULT   (_PCNT_CTRL_TCCMODE_DEFAULT << 18)

Shifted mode DEFAULT for PCNT_CTRL

Definition at line 156 of file efm32zg_pcnt.h.

#define PCNT_CTRL_TCCMODE_DISABLED   (_PCNT_CTRL_TCCMODE_DISABLED << 18)

Shifted mode DISABLED for PCNT_CTRL

Definition at line 157 of file efm32zg_pcnt.h.

#define PCNT_CTRL_TCCMODE_LFA   (_PCNT_CTRL_TCCMODE_LFA << 18)

Shifted mode LFA for PCNT_CTRL

Definition at line 158 of file efm32zg_pcnt.h.

#define PCNT_CTRL_TCCMODE_PRS   (_PCNT_CTRL_TCCMODE_PRS << 18)

Shifted mode PRS for PCNT_CTRL

Definition at line 159 of file efm32zg_pcnt.h.

#define PCNT_CTRL_TCCPRESC_DEFAULT   (_PCNT_CTRL_TCCPRESC_DEFAULT << 22)

Shifted mode DEFAULT for PCNT_CTRL

Definition at line 167 of file efm32zg_pcnt.h.

#define PCNT_CTRL_TCCPRESC_DIV1   (_PCNT_CTRL_TCCPRESC_DIV1 << 22)

Shifted mode DIV1 for PCNT_CTRL

Definition at line 168 of file efm32zg_pcnt.h.

#define PCNT_CTRL_TCCPRESC_DIV2   (_PCNT_CTRL_TCCPRESC_DIV2 << 22)

Shifted mode DIV2 for PCNT_CTRL

Definition at line 169 of file efm32zg_pcnt.h.

#define PCNT_CTRL_TCCPRESC_DIV4   (_PCNT_CTRL_TCCPRESC_DIV4 << 22)

Shifted mode DIV4 for PCNT_CTRL

Definition at line 170 of file efm32zg_pcnt.h.

#define PCNT_CTRL_TCCPRESC_DIV8   (_PCNT_CTRL_TCCPRESC_DIV8 << 22)

Shifted mode DIV8 for PCNT_CTRL

Definition at line 171 of file efm32zg_pcnt.h.

#define PCNT_CTRL_TCCPRSPOL   (0x1UL << 28)

TCC PRS polarity select

Definition at line 187 of file efm32zg_pcnt.h.

#define PCNT_CTRL_TCCPRSPOL_DEFAULT   (_PCNT_CTRL_TCCPRSPOL_DEFAULT << 28)

Shifted mode DEFAULT for PCNT_CTRL

Definition at line 193 of file efm32zg_pcnt.h.

#define PCNT_CTRL_TCCPRSPOL_FALLING   (_PCNT_CTRL_TCCPRSPOL_FALLING << 28)

Shifted mode FALLING for PCNT_CTRL

Definition at line 195 of file efm32zg_pcnt.h.

#define PCNT_CTRL_TCCPRSPOL_RISING   (_PCNT_CTRL_TCCPRSPOL_RISING << 28)

Shifted mode RISING for PCNT_CTRL

Definition at line 194 of file efm32zg_pcnt.h.

#define PCNT_CTRL_TCCPRSSEL_DEFAULT   (_PCNT_CTRL_TCCPRSSEL_DEFAULT << 29)

Shifted mode DEFAULT for PCNT_CTRL

Definition at line 203 of file efm32zg_pcnt.h.

#define PCNT_CTRL_TCCPRSSEL_PRSCH0   (_PCNT_CTRL_TCCPRSSEL_PRSCH0 << 29)

Shifted mode PRSCH0 for PCNT_CTRL

Definition at line 204 of file efm32zg_pcnt.h.

#define PCNT_CTRL_TCCPRSSEL_PRSCH1   (_PCNT_CTRL_TCCPRSSEL_PRSCH1 << 29)

Shifted mode PRSCH1 for PCNT_CTRL

Definition at line 205 of file efm32zg_pcnt.h.

#define PCNT_CTRL_TCCPRSSEL_PRSCH2   (_PCNT_CTRL_TCCPRSSEL_PRSCH2 << 29)

Shifted mode PRSCH2 for PCNT_CTRL

Definition at line 206 of file efm32zg_pcnt.h.

#define PCNT_CTRL_TCCPRSSEL_PRSCH3   (_PCNT_CTRL_TCCPRSSEL_PRSCH3 << 29)

Shifted mode PRSCH3 for PCNT_CTRL

Definition at line 207 of file efm32zg_pcnt.h.

#define PCNT_FREEZE_REGFREEZE   (0x1UL << 0)

Register Update Freeze

Definition at line 395 of file efm32zg_pcnt.h.

Referenced by PCNT_FreezeEnable().

#define PCNT_FREEZE_REGFREEZE_DEFAULT   (_PCNT_FREEZE_REGFREEZE_DEFAULT << 0)

Shifted mode DEFAULT for PCNT_FREEZE

Definition at line 401 of file efm32zg_pcnt.h.

#define PCNT_FREEZE_REGFREEZE_FREEZE   (_PCNT_FREEZE_REGFREEZE_FREEZE << 0)

Shifted mode FREEZE for PCNT_FREEZE

Definition at line 403 of file efm32zg_pcnt.h.

#define PCNT_FREEZE_REGFREEZE_UPDATE   (_PCNT_FREEZE_REGFREEZE_UPDATE << 0)

Shifted mode UPDATE for PCNT_FREEZE

Definition at line 402 of file efm32zg_pcnt.h.

#define PCNT_IEN_AUXOF   (0x1UL << 3)

Auxiliary Overflow Interrupt Enable

Definition at line 365 of file efm32zg_pcnt.h.

#define PCNT_IEN_AUXOF_DEFAULT   (_PCNT_IEN_AUXOF_DEFAULT << 3)

Shifted mode DEFAULT for PCNT_IEN

Definition at line 369 of file efm32zg_pcnt.h.

#define PCNT_IEN_DIRCNG   (0x1UL << 2)

Direction Change Detect Interrupt Enable

Definition at line 360 of file efm32zg_pcnt.h.

#define PCNT_IEN_DIRCNG_DEFAULT   (_PCNT_IEN_DIRCNG_DEFAULT << 2)

Shifted mode DEFAULT for PCNT_IEN

Definition at line 364 of file efm32zg_pcnt.h.

#define PCNT_IEN_OF   (0x1UL << 1)

Overflow Interrupt Enable

Definition at line 355 of file efm32zg_pcnt.h.

#define PCNT_IEN_OF_DEFAULT   (_PCNT_IEN_OF_DEFAULT << 1)

Shifted mode DEFAULT for PCNT_IEN

Definition at line 359 of file efm32zg_pcnt.h.

#define PCNT_IEN_TCC   (0x1UL << 4)

Triggered compare Interrupt Enable

Definition at line 370 of file efm32zg_pcnt.h.

#define PCNT_IEN_TCC_DEFAULT   (_PCNT_IEN_TCC_DEFAULT << 4)

Shifted mode DEFAULT for PCNT_IEN

Definition at line 374 of file efm32zg_pcnt.h.

#define PCNT_IEN_UF   (0x1UL << 0)

Underflow Interrupt Enable

Definition at line 350 of file efm32zg_pcnt.h.

#define PCNT_IEN_UF_DEFAULT   (_PCNT_IEN_UF_DEFAULT << 0)

Shifted mode DEFAULT for PCNT_IEN

Definition at line 354 of file efm32zg_pcnt.h.

#define PCNT_IF_AUXOF   (0x1UL << 3)

Overflow Interrupt Read Flag

Definition at line 278 of file efm32zg_pcnt.h.

#define PCNT_IF_AUXOF_DEFAULT   (_PCNT_IF_AUXOF_DEFAULT << 3)

Shifted mode DEFAULT for PCNT_IF

Definition at line 282 of file efm32zg_pcnt.h.

#define PCNT_IF_DIRCNG   (0x1UL << 2)

Direction Change Detect Interrupt Flag

Definition at line 273 of file efm32zg_pcnt.h.

#define PCNT_IF_DIRCNG_DEFAULT   (_PCNT_IF_DIRCNG_DEFAULT << 2)

Shifted mode DEFAULT for PCNT_IF

Definition at line 277 of file efm32zg_pcnt.h.

#define PCNT_IF_OF   (0x1UL << 1)

Overflow Interrupt Read Flag

Definition at line 268 of file efm32zg_pcnt.h.

#define PCNT_IF_OF_DEFAULT   (_PCNT_IF_OF_DEFAULT << 1)

Shifted mode DEFAULT for PCNT_IF

Definition at line 272 of file efm32zg_pcnt.h.

#define PCNT_IF_TCC   (0x1UL << 4)

Triggered compare Interrupt Read Flag

Definition at line 283 of file efm32zg_pcnt.h.

#define PCNT_IF_TCC_DEFAULT   (_PCNT_IF_TCC_DEFAULT << 4)

Shifted mode DEFAULT for PCNT_IF

Definition at line 287 of file efm32zg_pcnt.h.

#define PCNT_IF_UF   (0x1UL << 0)

Underflow Interrupt Read Flag

Definition at line 263 of file efm32zg_pcnt.h.

#define PCNT_IF_UF_DEFAULT   (_PCNT_IF_UF_DEFAULT << 0)

Shifted mode DEFAULT for PCNT_IF

Definition at line 267 of file efm32zg_pcnt.h.

#define PCNT_IFC_AUXOF   (0x1UL << 3)

Auxiliary Overflow Interrupt Clear

Definition at line 336 of file efm32zg_pcnt.h.

#define PCNT_IFC_AUXOF_DEFAULT   (_PCNT_IFC_AUXOF_DEFAULT << 3)

Shifted mode DEFAULT for PCNT_IFC

Definition at line 340 of file efm32zg_pcnt.h.

#define PCNT_IFC_DIRCNG   (0x1UL << 2)

Direction Change Detect Interrupt Clear

Definition at line 331 of file efm32zg_pcnt.h.

#define PCNT_IFC_DIRCNG_DEFAULT   (_PCNT_IFC_DIRCNG_DEFAULT << 2)

Shifted mode DEFAULT for PCNT_IFC

Definition at line 335 of file efm32zg_pcnt.h.

#define PCNT_IFC_OF   (0x1UL << 1)

Overflow Interrupt Clear

Definition at line 326 of file efm32zg_pcnt.h.

#define PCNT_IFC_OF_DEFAULT   (_PCNT_IFC_OF_DEFAULT << 1)

Shifted mode DEFAULT for PCNT_IFC

Definition at line 330 of file efm32zg_pcnt.h.

#define PCNT_IFC_TCC   (0x1UL << 4)

Triggered compare Interrupt Clear

Definition at line 341 of file efm32zg_pcnt.h.

#define PCNT_IFC_TCC_DEFAULT   (_PCNT_IFC_TCC_DEFAULT << 4)

Shifted mode DEFAULT for PCNT_IFC

Definition at line 345 of file efm32zg_pcnt.h.

#define PCNT_IFC_UF   (0x1UL << 0)

Underflow Interrupt Clear

Definition at line 321 of file efm32zg_pcnt.h.

#define PCNT_IFC_UF_DEFAULT   (_PCNT_IFC_UF_DEFAULT << 0)

Shifted mode DEFAULT for PCNT_IFC

Definition at line 325 of file efm32zg_pcnt.h.

#define PCNT_IFS_AUXOF   (0x1UL << 3)

Auxiliary Overflow Interrupt Set

Definition at line 307 of file efm32zg_pcnt.h.

#define PCNT_IFS_AUXOF_DEFAULT   (_PCNT_IFS_AUXOF_DEFAULT << 3)

Shifted mode DEFAULT for PCNT_IFS

Definition at line 311 of file efm32zg_pcnt.h.

#define PCNT_IFS_DIRCNG   (0x1UL << 2)

Direction Change Detect Interrupt Set

Definition at line 302 of file efm32zg_pcnt.h.

#define PCNT_IFS_DIRCNG_DEFAULT   (_PCNT_IFS_DIRCNG_DEFAULT << 2)

Shifted mode DEFAULT for PCNT_IFS

Definition at line 306 of file efm32zg_pcnt.h.

#define PCNT_IFS_OF   (0x1UL << 1)

Overflow Interrupt Set

Definition at line 297 of file efm32zg_pcnt.h.

#define PCNT_IFS_OF_DEFAULT   (_PCNT_IFS_OF_DEFAULT << 1)

Shifted mode DEFAULT for PCNT_IFS

Definition at line 301 of file efm32zg_pcnt.h.

#define PCNT_IFS_TCC   (0x1UL << 4)

Triggered compare Interrupt Set

Definition at line 312 of file efm32zg_pcnt.h.

#define PCNT_IFS_TCC_DEFAULT   (_PCNT_IFS_TCC_DEFAULT << 4)

Shifted mode DEFAULT for PCNT_IFS

Definition at line 316 of file efm32zg_pcnt.h.

#define PCNT_IFS_UF   (0x1UL << 0)

Underflow interrupt set

Definition at line 292 of file efm32zg_pcnt.h.

#define PCNT_IFS_UF_DEFAULT   (_PCNT_IFS_UF_DEFAULT << 0)

Shifted mode DEFAULT for PCNT_IFS

Definition at line 296 of file efm32zg_pcnt.h.

#define PCNT_INPUT_S0PRSEN   (0x1UL << 4)

S0IN PRS Enable

Definition at line 447 of file efm32zg_pcnt.h.

#define PCNT_INPUT_S0PRSEN_DEFAULT   (_PCNT_INPUT_S0PRSEN_DEFAULT << 4)

Shifted mode DEFAULT for PCNT_INPUT

Definition at line 451 of file efm32zg_pcnt.h.

#define PCNT_INPUT_S0PRSSEL_DEFAULT   (_PCNT_INPUT_S0PRSSEL_DEFAULT << 0)

Shifted mode DEFAULT for PCNT_INPUT

Definition at line 442 of file efm32zg_pcnt.h.

#define PCNT_INPUT_S0PRSSEL_PRSCH0   (_PCNT_INPUT_S0PRSSEL_PRSCH0 << 0)

Shifted mode PRSCH0 for PCNT_INPUT

Definition at line 443 of file efm32zg_pcnt.h.

#define PCNT_INPUT_S0PRSSEL_PRSCH1   (_PCNT_INPUT_S0PRSSEL_PRSCH1 << 0)

Shifted mode PRSCH1 for PCNT_INPUT

Definition at line 444 of file efm32zg_pcnt.h.

#define PCNT_INPUT_S0PRSSEL_PRSCH2   (_PCNT_INPUT_S0PRSSEL_PRSCH2 << 0)

Shifted mode PRSCH2 for PCNT_INPUT

Definition at line 445 of file efm32zg_pcnt.h.

#define PCNT_INPUT_S0PRSSEL_PRSCH3   (_PCNT_INPUT_S0PRSSEL_PRSCH3 << 0)

Shifted mode PRSCH3 for PCNT_INPUT

Definition at line 446 of file efm32zg_pcnt.h.

#define PCNT_INPUT_S1PRSEN   (0x1UL << 10)

S1IN PRS Enable

Definition at line 464 of file efm32zg_pcnt.h.

#define PCNT_INPUT_S1PRSEN_DEFAULT   (_PCNT_INPUT_S1PRSEN_DEFAULT << 10)

Shifted mode DEFAULT for PCNT_INPUT

Definition at line 468 of file efm32zg_pcnt.h.

#define PCNT_INPUT_S1PRSSEL_DEFAULT   (_PCNT_INPUT_S1PRSSEL_DEFAULT << 6)

Shifted mode DEFAULT for PCNT_INPUT

Definition at line 459 of file efm32zg_pcnt.h.

#define PCNT_INPUT_S1PRSSEL_PRSCH0   (_PCNT_INPUT_S1PRSSEL_PRSCH0 << 6)

Shifted mode PRSCH0 for PCNT_INPUT

Definition at line 460 of file efm32zg_pcnt.h.

#define PCNT_INPUT_S1PRSSEL_PRSCH1   (_PCNT_INPUT_S1PRSSEL_PRSCH1 << 6)

Shifted mode PRSCH1 for PCNT_INPUT

Definition at line 461 of file efm32zg_pcnt.h.

#define PCNT_INPUT_S1PRSSEL_PRSCH2   (_PCNT_INPUT_S1PRSSEL_PRSCH2 << 6)

Shifted mode PRSCH2 for PCNT_INPUT

Definition at line 462 of file efm32zg_pcnt.h.

#define PCNT_INPUT_S1PRSSEL_PRSCH3   (_PCNT_INPUT_S1PRSSEL_PRSCH3 << 6)

Shifted mode PRSCH3 for PCNT_INPUT

Definition at line 463 of file efm32zg_pcnt.h.

#define PCNT_ROUTE_LOCATION_DEFAULT   (_PCNT_ROUTE_LOCATION_DEFAULT << 8)

Shifted mode DEFAULT for PCNT_ROUTE

Definition at line 387 of file efm32zg_pcnt.h.

#define PCNT_ROUTE_LOCATION_LOC0   (_PCNT_ROUTE_LOCATION_LOC0 << 8)

Shifted mode LOC0 for PCNT_ROUTE

Definition at line 386 of file efm32zg_pcnt.h.

#define PCNT_ROUTE_LOCATION_LOC1   (_PCNT_ROUTE_LOCATION_LOC1 << 8)

Shifted mode LOC1 for PCNT_ROUTE

Definition at line 388 of file efm32zg_pcnt.h.

#define PCNT_ROUTE_LOCATION_LOC2   (_PCNT_ROUTE_LOCATION_LOC2 << 8)

Shifted mode LOC2 for PCNT_ROUTE

Definition at line 389 of file efm32zg_pcnt.h.

#define PCNT_ROUTE_LOCATION_LOC3   (_PCNT_ROUTE_LOCATION_LOC3 << 8)

Shifted mode LOC3 for PCNT_ROUTE

Definition at line 390 of file efm32zg_pcnt.h.

#define PCNT_STATUS_DIR   (0x1UL << 0)

Current Counter Direction

Definition at line 226 of file efm32zg_pcnt.h.

#define PCNT_STATUS_DIR_DEFAULT   (_PCNT_STATUS_DIR_DEFAULT << 0)

Shifted mode DEFAULT for PCNT_STATUS

Definition at line 232 of file efm32zg_pcnt.h.

#define PCNT_STATUS_DIR_DOWN   (_PCNT_STATUS_DIR_DOWN << 0)

Shifted mode DOWN for PCNT_STATUS

Definition at line 234 of file efm32zg_pcnt.h.

#define PCNT_STATUS_DIR_UP   (_PCNT_STATUS_DIR_UP << 0)

Shifted mode UP for PCNT_STATUS

Definition at line 233 of file efm32zg_pcnt.h.

#define PCNT_SYNCBUSY_CMD   (0x1UL << 1)

CMD Register Busy

Definition at line 413 of file efm32zg_pcnt.h.

Referenced by PCNT_CounterTopSet(), and PCNT_TopSet().

#define PCNT_SYNCBUSY_CMD_DEFAULT   (_PCNT_SYNCBUSY_CMD_DEFAULT << 1)

Shifted mode DEFAULT for PCNT_SYNCBUSY

Definition at line 417 of file efm32zg_pcnt.h.

#define PCNT_SYNCBUSY_CTRL   (0x1UL << 0)

CTRL Register Busy

Definition at line 408 of file efm32zg_pcnt.h.

Referenced by PCNT_CounterTopSet(), PCNT_Enable(), PCNT_Init(), PCNT_Reset(), and PCNT_TCCConfiguration().

#define PCNT_SYNCBUSY_CTRL_DEFAULT   (_PCNT_SYNCBUSY_CTRL_DEFAULT << 0)

Shifted mode DEFAULT for PCNT_SYNCBUSY

Definition at line 412 of file efm32zg_pcnt.h.

#define PCNT_SYNCBUSY_TOPB   (0x1UL << 2)

TOPB Register Busy

Definition at line 418 of file efm32zg_pcnt.h.

Referenced by PCNT_CounterTopSet(), PCNT_TopBufferSet(), and PCNT_TopSet().

#define PCNT_SYNCBUSY_TOPB_DEFAULT   (_PCNT_SYNCBUSY_TOPB_DEFAULT << 2)

Shifted mode DEFAULT for PCNT_SYNCBUSY

Definition at line 422 of file efm32zg_pcnt.h.

#define PCNT_TOP_TOP_DEFAULT   (_PCNT_TOP_TOP_DEFAULT << 0)

Shifted mode DEFAULT for PCNT_TOP

Definition at line 250 of file efm32zg_pcnt.h.

#define PCNT_TOPB_TOPB_DEFAULT   (_PCNT_TOPB_TOPB_DEFAULT << 0)

Shifted mode DEFAULT for PCNT_TOPB

Definition at line 258 of file efm32zg_pcnt.h.