EFM32 Giant Gecko Software Documentation  efm32gg-doc-5.1.2
efm32gg_pcnt.h File Reference

Detailed Description

EFM32GG_PCNT register and bit field definitions.

Version
5.1.2

License

Copyright 2017 Silicon Laboratories, Inc. http://www.silabs.com

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software.
  2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.

DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. has no obligation to support this Software. Silicon Laboratories, Inc. is providing the Software "AS IS", with no express or implied warranties of any kind, including, but not limited to, any implied warranties of merchantability or fitness for any particular purpose or warranties against infringement of any proprietary rights of a third party.

Silicon Laboratories, Inc. will not be liable for any consequential, incidental, or special damages, or any other relief, or for any claim by any third party, arising from your use of this Software.

Definition in file efm32gg_pcnt.h.

Go to the source code of this file.

Data Structures

struct  PCNT_TypeDef
 

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_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   0x0000CF3FUL
 
#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_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_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   0x0000000FUL
 
#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_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   0x0000000FUL
 
#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_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   0x0000000FUL
 
#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_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   0x0000000FUL
 
#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_UF_DEFAULT   0x00000000UL
 
#define _PCNT_IFS_UF_MASK   0x1UL
 
#define _PCNT_IFS_UF_SHIFT   0
 
#define _PCNT_INPUT_MASK   0x000007DFUL
 
#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   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   0x400UL
 
#define _PCNT_INPUT_S1PRSEN_SHIFT   10
 
#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_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_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_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_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_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_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_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_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_PRSCH10   (_PCNT_INPUT_S0PRSSEL_PRSCH10 << 0)
 
#define PCNT_INPUT_S0PRSSEL_PRSCH11   (_PCNT_INPUT_S0PRSSEL_PRSCH11 << 0)
 
#define PCNT_INPUT_S0PRSSEL_PRSCH2   (_PCNT_INPUT_S0PRSSEL_PRSCH2 << 0)
 
#define PCNT_INPUT_S0PRSSEL_PRSCH3   (_PCNT_INPUT_S0PRSSEL_PRSCH3 << 0)
 
#define PCNT_INPUT_S0PRSSEL_PRSCH4   (_PCNT_INPUT_S0PRSSEL_PRSCH4 << 0)
 
#define PCNT_INPUT_S0PRSSEL_PRSCH5   (_PCNT_INPUT_S0PRSSEL_PRSCH5 << 0)
 
#define PCNT_INPUT_S0PRSSEL_PRSCH6   (_PCNT_INPUT_S0PRSSEL_PRSCH6 << 0)
 
#define PCNT_INPUT_S0PRSSEL_PRSCH7   (_PCNT_INPUT_S0PRSSEL_PRSCH7 << 0)
 
#define PCNT_INPUT_S0PRSSEL_PRSCH8   (_PCNT_INPUT_S0PRSSEL_PRSCH8 << 0)
 
#define PCNT_INPUT_S0PRSSEL_PRSCH9   (_PCNT_INPUT_S0PRSSEL_PRSCH9 << 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_PRSCH10   (_PCNT_INPUT_S1PRSSEL_PRSCH10 << 6)
 
#define PCNT_INPUT_S1PRSSEL_PRSCH11   (_PCNT_INPUT_S1PRSSEL_PRSCH11 << 6)
 
#define PCNT_INPUT_S1PRSSEL_PRSCH2   (_PCNT_INPUT_S1PRSSEL_PRSCH2 << 6)
 
#define PCNT_INPUT_S1PRSSEL_PRSCH3   (_PCNT_INPUT_S1PRSSEL_PRSCH3 << 6)
 
#define PCNT_INPUT_S1PRSSEL_PRSCH4   (_PCNT_INPUT_S1PRSSEL_PRSCH4 << 6)
 
#define PCNT_INPUT_S1PRSSEL_PRSCH5   (_PCNT_INPUT_S1PRSSEL_PRSCH5 << 6)
 
#define PCNT_INPUT_S1PRSSEL_PRSCH6   (_PCNT_INPUT_S1PRSSEL_PRSCH6 << 6)
 
#define PCNT_INPUT_S1PRSSEL_PRSCH7   (_PCNT_INPUT_S1PRSSEL_PRSCH7 << 6)
 
#define PCNT_INPUT_S1PRSSEL_PRSCH8   (_PCNT_INPUT_S1PRSSEL_PRSCH8 << 6)
 
#define PCNT_INPUT_S1PRSSEL_PRSCH9   (_PCNT_INPUT_S1PRSSEL_PRSCH9 << 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)