PCNT Bit FieldsDevices > PCNT

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 0x3000UL
#define _PCNT_CTRL_AUXCNTEV_NONE 0x00000000UL
#define _PCNT_CTRL_AUXCNTEV_SHIFT 12
#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 0x4000UL
#define _PCNT_CTRL_CNTDIR_SHIFT 14
#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_CNTRSTEN_DEFAULT 0x00000000UL
#define _PCNT_CTRL_CNTRSTEN_MASK 0x20UL
#define _PCNT_CTRL_CNTRSTEN_SHIFT 5
#define _PCNT_CTRL_DEBUGHALT_DEFAULT 0x00000000UL
#define _PCNT_CTRL_DEBUGHALT_MASK 0x80UL
#define _PCNT_CTRL_DEBUGHALT_SHIFT 7
#define _PCNT_CTRL_EDGE_DEFAULT 0x00000000UL
#define _PCNT_CTRL_EDGE_MASK 0x8000UL
#define _PCNT_CTRL_EDGE_NEG 0x00000001UL
#define _PCNT_CTRL_EDGE_POS 0x00000000UL
#define _PCNT_CTRL_EDGE_SHIFT 15
#define _PCNT_CTRL_FILT_DEFAULT 0x00000000UL
#define _PCNT_CTRL_FILT_MASK 0x8UL
#define _PCNT_CTRL_FILT_SHIFT 3
#define _PCNT_CTRL_HYST_DEFAULT 0x00000000UL
#define _PCNT_CTRL_HYST_MASK 0x100UL
#define _PCNT_CTRL_HYST_SHIFT 8
#define _PCNT_CTRL_MASK 0xBFDBFFFFUL
#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 0x7UL
#define _PCNT_CTRL_MODE_OVSQUAD1X 0x00000004UL
#define _PCNT_CTRL_MODE_OVSQUAD2X 0x00000005UL
#define _PCNT_CTRL_MODE_OVSQUAD4X 0x00000006UL
#define _PCNT_CTRL_MODE_OVSSINGLE 0x00000001UL
#define _PCNT_CTRL_MODE_SHIFT 0
#define _PCNT_CTRL_PRSGATEEN_DEFAULT 0x00000000UL
#define _PCNT_CTRL_PRSGATEEN_MASK 0x1000000UL
#define _PCNT_CTRL_PRSGATEEN_SHIFT 24
#define _PCNT_CTRL_RESETVALUE 0x00000000UL
#define _PCNT_CTRL_RSTEN_DEFAULT 0x00000000UL
#define _PCNT_CTRL_RSTEN_MASK 0x10UL
#define _PCNT_CTRL_RSTEN_SHIFT 4
#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 0xC00000UL
#define _PCNT_CTRL_TCCCOMP_RANGE 0x00000002UL
#define _PCNT_CTRL_TCCCOMP_SHIFT 22
#define _PCNT_CTRL_TCCMODE_DEFAULT 0x00000000UL
#define _PCNT_CTRL_TCCMODE_DISABLED 0x00000000UL
#define _PCNT_CTRL_TCCMODE_LFA 0x00000001UL
#define _PCNT_CTRL_TCCMODE_MASK 0x30000UL
#define _PCNT_CTRL_TCCMODE_PRS 0x00000002UL
#define _PCNT_CTRL_TCCMODE_SHIFT 16
#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 0x180000UL
#define _PCNT_CTRL_TCCPRESC_SHIFT 19
#define _PCNT_CTRL_TCCPRSPOL_DEFAULT 0x00000000UL
#define _PCNT_CTRL_TCCPRSPOL_FALLING 0x00000001UL
#define _PCNT_CTRL_TCCPRSPOL_MASK 0x2000000UL
#define _PCNT_CTRL_TCCPRSPOL_RISING 0x00000000UL
#define _PCNT_CTRL_TCCPRSPOL_SHIFT 25
#define _PCNT_CTRL_TCCPRSSEL_DEFAULT 0x00000000UL
#define _PCNT_CTRL_TCCPRSSEL_MASK 0x3C000000UL
#define _PCNT_CTRL_TCCPRSSEL_PRSCH0 0x00000000UL
#define _PCNT_CTRL_TCCPRSSEL_PRSCH1 0x00000001UL
#define _PCNT_CTRL_TCCPRSSEL_PRSCH10 0x0000000AUL
#define _PCNT_CTRL_TCCPRSSEL_PRSCH11 0x0000000BUL
#define _PCNT_CTRL_TCCPRSSEL_PRSCH2 0x00000002UL
#define _PCNT_CTRL_TCCPRSSEL_PRSCH3 0x00000003UL
#define _PCNT_CTRL_TCCPRSSEL_PRSCH4 0x00000004UL
#define _PCNT_CTRL_TCCPRSSEL_PRSCH5 0x00000005UL
#define _PCNT_CTRL_TCCPRSSEL_PRSCH6 0x00000006UL
#define _PCNT_CTRL_TCCPRSSEL_PRSCH7 0x00000007UL
#define _PCNT_CTRL_TCCPRSSEL_PRSCH8 0x00000008UL
#define _PCNT_CTRL_TCCPRSSEL_PRSCH9 0x00000009UL
#define _PCNT_CTRL_TCCPRSSEL_SHIFT 26
#define _PCNT_CTRL_TOPBHFSEL_DEFAULT 0x00000000UL
#define _PCNT_CTRL_TOPBHFSEL_MASK 0x80000000UL
#define _PCNT_CTRL_TOPBHFSEL_SHIFT 31
#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 0x0000003FUL
#define _PCNT_IEN_OF_DEFAULT 0x00000000UL
#define _PCNT_IEN_OF_MASK 0x2UL
#define _PCNT_IEN_OF_SHIFT 1
#define _PCNT_IEN_OQSTERR_DEFAULT 0x00000000UL
#define _PCNT_IEN_OQSTERR_MASK 0x20UL
#define _PCNT_IEN_OQSTERR_SHIFT 5
#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 0x0000003FUL
#define _PCNT_IF_OF_DEFAULT 0x00000000UL
#define _PCNT_IF_OF_MASK 0x2UL
#define _PCNT_IF_OF_SHIFT 1
#define _PCNT_IF_OQSTERR_DEFAULT 0x00000000UL
#define _PCNT_IF_OQSTERR_MASK 0x20UL
#define _PCNT_IF_OQSTERR_SHIFT 5
#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 0x0000003FUL
#define _PCNT_IFC_OF_DEFAULT 0x00000000UL
#define _PCNT_IFC_OF_MASK 0x2UL
#define _PCNT_IFC_OF_SHIFT 1
#define _PCNT_IFC_OQSTERR_DEFAULT 0x00000000UL
#define _PCNT_IFC_OQSTERR_MASK 0x20UL
#define _PCNT_IFC_OQSTERR_SHIFT 5
#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 0x0000003FUL
#define _PCNT_IFS_OF_DEFAULT 0x00000000UL
#define _PCNT_IFS_OF_MASK 0x2UL
#define _PCNT_IFS_OF_SHIFT 1
#define _PCNT_IFS_OQSTERR_DEFAULT 0x00000000UL
#define _PCNT_IFS_OQSTERR_MASK 0x20UL
#define _PCNT_IFS_OQSTERR_SHIFT 5
#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 0x00000BEFUL
#define _PCNT_INPUT_RESETVALUE 0x00000000UL
#define _PCNT_INPUT_S0PRSEN_DEFAULT 0x00000000UL
#define _PCNT_INPUT_S0PRSEN_MASK 0x20UL
#define _PCNT_INPUT_S0PRSEN_SHIFT 5
#define _PCNT_INPUT_S0PRSSEL_DEFAULT 0x00000000UL
#define _PCNT_INPUT_S0PRSSEL_MASK 0xFUL
#define _PCNT_INPUT_S0PRSSEL_PRSCH0 0x00000000UL
#define _PCNT_INPUT_S0PRSSEL_PRSCH1 0x00000001UL
#define _PCNT_INPUT_S0PRSSEL_PRSCH10 0x0000000AUL
#define _PCNT_INPUT_S0PRSSEL_PRSCH11 0x0000000BUL
#define _PCNT_INPUT_S0PRSSEL_PRSCH2 0x00000002UL
#define _PCNT_INPUT_S0PRSSEL_PRSCH3 0x00000003UL
#define _PCNT_INPUT_S0PRSSEL_PRSCH4 0x00000004UL
#define _PCNT_INPUT_S0PRSSEL_PRSCH5 0x00000005UL
#define _PCNT_INPUT_S0PRSSEL_PRSCH6 0x00000006UL
#define _PCNT_INPUT_S0PRSSEL_PRSCH7 0x00000007UL
#define _PCNT_INPUT_S0PRSSEL_PRSCH8 0x00000008UL
#define _PCNT_INPUT_S0PRSSEL_PRSCH9 0x00000009UL
#define _PCNT_INPUT_S0PRSSEL_SHIFT 0
#define _PCNT_INPUT_S1PRSEN_DEFAULT 0x00000000UL
#define _PCNT_INPUT_S1PRSEN_MASK 0x800UL
#define _PCNT_INPUT_S1PRSEN_SHIFT 11
#define _PCNT_INPUT_S1PRSSEL_DEFAULT 0x00000000UL
#define _PCNT_INPUT_S1PRSSEL_MASK 0x3C0UL
#define _PCNT_INPUT_S1PRSSEL_PRSCH0 0x00000000UL
#define _PCNT_INPUT_S1PRSSEL_PRSCH1 0x00000001UL
#define _PCNT_INPUT_S1PRSSEL_PRSCH10 0x0000000AUL
#define _PCNT_INPUT_S1PRSSEL_PRSCH11 0x0000000BUL
#define _PCNT_INPUT_S1PRSSEL_PRSCH2 0x00000002UL
#define _PCNT_INPUT_S1PRSSEL_PRSCH3 0x00000003UL
#define _PCNT_INPUT_S1PRSSEL_PRSCH4 0x00000004UL
#define _PCNT_INPUT_S1PRSSEL_PRSCH5 0x00000005UL
#define _PCNT_INPUT_S1PRSSEL_PRSCH6 0x00000006UL
#define _PCNT_INPUT_S1PRSSEL_PRSCH7 0x00000007UL
#define _PCNT_INPUT_S1PRSSEL_PRSCH8 0x00000008UL
#define _PCNT_INPUT_S1PRSSEL_PRSCH9 0x00000009UL
#define _PCNT_INPUT_S1PRSSEL_SHIFT 6
#define _PCNT_OVSCFG_FILTLEN_DEFAULT 0x00000000UL
#define _PCNT_OVSCFG_FILTLEN_MASK 0xFFUL
#define _PCNT_OVSCFG_FILTLEN_SHIFT 0
#define _PCNT_OVSCFG_FLUTTERRM_DEFAULT 0x00000000UL
#define _PCNT_OVSCFG_FLUTTERRM_MASK 0x1000UL
#define _PCNT_OVSCFG_FLUTTERRM_SHIFT 12
#define _PCNT_OVSCFG_MASK 0x000010FFUL
#define _PCNT_OVSCFG_RESETVALUE 0x00000000UL
#define _PCNT_ROUTELOC0_MASK 0x00001F1FUL
#define _PCNT_ROUTELOC0_RESETVALUE 0x00000000UL
#define _PCNT_ROUTELOC0_S0INLOC_DEFAULT 0x00000000UL
#define _PCNT_ROUTELOC0_S0INLOC_LOC0 0x00000000UL
#define _PCNT_ROUTELOC0_S0INLOC_LOC1 0x00000001UL
#define _PCNT_ROUTELOC0_S0INLOC_LOC10 0x0000000AUL
#define _PCNT_ROUTELOC0_S0INLOC_LOC11 0x0000000BUL
#define _PCNT_ROUTELOC0_S0INLOC_LOC12 0x0000000CUL
#define _PCNT_ROUTELOC0_S0INLOC_LOC13 0x0000000DUL
#define _PCNT_ROUTELOC0_S0INLOC_LOC14 0x0000000EUL
#define _PCNT_ROUTELOC0_S0INLOC_LOC15 0x0000000FUL
#define _PCNT_ROUTELOC0_S0INLOC_LOC16 0x00000010UL
#define _PCNT_ROUTELOC0_S0INLOC_LOC17 0x00000011UL
#define _PCNT_ROUTELOC0_S0INLOC_LOC18 0x00000012UL
#define _PCNT_ROUTELOC0_S0INLOC_LOC19 0x00000013UL
#define _PCNT_ROUTELOC0_S0INLOC_LOC2 0x00000002UL
#define _PCNT_ROUTELOC0_S0INLOC_LOC20 0x00000014UL
#define _PCNT_ROUTELOC0_S0INLOC_LOC21 0x00000015UL
#define _PCNT_ROUTELOC0_S0INLOC_LOC22 0x00000016UL
#define _PCNT_ROUTELOC0_S0INLOC_LOC23 0x00000017UL
#define _PCNT_ROUTELOC0_S0INLOC_LOC24 0x00000018UL
#define _PCNT_ROUTELOC0_S0INLOC_LOC25 0x00000019UL
#define _PCNT_ROUTELOC0_S0INLOC_LOC26 0x0000001AUL
#define _PCNT_ROUTELOC0_S0INLOC_LOC27 0x0000001BUL
#define _PCNT_ROUTELOC0_S0INLOC_LOC28 0x0000001CUL
#define _PCNT_ROUTELOC0_S0INLOC_LOC29 0x0000001DUL
#define _PCNT_ROUTELOC0_S0INLOC_LOC3 0x00000003UL
#define _PCNT_ROUTELOC0_S0INLOC_LOC30 0x0000001EUL
#define _PCNT_ROUTELOC0_S0INLOC_LOC31 0x0000001FUL
#define _PCNT_ROUTELOC0_S0INLOC_LOC4 0x00000004UL
#define _PCNT_ROUTELOC0_S0INLOC_LOC5 0x00000005UL
#define _PCNT_ROUTELOC0_S0INLOC_LOC6 0x00000006UL
#define _PCNT_ROUTELOC0_S0INLOC_LOC7 0x00000007UL
#define _PCNT_ROUTELOC0_S0INLOC_LOC8 0x00000008UL
#define _PCNT_ROUTELOC0_S0INLOC_LOC9 0x00000009UL
#define _PCNT_ROUTELOC0_S0INLOC_MASK 0x1FUL
#define _PCNT_ROUTELOC0_S0INLOC_SHIFT 0
#define _PCNT_ROUTELOC0_S1INLOC_DEFAULT 0x00000000UL
#define _PCNT_ROUTELOC0_S1INLOC_LOC0 0x00000000UL
#define _PCNT_ROUTELOC0_S1INLOC_LOC1 0x00000001UL
#define _PCNT_ROUTELOC0_S1INLOC_LOC10 0x0000000AUL
#define _PCNT_ROUTELOC0_S1INLOC_LOC11 0x0000000BUL
#define _PCNT_ROUTELOC0_S1INLOC_LOC12 0x0000000CUL
#define _PCNT_ROUTELOC0_S1INLOC_LOC13 0x0000000DUL
#define _PCNT_ROUTELOC0_S1INLOC_LOC14 0x0000000EUL
#define _PCNT_ROUTELOC0_S1INLOC_LOC15 0x0000000FUL
#define _PCNT_ROUTELOC0_S1INLOC_LOC16 0x00000010UL
#define _PCNT_ROUTELOC0_S1INLOC_LOC17 0x00000011UL
#define _PCNT_ROUTELOC0_S1INLOC_LOC18 0x00000012UL
#define _PCNT_ROUTELOC0_S1INLOC_LOC19 0x00000013UL
#define _PCNT_ROUTELOC0_S1INLOC_LOC2 0x00000002UL
#define _PCNT_ROUTELOC0_S1INLOC_LOC20 0x00000014UL
#define _PCNT_ROUTELOC0_S1INLOC_LOC21 0x00000015UL
#define _PCNT_ROUTELOC0_S1INLOC_LOC22 0x00000016UL
#define _PCNT_ROUTELOC0_S1INLOC_LOC23 0x00000017UL
#define _PCNT_ROUTELOC0_S1INLOC_LOC24 0x00000018UL
#define _PCNT_ROUTELOC0_S1INLOC_LOC25 0x00000019UL
#define _PCNT_ROUTELOC0_S1INLOC_LOC26 0x0000001AUL
#define _PCNT_ROUTELOC0_S1INLOC_LOC27 0x0000001BUL
#define _PCNT_ROUTELOC0_S1INLOC_LOC28 0x0000001CUL
#define _PCNT_ROUTELOC0_S1INLOC_LOC29 0x0000001DUL
#define _PCNT_ROUTELOC0_S1INLOC_LOC3 0x00000003UL
#define _PCNT_ROUTELOC0_S1INLOC_LOC30 0x0000001EUL
#define _PCNT_ROUTELOC0_S1INLOC_LOC31 0x0000001FUL
#define _PCNT_ROUTELOC0_S1INLOC_LOC4 0x00000004UL
#define _PCNT_ROUTELOC0_S1INLOC_LOC5 0x00000005UL
#define _PCNT_ROUTELOC0_S1INLOC_LOC6 0x00000006UL
#define _PCNT_ROUTELOC0_S1INLOC_LOC7 0x00000007UL
#define _PCNT_ROUTELOC0_S1INLOC_LOC8 0x00000008UL
#define _PCNT_ROUTELOC0_S1INLOC_LOC9 0x00000009UL
#define _PCNT_ROUTELOC0_S1INLOC_MASK 0x1F00UL
#define _PCNT_ROUTELOC0_S1INLOC_SHIFT 8
#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 0x0000000FUL
#define _PCNT_SYNCBUSY_OVSCFG_DEFAULT 0x00000000UL
#define _PCNT_SYNCBUSY_OVSCFG_MASK 0x8UL
#define _PCNT_SYNCBUSY_OVSCFG_SHIFT 3
#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 << 12)
#define PCNT_CTRL_AUXCNTEV_DEFAULT ( _PCNT_CTRL_AUXCNTEV_DEFAULT << 12)
#define PCNT_CTRL_AUXCNTEV_DOWN ( _PCNT_CTRL_AUXCNTEV_DOWN << 12)
#define PCNT_CTRL_AUXCNTEV_NONE ( _PCNT_CTRL_AUXCNTEV_NONE << 12)
#define PCNT_CTRL_AUXCNTEV_UP ( _PCNT_CTRL_AUXCNTEV_UP << 12)
#define PCNT_CTRL_AUXCNTRSTEN (0x1UL << 6)
#define PCNT_CTRL_AUXCNTRSTEN_DEFAULT ( _PCNT_CTRL_AUXCNTRSTEN_DEFAULT << 6)
#define PCNT_CTRL_CNTDIR (0x1UL << 14)
#define PCNT_CTRL_CNTDIR_DEFAULT ( _PCNT_CTRL_CNTDIR_DEFAULT << 14)
#define PCNT_CTRL_CNTDIR_DOWN ( _PCNT_CTRL_CNTDIR_DOWN << 14)
#define PCNT_CTRL_CNTDIR_UP ( _PCNT_CTRL_CNTDIR_UP << 14)
#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_CNTRSTEN (0x1UL << 5)
#define PCNT_CTRL_CNTRSTEN_DEFAULT ( _PCNT_CTRL_CNTRSTEN_DEFAULT << 5)
#define PCNT_CTRL_DEBUGHALT (0x1UL << 7)
#define PCNT_CTRL_DEBUGHALT_DEFAULT ( _PCNT_CTRL_DEBUGHALT_DEFAULT << 7)
#define PCNT_CTRL_EDGE (0x1UL << 15)
#define PCNT_CTRL_EDGE_DEFAULT ( _PCNT_CTRL_EDGE_DEFAULT << 15)
#define PCNT_CTRL_EDGE_NEG ( _PCNT_CTRL_EDGE_NEG << 15)
#define PCNT_CTRL_EDGE_POS ( _PCNT_CTRL_EDGE_POS << 15)
#define PCNT_CTRL_FILT (0x1UL << 3)
#define PCNT_CTRL_FILT_DEFAULT ( _PCNT_CTRL_FILT_DEFAULT << 3)
#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_OVSQUAD1X ( _PCNT_CTRL_MODE_OVSQUAD1X << 0)
#define PCNT_CTRL_MODE_OVSQUAD2X ( _PCNT_CTRL_MODE_OVSQUAD2X << 0)
#define PCNT_CTRL_MODE_OVSQUAD4X ( _PCNT_CTRL_MODE_OVSQUAD4X << 0)
#define PCNT_CTRL_MODE_OVSSINGLE ( _PCNT_CTRL_MODE_OVSSINGLE << 0)
#define PCNT_CTRL_PRSGATEEN (0x1UL << 24)
#define PCNT_CTRL_PRSGATEEN_DEFAULT ( _PCNT_CTRL_PRSGATEEN_DEFAULT << 24)
#define PCNT_CTRL_RSTEN (0x1UL << 4)
#define PCNT_CTRL_RSTEN_DEFAULT ( _PCNT_CTRL_RSTEN_DEFAULT << 4)
#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 << 22)
#define PCNT_CTRL_TCCCOMP_GTOE ( _PCNT_CTRL_TCCCOMP_GTOE << 22)
#define PCNT_CTRL_TCCCOMP_LTOE ( _PCNT_CTRL_TCCCOMP_LTOE << 22)
#define PCNT_CTRL_TCCCOMP_RANGE ( _PCNT_CTRL_TCCCOMP_RANGE << 22)
#define PCNT_CTRL_TCCMODE_DEFAULT ( _PCNT_CTRL_TCCMODE_DEFAULT << 16)
#define PCNT_CTRL_TCCMODE_DISABLED ( _PCNT_CTRL_TCCMODE_DISABLED << 16)
#define PCNT_CTRL_TCCMODE_LFA ( _PCNT_CTRL_TCCMODE_LFA << 16)
#define PCNT_CTRL_TCCMODE_PRS ( _PCNT_CTRL_TCCMODE_PRS << 16)
#define PCNT_CTRL_TCCPRESC_DEFAULT ( _PCNT_CTRL_TCCPRESC_DEFAULT << 19)
#define PCNT_CTRL_TCCPRESC_DIV1 ( _PCNT_CTRL_TCCPRESC_DIV1 << 19)
#define PCNT_CTRL_TCCPRESC_DIV2 ( _PCNT_CTRL_TCCPRESC_DIV2 << 19)
#define PCNT_CTRL_TCCPRESC_DIV4 ( _PCNT_CTRL_TCCPRESC_DIV4 << 19)
#define PCNT_CTRL_TCCPRESC_DIV8 ( _PCNT_CTRL_TCCPRESC_DIV8 << 19)
#define PCNT_CTRL_TCCPRSPOL (0x1UL << 25)
#define PCNT_CTRL_TCCPRSPOL_DEFAULT ( _PCNT_CTRL_TCCPRSPOL_DEFAULT << 25)
#define PCNT_CTRL_TCCPRSPOL_FALLING ( _PCNT_CTRL_TCCPRSPOL_FALLING << 25)
#define PCNT_CTRL_TCCPRSPOL_RISING ( _PCNT_CTRL_TCCPRSPOL_RISING << 25)
#define PCNT_CTRL_TCCPRSSEL_DEFAULT ( _PCNT_CTRL_TCCPRSSEL_DEFAULT << 26)
#define PCNT_CTRL_TCCPRSSEL_PRSCH0 ( _PCNT_CTRL_TCCPRSSEL_PRSCH0 << 26)
#define PCNT_CTRL_TCCPRSSEL_PRSCH1 ( _PCNT_CTRL_TCCPRSSEL_PRSCH1 << 26)
#define PCNT_CTRL_TCCPRSSEL_PRSCH10 ( _PCNT_CTRL_TCCPRSSEL_PRSCH10 << 26)
#define PCNT_CTRL_TCCPRSSEL_PRSCH11 ( _PCNT_CTRL_TCCPRSSEL_PRSCH11 << 26)
#define PCNT_CTRL_TCCPRSSEL_PRSCH2 ( _PCNT_CTRL_TCCPRSSEL_PRSCH2 << 26)
#define PCNT_CTRL_TCCPRSSEL_PRSCH3 ( _PCNT_CTRL_TCCPRSSEL_PRSCH3 << 26)
#define PCNT_CTRL_TCCPRSSEL_PRSCH4 ( _PCNT_CTRL_TCCPRSSEL_PRSCH4 << 26)
#define PCNT_CTRL_TCCPRSSEL_PRSCH5 ( _PCNT_CTRL_TCCPRSSEL_PRSCH5 << 26)
#define PCNT_CTRL_TCCPRSSEL_PRSCH6 ( _PCNT_CTRL_TCCPRSSEL_PRSCH6 << 26)
#define PCNT_CTRL_TCCPRSSEL_PRSCH7 ( _PCNT_CTRL_TCCPRSSEL_PRSCH7 << 26)
#define PCNT_CTRL_TCCPRSSEL_PRSCH8 ( _PCNT_CTRL_TCCPRSSEL_PRSCH8 << 26)
#define PCNT_CTRL_TCCPRSSEL_PRSCH9 ( _PCNT_CTRL_TCCPRSSEL_PRSCH9 << 26)
#define PCNT_CTRL_TOPBHFSEL (0x1UL << 31)
#define PCNT_CTRL_TOPBHFSEL_DEFAULT ( _PCNT_CTRL_TOPBHFSEL_DEFAULT << 31)
#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 <