![]() |
RTEMS 6.3
|
Macros | |
| #define | EWM_CTRL_EWMEN_MASK (0x1U) |
| #define | EWM_CTRL_EWMEN_SHIFT (0U) |
| #define | EWM_CTRL_EWMEN(x) |
| #define | EWM_CTRL_ASSIN_MASK (0x2U) |
| #define | EWM_CTRL_ASSIN_SHIFT (1U) |
| #define | EWM_CTRL_ASSIN(x) |
| #define | EWM_CTRL_INEN_MASK (0x4U) |
| #define | EWM_CTRL_INEN_SHIFT (2U) |
| #define | EWM_CTRL_INEN(x) |
| #define | EWM_CTRL_INTEN_MASK (0x8U) |
| #define | EWM_CTRL_INTEN_SHIFT (3U) |
| #define | EWM_CTRL_INTEN(x) |
| #define | EWM_CTRL_EWMEN_MASK (0x1U) |
| #define | EWM_CTRL_EWMEN_SHIFT (0U) |
| #define | EWM_CTRL_EWMEN(x) |
| #define | EWM_CTRL_ASSIN_MASK (0x2U) |
| #define | EWM_CTRL_ASSIN_SHIFT (1U) |
| #define | EWM_CTRL_ASSIN(x) |
| #define | EWM_CTRL_INEN_MASK (0x4U) |
| #define | EWM_CTRL_INEN_SHIFT (2U) |
| #define | EWM_CTRL_INEN(x) |
| #define | EWM_CTRL_INTEN_MASK (0x8U) |
| #define | EWM_CTRL_INTEN_SHIFT (3U) |
| #define | EWM_CTRL_INTEN(x) |
| #define | PWM_CTRL_DBLEN_MASK (0x1U) |
| #define | PWM_CTRL_DBLEN_SHIFT (0U) |
| #define | PWM_CTRL_DBLEN(x) |
| #define | PWM_CTRL_DBLX_MASK (0x2U) |
| #define | PWM_CTRL_DBLX_SHIFT (1U) |
| #define | PWM_CTRL_DBLX(x) |
| #define | PWM_CTRL_LDMOD_MASK (0x4U) |
| #define | PWM_CTRL_LDMOD_SHIFT (2U) |
| #define | PWM_CTRL_LDMOD(x) |
| #define | PWM_CTRL_SPLIT_MASK (0x8U) |
| #define | PWM_CTRL_SPLIT_SHIFT (3U) |
| #define | PWM_CTRL_SPLIT(x) |
| #define | PWM_CTRL_PRSC_MASK (0x70U) |
| #define | PWM_CTRL_PRSC_SHIFT (4U) |
| #define | PWM_CTRL_PRSC(x) |
| #define | PWM_CTRL_COMPMODE_MASK (0x80U) |
| #define | PWM_CTRL_COMPMODE_SHIFT (7U) |
| #define | PWM_CTRL_COMPMODE(x) |
| #define | PWM_CTRL_DT_MASK (0x300U) |
| #define | PWM_CTRL_DT_SHIFT (8U) |
| #define | PWM_CTRL_DT(x) |
| #define | PWM_CTRL_FULL_MASK (0x400U) |
| #define | PWM_CTRL_FULL_SHIFT (10U) |
| #define | PWM_CTRL_FULL(x) |
| #define | PWM_CTRL_HALF_MASK (0x800U) |
| #define | PWM_CTRL_HALF_SHIFT (11U) |
| #define | PWM_CTRL_HALF(x) |
| #define | PWM_CTRL_LDFQ_MASK (0xF000U) |
| #define | PWM_CTRL_LDFQ_SHIFT (12U) |
| #define | PWM_CTRL_LDFQ(x) |
| #define | PWM_CTRL_DBLEN_MASK (0x1U) |
| #define | PWM_CTRL_DBLEN_SHIFT (0U) |
| #define | PWM_CTRL_DBLEN(x) |
| #define | PWM_CTRL_DBLX_MASK (0x2U) |
| #define | PWM_CTRL_DBLX_SHIFT (1U) |
| #define | PWM_CTRL_DBLX(x) |
| #define | PWM_CTRL_LDMOD_MASK (0x4U) |
| #define | PWM_CTRL_LDMOD_SHIFT (2U) |
| #define | PWM_CTRL_LDMOD(x) |
| #define | PWM_CTRL_SPLIT_MASK (0x8U) |
| #define | PWM_CTRL_SPLIT_SHIFT (3U) |
| #define | PWM_CTRL_SPLIT(x) |
| #define | PWM_CTRL_PRSC_MASK (0x70U) |
| #define | PWM_CTRL_PRSC_SHIFT (4U) |
| #define | PWM_CTRL_PRSC(x) |
| #define | PWM_CTRL_COMPMODE_MASK (0x80U) |
| #define | PWM_CTRL_COMPMODE_SHIFT (7U) |
| #define | PWM_CTRL_COMPMODE(x) |
| #define | PWM_CTRL_DT_MASK (0x300U) |
| #define | PWM_CTRL_DT_SHIFT (8U) |
| #define | PWM_CTRL_DT(x) |
| #define | PWM_CTRL_FULL_MASK (0x400U) |
| #define | PWM_CTRL_FULL_SHIFT (10U) |
| #define | PWM_CTRL_FULL(x) |
| #define | PWM_CTRL_HALF_MASK (0x800U) |
| #define | PWM_CTRL_HALF_SHIFT (11U) |
| #define | PWM_CTRL_HALF(x) |
| #define | PWM_CTRL_LDFQ_MASK (0xF000U) |
| #define | PWM_CTRL_LDFQ_SHIFT (12U) |
| #define | PWM_CTRL_LDFQ(x) |
CTRL - Control Register | |
| #define | ENC_CTRL_CMPIE_MASK (0x1U) |
| #define | ENC_CTRL_CMPIE_SHIFT (0U) |
| #define | ENC_CTRL_CMPIE(x) |
| #define | ENC_CTRL_CMPIRQ_MASK (0x2U) |
| #define | ENC_CTRL_CMPIRQ_SHIFT (1U) |
| #define | ENC_CTRL_CMPIRQ(x) |
| #define | ENC_CTRL_WDE_MASK (0x4U) |
| #define | ENC_CTRL_WDE_SHIFT (2U) |
| #define | ENC_CTRL_WDE(x) |
| #define | ENC_CTRL_DIE_MASK (0x8U) |
| #define | ENC_CTRL_DIE_SHIFT (3U) |
| #define | ENC_CTRL_DIE(x) |
| #define | ENC_CTRL_DIRQ_MASK (0x10U) |
| #define | ENC_CTRL_DIRQ_SHIFT (4U) |
| #define | ENC_CTRL_DIRQ(x) |
| #define | ENC_CTRL_XNE_MASK (0x20U) |
| #define | ENC_CTRL_XNE_SHIFT (5U) |
| #define | ENC_CTRL_XNE(x) |
| #define | ENC_CTRL_XIP_MASK (0x40U) |
| #define | ENC_CTRL_XIP_SHIFT (6U) |
| #define | ENC_CTRL_XIP(x) |
| #define | ENC_CTRL_XIE_MASK (0x80U) |
| #define | ENC_CTRL_XIE_SHIFT (7U) |
| #define | ENC_CTRL_XIE(x) |
| #define | ENC_CTRL_XIRQ_MASK (0x100U) |
| #define | ENC_CTRL_XIRQ_SHIFT (8U) |
| #define | ENC_CTRL_XIRQ(x) |
| #define | ENC_CTRL_PH1_MASK (0x200U) |
| #define | ENC_CTRL_PH1_SHIFT (9U) |
| #define | ENC_CTRL_PH1(x) |
| #define | ENC_CTRL_REV_MASK (0x400U) |
| #define | ENC_CTRL_REV_SHIFT (10U) |
| #define | ENC_CTRL_REV(x) |
| #define | ENC_CTRL_SWIP_MASK (0x800U) |
| #define | ENC_CTRL_SWIP_SHIFT (11U) |
| #define | ENC_CTRL_SWIP(x) |
| #define | ENC_CTRL_HNE_MASK (0x1000U) |
| #define | ENC_CTRL_HNE_SHIFT (12U) |
| #define | ENC_CTRL_HNE(x) |
| #define | ENC_CTRL_HIP_MASK (0x2000U) |
| #define | ENC_CTRL_HIP_SHIFT (13U) |
| #define | ENC_CTRL_HIP(x) |
| #define | ENC_CTRL_HIE_MASK (0x4000U) |
| #define | ENC_CTRL_HIE_SHIFT (14U) |
| #define | ENC_CTRL_HIE(x) |
| #define | ENC_CTRL_HIRQ_MASK (0x8000U) |
| #define | ENC_CTRL_HIRQ_SHIFT (15U) |
| #define | ENC_CTRL_HIRQ(x) |
| #define | ENC_CTRL_CMPIE_MASK (0x1U) |
| #define | ENC_CTRL_CMPIE_SHIFT (0U) |
| #define | ENC_CTRL_CMPIE(x) |
| #define | ENC_CTRL_CMPIRQ_MASK (0x2U) |
| #define | ENC_CTRL_CMPIRQ_SHIFT (1U) |
| #define | ENC_CTRL_CMPIRQ(x) |
| #define | ENC_CTRL_WDE_MASK (0x4U) |
| #define | ENC_CTRL_WDE_SHIFT (2U) |
| #define | ENC_CTRL_WDE(x) |
| #define | ENC_CTRL_DIE_MASK (0x8U) |
| #define | ENC_CTRL_DIE_SHIFT (3U) |
| #define | ENC_CTRL_DIE(x) |
| #define | ENC_CTRL_DIRQ_MASK (0x10U) |
| #define | ENC_CTRL_DIRQ_SHIFT (4U) |
| #define | ENC_CTRL_DIRQ(x) |
| #define | ENC_CTRL_XNE_MASK (0x20U) |
| #define | ENC_CTRL_XNE_SHIFT (5U) |
| #define | ENC_CTRL_XNE(x) |
| #define | ENC_CTRL_XIP_MASK (0x40U) |
| #define | ENC_CTRL_XIP_SHIFT (6U) |
| #define | ENC_CTRL_XIP(x) |
| #define | ENC_CTRL_XIE_MASK (0x80U) |
| #define | ENC_CTRL_XIE_SHIFT (7U) |
| #define | ENC_CTRL_XIE(x) |
| #define | ENC_CTRL_XIRQ_MASK (0x100U) |
| #define | ENC_CTRL_XIRQ_SHIFT (8U) |
| #define | ENC_CTRL_XIRQ(x) |
| #define | ENC_CTRL_PH1_MASK (0x200U) |
| #define | ENC_CTRL_PH1_SHIFT (9U) |
| #define | ENC_CTRL_PH1(x) |
| #define | ENC_CTRL_REV_MASK (0x400U) |
| #define | ENC_CTRL_REV_SHIFT (10U) |
| #define | ENC_CTRL_REV(x) |
| #define | ENC_CTRL_SWIP_MASK (0x800U) |
| #define | ENC_CTRL_SWIP_SHIFT (11U) |
| #define | ENC_CTRL_SWIP(x) |
| #define | ENC_CTRL_HNE_MASK (0x1000U) |
| #define | ENC_CTRL_HNE_SHIFT (12U) |
| #define | ENC_CTRL_HNE(x) |
| #define | ENC_CTRL_HIP_MASK (0x2000U) |
| #define | ENC_CTRL_HIP_SHIFT (13U) |
| #define | ENC_CTRL_HIP(x) |
| #define | ENC_CTRL_HIE_MASK (0x4000U) |
| #define | ENC_CTRL_HIE_SHIFT (14U) |
| #define | ENC_CTRL_HIE(x) |
| #define | ENC_CTRL_HIRQ_MASK (0x8000U) |
| #define | ENC_CTRL_HIRQ_SHIFT (15U) |
| #define | ENC_CTRL_HIRQ(x) |
| #define | ENC_CTRL_CMPIE_MASK (0x1U) |
| #define | ENC_CTRL_CMPIE_SHIFT (0U) |
| #define | ENC_CTRL_CMPIE(x) |
| #define | ENC_CTRL_CMPIRQ_MASK (0x2U) |
| #define | ENC_CTRL_CMPIRQ_SHIFT (1U) |
| #define | ENC_CTRL_CMPIRQ(x) |
| #define | ENC_CTRL_WDE_MASK (0x4U) |
| #define | ENC_CTRL_WDE_SHIFT (2U) |
| #define | ENC_CTRL_WDE(x) |
| #define | ENC_CTRL_DIE_MASK (0x8U) |
| #define | ENC_CTRL_DIE_SHIFT (3U) |
| #define | ENC_CTRL_DIE(x) |
| #define | ENC_CTRL_DIRQ_MASK (0x10U) |
| #define | ENC_CTRL_DIRQ_SHIFT (4U) |
| #define | ENC_CTRL_DIRQ(x) |
| #define | ENC_CTRL_XNE_MASK (0x20U) |
| #define | ENC_CTRL_XNE_SHIFT (5U) |
| #define | ENC_CTRL_XNE(x) |
| #define | ENC_CTRL_XIP_MASK (0x40U) |
| #define | ENC_CTRL_XIP_SHIFT (6U) |
| #define | ENC_CTRL_XIP(x) |
| #define | ENC_CTRL_XIE_MASK (0x80U) |
| #define | ENC_CTRL_XIE_SHIFT (7U) |
| #define | ENC_CTRL_XIE(x) |
| #define | ENC_CTRL_XIRQ_MASK (0x100U) |
| #define | ENC_CTRL_XIRQ_SHIFT (8U) |
| #define | ENC_CTRL_XIRQ(x) |
| #define | ENC_CTRL_PH1_MASK (0x200U) |
| #define | ENC_CTRL_PH1_SHIFT (9U) |
| #define | ENC_CTRL_PH1(x) |
| #define | ENC_CTRL_REV_MASK (0x400U) |
| #define | ENC_CTRL_REV_SHIFT (10U) |
| #define | ENC_CTRL_REV(x) |
| #define | ENC_CTRL_SWIP_MASK (0x800U) |
| #define | ENC_CTRL_SWIP_SHIFT (11U) |
| #define | ENC_CTRL_SWIP(x) |
| #define | ENC_CTRL_HNE_MASK (0x1000U) |
| #define | ENC_CTRL_HNE_SHIFT (12U) |
| #define | ENC_CTRL_HNE(x) |
| #define | ENC_CTRL_HIP_MASK (0x2000U) |
| #define | ENC_CTRL_HIP_SHIFT (13U) |
| #define | ENC_CTRL_HIP(x) |
| #define | ENC_CTRL_HIE_MASK (0x4000U) |
| #define | ENC_CTRL_HIE_SHIFT (14U) |
| #define | ENC_CTRL_HIE(x) |
| #define | ENC_CTRL_HIRQ_MASK (0x8000U) |
| #define | ENC_CTRL_HIRQ_SHIFT (15U) |
| #define | ENC_CTRL_HIRQ(x) |
| #define | EWM_CTRL_EWMEN_MASK (0x1U) |
| #define | EWM_CTRL_EWMEN_SHIFT (0U) |
| #define | EWM_CTRL_EWMEN(x) |
| #define | EWM_CTRL_ASSIN_MASK (0x2U) |
| #define | EWM_CTRL_ASSIN_SHIFT (1U) |
| #define | EWM_CTRL_ASSIN(x) |
| #define | EWM_CTRL_INEN_MASK (0x4U) |
| #define | EWM_CTRL_INEN_SHIFT (2U) |
| #define | EWM_CTRL_INEN(x) |
| #define | EWM_CTRL_INTEN_MASK (0x8U) |
| #define | EWM_CTRL_INTEN_SHIFT (3U) |
| #define | EWM_CTRL_INTEN(x) |
| #define | PWM_CTRL_DBLEN_MASK (0x1U) |
| #define | PWM_CTRL_DBLEN_SHIFT (0U) |
| #define | PWM_CTRL_DBLEN(x) |
| #define | PWM_CTRL_DBLX_MASK (0x2U) |
| #define | PWM_CTRL_DBLX_SHIFT (1U) |
| #define | PWM_CTRL_DBLX(x) |
| #define | PWM_CTRL_LDMOD_MASK (0x4U) |
| #define | PWM_CTRL_LDMOD_SHIFT (2U) |
| #define | PWM_CTRL_LDMOD(x) |
| #define | PWM_CTRL_SPLIT_MASK (0x8U) |
| #define | PWM_CTRL_SPLIT_SHIFT (3U) |
| #define | PWM_CTRL_SPLIT(x) |
| #define | PWM_CTRL_PRSC_MASK (0x70U) |
| #define | PWM_CTRL_PRSC_SHIFT (4U) |
| #define | PWM_CTRL_PRSC(x) |
| #define | PWM_CTRL_COMPMODE_MASK (0x80U) |
| #define | PWM_CTRL_COMPMODE_SHIFT (7U) |
| #define | PWM_CTRL_COMPMODE(x) |
| #define | PWM_CTRL_DT_MASK (0x300U) |
| #define | PWM_CTRL_DT_SHIFT (8U) |
| #define | PWM_CTRL_DT(x) |
| #define | PWM_CTRL_FULL_MASK (0x400U) |
| #define | PWM_CTRL_FULL_SHIFT (10U) |
| #define | PWM_CTRL_FULL(x) |
| #define | PWM_CTRL_HALF_MASK (0x800U) |
| #define | PWM_CTRL_HALF_SHIFT (11U) |
| #define | PWM_CTRL_HALF(x) |
| #define | PWM_CTRL_LDFQ_MASK (0xF000U) |
| #define | PWM_CTRL_LDFQ_SHIFT (12U) |
| #define | PWM_CTRL_LDFQ(x) |
FILT - Input Filter Register | |
| #define | ENC_FILT_FILT_PER_MASK (0xFFU) |
| #define | ENC_FILT_FILT_PER_SHIFT (0U) |
| #define | ENC_FILT_FILT_PER(x) |
| #define | ENC_FILT_FILT_CNT_MASK (0x700U) |
| #define | ENC_FILT_FILT_CNT_SHIFT (8U) |
| #define | ENC_FILT_FILT_CNT(x) |
| #define | ENC_FILT_FILT_PER_MASK (0xFFU) |
| #define | ENC_FILT_FILT_PER_SHIFT (0U) |
| #define | ENC_FILT_FILT_PER(x) |
| #define | ENC_FILT_FILT_CNT_MASK (0x700U) |
| #define | ENC_FILT_FILT_CNT_SHIFT (8U) |
| #define | ENC_FILT_FILT_CNT(x) |
| #define | ENC_FILT_FILT_PRSC_MASK (0xE000U) |
| #define | ENC_FILT_FILT_PRSC_SHIFT (13U) |
| #define | ENC_FILT_FILT_PRSC(x) |
| #define | ENC_FILT_FILT_PER_MASK (0xFFU) |
| #define | ENC_FILT_FILT_PER_SHIFT (0U) |
| #define | ENC_FILT_FILT_PER(x) |
| #define | ENC_FILT_FILT_CNT_MASK (0x700U) |
| #define | ENC_FILT_FILT_CNT_SHIFT (8U) |
| #define | ENC_FILT_FILT_CNT(x) |
| #define | ENC_FILT_FILT_PRSC_MASK (0xE000U) |
| #define | ENC_FILT_FILT_PRSC_SHIFT (13U) |
| #define | ENC_FILT_FILT_PRSC(x) |
WTR - Watchdog Timeout Register | |
| #define | ENC_WTR_WDOG_MASK (0xFFFFU) |
| #define | ENC_WTR_WDOG_SHIFT (0U) |
| #define | ENC_WTR_WDOG(x) |
| #define | ENC_WTR_WDOG_MASK (0xFFFFU) |
| #define | ENC_WTR_WDOG_SHIFT (0U) |
| #define | ENC_WTR_WDOG(x) |
| #define | ENC_WTR_WDOG_MASK (0xFFFFU) |
| #define | ENC_WTR_WDOG_SHIFT (0U) |
| #define | ENC_WTR_WDOG(x) |
POSD - Position Difference Counter Register | |
| #define | ENC_POSD_POSD_MASK (0xFFFFU) |
| #define | ENC_POSD_POSD_SHIFT (0U) |
| #define | ENC_POSD_POSD(x) |
| #define | ENC_POSD_POSD_MASK (0xFFFFU) |
| #define | ENC_POSD_POSD_SHIFT (0U) |
| #define | ENC_POSD_POSD(x) |
| #define | ENC_POSD_POSD_MASK (0xFFFFU) |
| #define | ENC_POSD_POSD_SHIFT (0U) |
| #define | ENC_POSD_POSD(x) |
POSDH - Position Difference Hold Register | |
| #define | ENC_POSDH_POSDH_MASK (0xFFFFU) |
| #define | ENC_POSDH_POSDH_SHIFT (0U) |
| #define | ENC_POSDH_POSDH(x) |
| #define | ENC_POSDH_POSDH_MASK (0xFFFFU) |
| #define | ENC_POSDH_POSDH_SHIFT (0U) |
| #define | ENC_POSDH_POSDH(x) |
| #define | ENC_POSDH_POSDH_MASK (0xFFFFU) |
| #define | ENC_POSDH_POSDH_SHIFT (0U) |
| #define | ENC_POSDH_POSDH(x) |
REV - Revolution Counter Register | |
| #define | ENC_REV_REV_MASK (0xFFFFU) |
| #define | ENC_REV_REV_SHIFT (0U) |
| #define | ENC_REV_REV(x) |
| #define | ENC_REV_REV_MASK (0xFFFFU) |
| #define | ENC_REV_REV_SHIFT (0U) |
| #define | ENC_REV_REV(x) |
| #define | ENC_REV_REV_MASK (0xFFFFU) |
| #define | ENC_REV_REV_SHIFT (0U) |
| #define | ENC_REV_REV(x) |
REVH - Revolution Hold Register | |
| #define | ENC_REVH_REVH_MASK (0xFFFFU) |
| #define | ENC_REVH_REVH_SHIFT (0U) |
| #define | ENC_REVH_REVH(x) |
| #define | ENC_REVH_REVH_MASK (0xFFFFU) |
| #define | ENC_REVH_REVH_SHIFT (0U) |
| #define | ENC_REVH_REVH(x) |
| #define | ENC_REVH_REVH_MASK (0xFFFFU) |
| #define | ENC_REVH_REVH_SHIFT (0U) |
| #define | ENC_REVH_REVH(x) |
UPOS - Upper Position Counter Register | |
| #define | ENC_UPOS_POS_MASK (0xFFFFU) |
| #define | ENC_UPOS_POS_SHIFT (0U) |
| #define | ENC_UPOS_POS(x) |
| #define | ENC_UPOS_POS_MASK (0xFFFFU) |
| #define | ENC_UPOS_POS_SHIFT (0U) |
| #define | ENC_UPOS_POS(x) |
| #define | ENC_UPOS_POS_MASK (0xFFFFU) |
| #define | ENC_UPOS_POS_SHIFT (0U) |
| #define | ENC_UPOS_POS(x) |
LPOS - Lower Position Counter Register | |
| #define | ENC_LPOS_POS_MASK (0xFFFFU) |
| #define | ENC_LPOS_POS_SHIFT (0U) |
| #define | ENC_LPOS_POS(x) |
| #define | ENC_LPOS_POS_MASK (0xFFFFU) |
| #define | ENC_LPOS_POS_SHIFT (0U) |
| #define | ENC_LPOS_POS(x) |
| #define | ENC_LPOS_POS_MASK (0xFFFFU) |
| #define | ENC_LPOS_POS_SHIFT (0U) |
| #define | ENC_LPOS_POS(x) |
UPOSH - Upper Position Hold Register | |
| #define | ENC_UPOSH_POSH_MASK (0xFFFFU) |
| #define | ENC_UPOSH_POSH_SHIFT (0U) |
| #define | ENC_UPOSH_POSH(x) |
| #define | ENC_UPOSH_POSH_MASK (0xFFFFU) |
| #define | ENC_UPOSH_POSH_SHIFT (0U) |
| #define | ENC_UPOSH_POSH(x) |
| #define | ENC_UPOSH_POSH_MASK (0xFFFFU) |
| #define | ENC_UPOSH_POSH_SHIFT (0U) |
| #define | ENC_UPOSH_POSH(x) |
LPOSH - Lower Position Hold Register | |
| #define | ENC_LPOSH_POSH_MASK (0xFFFFU) |
| #define | ENC_LPOSH_POSH_SHIFT (0U) |
| #define | ENC_LPOSH_POSH(x) |
| #define | ENC_LPOSH_POSH_MASK (0xFFFFU) |
| #define | ENC_LPOSH_POSH_SHIFT (0U) |
| #define | ENC_LPOSH_POSH(x) |
| #define | ENC_LPOSH_POSH_MASK (0xFFFFU) |
| #define | ENC_LPOSH_POSH_SHIFT (0U) |
| #define | ENC_LPOSH_POSH(x) |
UINIT - Upper Initialization Register | |
| #define | ENC_UINIT_INIT_MASK (0xFFFFU) |
| #define | ENC_UINIT_INIT_SHIFT (0U) |
| #define | ENC_UINIT_INIT(x) |
| #define | ENC_UINIT_INIT_MASK (0xFFFFU) |
| #define | ENC_UINIT_INIT_SHIFT (0U) |
| #define | ENC_UINIT_INIT(x) |
| #define | ENC_UINIT_INIT_MASK (0xFFFFU) |
| #define | ENC_UINIT_INIT_SHIFT (0U) |
| #define | ENC_UINIT_INIT(x) |
LINIT - Lower Initialization Register | |
| #define | ENC_LINIT_INIT_MASK (0xFFFFU) |
| #define | ENC_LINIT_INIT_SHIFT (0U) |
| #define | ENC_LINIT_INIT(x) |
| #define | ENC_LINIT_INIT_MASK (0xFFFFU) |
| #define | ENC_LINIT_INIT_SHIFT (0U) |
| #define | ENC_LINIT_INIT(x) |
| #define | ENC_LINIT_INIT_MASK (0xFFFFU) |
| #define | ENC_LINIT_INIT_SHIFT (0U) |
| #define | ENC_LINIT_INIT(x) |
IMR - Input Monitor Register | |
| #define | ENC_IMR_HOME_MASK (0x1U) |
| #define | ENC_IMR_HOME_SHIFT (0U) |
| #define | ENC_IMR_HOME(x) |
| #define | ENC_IMR_INDEX_MASK (0x2U) |
| #define | ENC_IMR_INDEX_SHIFT (1U) |
| #define | ENC_IMR_INDEX(x) |
| #define | ENC_IMR_PHB_MASK (0x4U) |
| #define | ENC_IMR_PHB_SHIFT (2U) |
| #define | ENC_IMR_PHB(x) |
| #define | ENC_IMR_PHA_MASK (0x8U) |
| #define | ENC_IMR_PHA_SHIFT (3U) |
| #define | ENC_IMR_PHA(x) |
| #define | ENC_IMR_FHOM_MASK (0x10U) |
| #define | ENC_IMR_FHOM_SHIFT (4U) |
| #define | ENC_IMR_FHOM(x) |
| #define | ENC_IMR_FIND_MASK (0x20U) |
| #define | ENC_IMR_FIND_SHIFT (5U) |
| #define | ENC_IMR_FIND(x) |
| #define | ENC_IMR_FPHB_MASK (0x40U) |
| #define | ENC_IMR_FPHB_SHIFT (6U) |
| #define | ENC_IMR_FPHB(x) |
| #define | ENC_IMR_FPHA_MASK (0x80U) |
| #define | ENC_IMR_FPHA_SHIFT (7U) |
| #define | ENC_IMR_FPHA(x) |
| #define | ENC_IMR_HOME_MASK (0x1U) |
| #define | ENC_IMR_HOME_SHIFT (0U) |
| #define | ENC_IMR_HOME(x) |
| #define | ENC_IMR_INDEX_MASK (0x2U) |
| #define | ENC_IMR_INDEX_SHIFT (1U) |
| #define | ENC_IMR_INDEX(x) |
| #define | ENC_IMR_PHB_MASK (0x4U) |
| #define | ENC_IMR_PHB_SHIFT (2U) |
| #define | ENC_IMR_PHB(x) |
| #define | ENC_IMR_PHA_MASK (0x8U) |
| #define | ENC_IMR_PHA_SHIFT (3U) |
| #define | ENC_IMR_PHA(x) |
| #define | ENC_IMR_FHOM_MASK (0x10U) |
| #define | ENC_IMR_FHOM_SHIFT (4U) |
| #define | ENC_IMR_FHOM(x) |
| #define | ENC_IMR_FIND_MASK (0x20U) |
| #define | ENC_IMR_FIND_SHIFT (5U) |
| #define | ENC_IMR_FIND(x) |
| #define | ENC_IMR_FPHB_MASK (0x40U) |
| #define | ENC_IMR_FPHB_SHIFT (6U) |
| #define | ENC_IMR_FPHB(x) |
| #define | ENC_IMR_FPHA_MASK (0x80U) |
| #define | ENC_IMR_FPHA_SHIFT (7U) |
| #define | ENC_IMR_FPHA(x) |
| #define | ENC_IMR_HOME_MASK (0x1U) |
| #define | ENC_IMR_HOME_SHIFT (0U) |
| #define | ENC_IMR_HOME(x) |
| #define | ENC_IMR_INDEX_MASK (0x2U) |
| #define | ENC_IMR_INDEX_SHIFT (1U) |
| #define | ENC_IMR_INDEX(x) |
| #define | ENC_IMR_PHB_MASK (0x4U) |
| #define | ENC_IMR_PHB_SHIFT (2U) |
| #define | ENC_IMR_PHB(x) |
| #define | ENC_IMR_PHA_MASK (0x8U) |
| #define | ENC_IMR_PHA_SHIFT (3U) |
| #define | ENC_IMR_PHA(x) |
| #define | ENC_IMR_FHOM_MASK (0x10U) |
| #define | ENC_IMR_FHOM_SHIFT (4U) |
| #define | ENC_IMR_FHOM(x) |
| #define | ENC_IMR_FIND_MASK (0x20U) |
| #define | ENC_IMR_FIND_SHIFT (5U) |
| #define | ENC_IMR_FIND(x) |
| #define | ENC_IMR_FPHB_MASK (0x40U) |
| #define | ENC_IMR_FPHB_SHIFT (6U) |
| #define | ENC_IMR_FPHB(x) |
| #define | ENC_IMR_FPHA_MASK (0x80U) |
| #define | ENC_IMR_FPHA_SHIFT (7U) |
| #define | ENC_IMR_FPHA(x) |
TST - Test Register | |
| #define | ENC_TST_TEST_COUNT_MASK (0xFFU) |
| #define | ENC_TST_TEST_COUNT_SHIFT (0U) |
| #define | ENC_TST_TEST_COUNT(x) |
| #define | ENC_TST_TEST_PERIOD_MASK (0x1F00U) |
| #define | ENC_TST_TEST_PERIOD_SHIFT (8U) |
| #define | ENC_TST_TEST_PERIOD(x) |
| #define | ENC_TST_QDN_MASK (0x2000U) |
| #define | ENC_TST_QDN_SHIFT (13U) |
| #define | ENC_TST_QDN(x) |
| #define | ENC_TST_TCE_MASK (0x4000U) |
| #define | ENC_TST_TCE_SHIFT (14U) |
| #define | ENC_TST_TCE(x) |
| #define | ENC_TST_TEN_MASK (0x8000U) |
| #define | ENC_TST_TEN_SHIFT (15U) |
| #define | ENC_TST_TEN(x) |
| #define | ENC_TST_TEST_COUNT_MASK (0xFFU) |
| #define | ENC_TST_TEST_COUNT_SHIFT (0U) |
| #define | ENC_TST_TEST_COUNT(x) |
| #define | ENC_TST_TEST_PERIOD_MASK (0x1F00U) |
| #define | ENC_TST_TEST_PERIOD_SHIFT (8U) |
| #define | ENC_TST_TEST_PERIOD(x) |
| #define | ENC_TST_QDN_MASK (0x2000U) |
| #define | ENC_TST_QDN_SHIFT (13U) |
| #define | ENC_TST_QDN(x) |
| #define | ENC_TST_TCE_MASK (0x4000U) |
| #define | ENC_TST_TCE_SHIFT (14U) |
| #define | ENC_TST_TCE(x) |
| #define | ENC_TST_TEN_MASK (0x8000U) |
| #define | ENC_TST_TEN_SHIFT (15U) |
| #define | ENC_TST_TEN(x) |
| #define | ENC_TST_TEST_COUNT_MASK (0xFFU) |
| #define | ENC_TST_TEST_COUNT_SHIFT (0U) |
| #define | ENC_TST_TEST_COUNT(x) |
| #define | ENC_TST_TEST_PERIOD_MASK (0x1F00U) |
| #define | ENC_TST_TEST_PERIOD_SHIFT (8U) |
| #define | ENC_TST_TEST_PERIOD(x) |
| #define | ENC_TST_QDN_MASK (0x2000U) |
| #define | ENC_TST_QDN_SHIFT (13U) |
| #define | ENC_TST_QDN(x) |
| #define | ENC_TST_TCE_MASK (0x4000U) |
| #define | ENC_TST_TCE_SHIFT (14U) |
| #define | ENC_TST_TCE(x) |
| #define | ENC_TST_TEN_MASK (0x8000U) |
| #define | ENC_TST_TEN_SHIFT (15U) |
| #define | ENC_TST_TEN(x) |
CTRL2 - Control 2 register | |
| #define | ENC_CTRL2_UPDHLD_MASK (0x1U) |
| #define | ENC_CTRL2_UPDHLD_SHIFT (0U) |
| #define | ENC_CTRL2_UPDHLD(x) |
| #define | ENC_CTRL2_UPDPOS_MASK (0x2U) |
| #define | ENC_CTRL2_UPDPOS_SHIFT (1U) |
| #define | ENC_CTRL2_UPDPOS(x) |
| #define | ENC_CTRL2_MOD_MASK (0x4U) |
| #define | ENC_CTRL2_MOD_SHIFT (2U) |
| #define | ENC_CTRL2_MOD(x) |
| #define | ENC_CTRL2_DIR_MASK (0x8U) |
| #define | ENC_CTRL2_DIR_SHIFT (3U) |
| #define | ENC_CTRL2_DIR(x) |
| #define | ENC_CTRL2_RUIE_MASK (0x10U) |
| #define | ENC_CTRL2_RUIE_SHIFT (4U) |
| #define | ENC_CTRL2_RUIE(x) |
| #define | ENC_CTRL2_RUIRQ_MASK (0x20U) |
| #define | ENC_CTRL2_RUIRQ_SHIFT (5U) |
| #define | ENC_CTRL2_RUIRQ(x) |
| #define | ENC_CTRL2_ROIE_MASK (0x40U) |
| #define | ENC_CTRL2_ROIE_SHIFT (6U) |
| #define | ENC_CTRL2_ROIE(x) |
| #define | ENC_CTRL2_ROIRQ_MASK (0x80U) |
| #define | ENC_CTRL2_ROIRQ_SHIFT (7U) |
| #define | ENC_CTRL2_ROIRQ(x) |
| #define | ENC_CTRL2_REVMOD_MASK (0x100U) |
| #define | ENC_CTRL2_REVMOD_SHIFT (8U) |
| #define | ENC_CTRL2_REVMOD(x) |
| #define | ENC_CTRL2_OUTCTL_MASK (0x200U) |
| #define | ENC_CTRL2_OUTCTL_SHIFT (9U) |
| #define | ENC_CTRL2_OUTCTL(x) |
| #define | ENC_CTRL2_UPDHLD_MASK (0x1U) |
| #define | ENC_CTRL2_UPDHLD_SHIFT (0U) |
| #define | ENC_CTRL2_UPDHLD(x) |
| #define | ENC_CTRL2_UPDPOS_MASK (0x2U) |
| #define | ENC_CTRL2_UPDPOS_SHIFT (1U) |
| #define | ENC_CTRL2_UPDPOS(x) |
| #define | ENC_CTRL2_MOD_MASK (0x4U) |
| #define | ENC_CTRL2_MOD_SHIFT (2U) |
| #define | ENC_CTRL2_MOD(x) |
| #define | ENC_CTRL2_DIR_MASK (0x8U) |
| #define | ENC_CTRL2_DIR_SHIFT (3U) |
| #define | ENC_CTRL2_DIR(x) |
| #define | ENC_CTRL2_RUIE_MASK (0x10U) |
| #define | ENC_CTRL2_RUIE_SHIFT (4U) |
| #define | ENC_CTRL2_RUIE(x) |
| #define | ENC_CTRL2_RUIRQ_MASK (0x20U) |
| #define | ENC_CTRL2_RUIRQ_SHIFT (5U) |
| #define | ENC_CTRL2_RUIRQ(x) |
| #define | ENC_CTRL2_ROIE_MASK (0x40U) |
| #define | ENC_CTRL2_ROIE_SHIFT (6U) |
| #define | ENC_CTRL2_ROIE(x) |
| #define | ENC_CTRL2_ROIRQ_MASK (0x80U) |
| #define | ENC_CTRL2_ROIRQ_SHIFT (7U) |
| #define | ENC_CTRL2_ROIRQ(x) |
| #define | ENC_CTRL2_REVMOD_MASK (0x100U) |
| #define | ENC_CTRL2_REVMOD_SHIFT (8U) |
| #define | ENC_CTRL2_REVMOD(x) |
| #define | ENC_CTRL2_OUTCTL_MASK (0x200U) |
| #define | ENC_CTRL2_OUTCTL_SHIFT (9U) |
| #define | ENC_CTRL2_OUTCTL(x) |
| #define | ENC_CTRL2_SABIE_MASK (0x400U) |
| #define | ENC_CTRL2_SABIE_SHIFT (10U) |
| #define | ENC_CTRL2_SABIE(x) |
| #define | ENC_CTRL2_SABIRQ_MASK (0x800U) |
| #define | ENC_CTRL2_SABIRQ_SHIFT (11U) |
| #define | ENC_CTRL2_SABIRQ(x) |
| #define | ENC_CTRL2_UPDHLD_MASK (0x1U) |
| #define | ENC_CTRL2_UPDHLD_SHIFT (0U) |
| #define | ENC_CTRL2_UPDHLD(x) |
| #define | ENC_CTRL2_UPDPOS_MASK (0x2U) |
| #define | ENC_CTRL2_UPDPOS_SHIFT (1U) |
| #define | ENC_CTRL2_UPDPOS(x) |
| #define | ENC_CTRL2_MOD_MASK (0x4U) |
| #define | ENC_CTRL2_MOD_SHIFT (2U) |
| #define | ENC_CTRL2_MOD(x) |
| #define | ENC_CTRL2_DIR_MASK (0x8U) |
| #define | ENC_CTRL2_DIR_SHIFT (3U) |
| #define | ENC_CTRL2_DIR(x) |
| #define | ENC_CTRL2_RUIE_MASK (0x10U) |
| #define | ENC_CTRL2_RUIE_SHIFT (4U) |
| #define | ENC_CTRL2_RUIE(x) |
| #define | ENC_CTRL2_RUIRQ_MASK (0x20U) |
| #define | ENC_CTRL2_RUIRQ_SHIFT (5U) |
| #define | ENC_CTRL2_RUIRQ(x) |
| #define | ENC_CTRL2_ROIE_MASK (0x40U) |
| #define | ENC_CTRL2_ROIE_SHIFT (6U) |
| #define | ENC_CTRL2_ROIE(x) |
| #define | ENC_CTRL2_ROIRQ_MASK (0x80U) |
| #define | ENC_CTRL2_ROIRQ_SHIFT (7U) |
| #define | ENC_CTRL2_ROIRQ(x) |
| #define | ENC_CTRL2_REVMOD_MASK (0x100U) |
| #define | ENC_CTRL2_REVMOD_SHIFT (8U) |
| #define | ENC_CTRL2_REVMOD(x) |
| #define | ENC_CTRL2_OUTCTL_MASK (0x200U) |
| #define | ENC_CTRL2_OUTCTL_SHIFT (9U) |
| #define | ENC_CTRL2_OUTCTL(x) |
| #define | ENC_CTRL2_SABIE_MASK (0x400U) |
| #define | ENC_CTRL2_SABIE_SHIFT (10U) |
| #define | ENC_CTRL2_SABIE(x) |
| #define | ENC_CTRL2_SABIRQ_MASK (0x800U) |
| #define | ENC_CTRL2_SABIRQ_SHIFT (11U) |
| #define | ENC_CTRL2_SABIRQ(x) |
UMOD - Upper Modulus Register | |
| #define | ENC_UMOD_MOD_MASK (0xFFFFU) |
| #define | ENC_UMOD_MOD_SHIFT (0U) |
| #define | ENC_UMOD_MOD(x) |
| #define | ENC_UMOD_MOD_MASK (0xFFFFU) |
| #define | ENC_UMOD_MOD_SHIFT (0U) |
| #define | ENC_UMOD_MOD(x) |
| #define | ENC_UMOD_MOD_MASK (0xFFFFU) |
| #define | ENC_UMOD_MOD_SHIFT (0U) |
| #define | ENC_UMOD_MOD(x) |
LMOD - Lower Modulus Register | |
| #define | ENC_LMOD_MOD_MASK (0xFFFFU) |
| #define | ENC_LMOD_MOD_SHIFT (0U) |
| #define | ENC_LMOD_MOD(x) |
| #define | ENC_LMOD_MOD_MASK (0xFFFFU) |
| #define | ENC_LMOD_MOD_SHIFT (0U) |
| #define | ENC_LMOD_MOD(x) |
| #define | ENC_LMOD_MOD_MASK (0xFFFFU) |
| #define | ENC_LMOD_MOD_SHIFT (0U) |
| #define | ENC_LMOD_MOD(x) |
UCOMP - Upper Position Compare Register | |
| #define | ENC_UCOMP_COMP_MASK (0xFFFFU) |
| #define | ENC_UCOMP_COMP_SHIFT (0U) |
| #define | ENC_UCOMP_COMP(x) |
| #define | ENC_UCOMP_COMP_MASK (0xFFFFU) |
| #define | ENC_UCOMP_COMP_SHIFT (0U) |
| #define | ENC_UCOMP_COMP(x) |
| #define | ENC_UCOMP_COMP_MASK (0xFFFFU) |
| #define | ENC_UCOMP_COMP_SHIFT (0U) |
| #define | ENC_UCOMP_COMP(x) |
LCOMP - Lower Position Compare Register | |
| #define | ENC_LCOMP_COMP_MASK (0xFFFFU) |
| #define | ENC_LCOMP_COMP_SHIFT (0U) |
| #define | ENC_LCOMP_COMP(x) |
| #define | ENC_LCOMP_COMP_MASK (0xFFFFU) |
| #define | ENC_LCOMP_COMP_SHIFT (0U) |
| #define | ENC_LCOMP_COMP(x) |
| #define | ENC_LCOMP_COMP_MASK (0xFFFFU) |
| #define | ENC_LCOMP_COMP_SHIFT (0U) |
| #define | ENC_LCOMP_COMP(x) |
LASTEDGE - Last Edge Time Register | |
| #define | ENC_LASTEDGE_LASTEDGE_MASK (0xFFFFU) |
| #define | ENC_LASTEDGE_LASTEDGE_SHIFT (0U) |
| #define | ENC_LASTEDGE_LASTEDGE(x) |
| #define | ENC_LASTEDGE_LASTEDGE_MASK (0xFFFFU) |
| #define | ENC_LASTEDGE_LASTEDGE_SHIFT (0U) |
| #define | ENC_LASTEDGE_LASTEDGE(x) |
LASTEDGEH - Last Edge Time Hold Register | |
| #define | ENC_LASTEDGEH_LASTEDGEH_MASK (0xFFFFU) |
| #define | ENC_LASTEDGEH_LASTEDGEH_SHIFT (0U) |
| #define | ENC_LASTEDGEH_LASTEDGEH(x) |
| #define | ENC_LASTEDGEH_LASTEDGEH_MASK (0xFFFFU) |
| #define | ENC_LASTEDGEH_LASTEDGEH_SHIFT (0U) |
| #define | ENC_LASTEDGEH_LASTEDGEH(x) |
POSDPER - Position Difference Period Counter Register | |
| #define | ENC_POSDPER_POSDPER_MASK (0xFFFFU) |
| #define | ENC_POSDPER_POSDPER_SHIFT (0U) |
| #define | ENC_POSDPER_POSDPER(x) |
| #define | ENC_POSDPER_POSDPER_MASK (0xFFFFU) |
| #define | ENC_POSDPER_POSDPER_SHIFT (0U) |
| #define | ENC_POSDPER_POSDPER(x) |
POSDPERBFR - Position Difference Period Buffer Register | |
| #define | ENC_POSDPERBFR_POSDPERBFR_MASK (0xFFFFU) |
| #define | ENC_POSDPERBFR_POSDPERBFR_SHIFT (0U) |
| #define | ENC_POSDPERBFR_POSDPERBFR(x) |
| #define | ENC_POSDPERBFR_POSDPERBFR_MASK (0xFFFFU) |
| #define | ENC_POSDPERBFR_POSDPERBFR_SHIFT (0U) |
| #define | ENC_POSDPERBFR_POSDPERBFR(x) |
POSDPERH - Position Difference Period Hold Register | |
| #define | ENC_POSDPERH_POSDPERH_MASK (0xFFFFU) |
| #define | ENC_POSDPERH_POSDPERH_SHIFT (0U) |
| #define | ENC_POSDPERH_POSDPERH(x) |
| #define | ENC_POSDPERH_POSDPERH_MASK (0xFFFFU) |
| #define | ENC_POSDPERH_POSDPERH_SHIFT (0U) |
| #define | ENC_POSDPERH_POSDPERH(x) |
CTRL3 - Control 3 Register | |
| #define | ENC_CTRL3_PMEN_MASK (0x1U) |
| #define | ENC_CTRL3_PMEN_SHIFT (0U) |
| #define | ENC_CTRL3_PMEN(x) |
| #define | ENC_CTRL3_PRSC_MASK (0xF0U) |
| #define | ENC_CTRL3_PRSC_SHIFT (4U) |
| #define | ENC_CTRL3_PRSC(x) |
| #define | ENC_CTRL3_PMEN_MASK (0x1U) |
| #define | ENC_CTRL3_PMEN_SHIFT (0U) |
| #define | ENC_CTRL3_PMEN(x) |
| #define | ENC_CTRL3_PRSC_MASK (0xF0U) |
| #define | ENC_CTRL3_PRSC_SHIFT (4U) |
| #define | ENC_CTRL3_PRSC(x) |
| #define ENC_CTRL2_DIR | ( | x | ) |
DIR - Count Direction Flag 0b0..Last count was in the down direction 0b1..Last count was in the up direction
| #define ENC_CTRL2_DIR | ( | x | ) |
DIR - Count Direction Flag 0b0..Last count was in the down direction 0b1..Last count was in the up direction
| #define ENC_CTRL2_DIR | ( | x | ) |
DIR - Count Direction Flag 0b0..Last count was in the down direction 0b1..Last count was in the up direction
| #define ENC_CTRL2_MOD | ( | x | ) |
MOD - Enable Modulo Counting 0b0..Disable modulo counting 0b1..Enable modulo counting
| #define ENC_CTRL2_MOD | ( | x | ) |
MOD - Enable Modulo Counting 0b0..Disable modulo counting 0b1..Enable modulo counting
| #define ENC_CTRL2_MOD | ( | x | ) |
MOD - Enable Modulo Counting 0b0..Disable modulo counting 0b1..Enable modulo counting
| #define ENC_CTRL2_OUTCTL | ( | x | ) |
OUTCTL - Output Control 0b0..POSMATCH pulses when a match occurs between the position counters (POS) and the corresponding compare value (COMP ) 0b1..POSMATCH pulses when the UPOS, LPOS, REV, or POSD registers are read
| #define ENC_CTRL2_OUTCTL | ( | x | ) |
OUTCTL - Output Control 0b0..POSMATCH pulses when a match occurs between the position counters (POS) and the corresponding compare value (COMP ) 0b1..POSMATCH pulses when the UPOS, LPOS, REV, or POSD registers are read
| #define ENC_CTRL2_OUTCTL | ( | x | ) |
OUTCTL - Output Control 0b0..POSMATCH pulses when a match occurs between the position counters (POS) and the corresponding compare value (COMP ) 0b1..POSMATCH pulses when the UPOS, LPOS, REV, or POSD registers are read
| #define ENC_CTRL2_REVMOD | ( | x | ) |
REVMOD - Revolution Counter Modulus Enable 0b0..Use INDEX pulse to increment/decrement revolution counter (REV) 0b1..Use modulus counting roll-over/under to increment/decrement revolution counter (REV)
| #define ENC_CTRL2_REVMOD | ( | x | ) |
REVMOD - Revolution Counter Modulus Enable 0b0..Use INDEX pulse to increment/decrement revolution counter (REV) 0b1..Use modulus counting roll-over/under to increment/decrement revolution counter (REV)
| #define ENC_CTRL2_REVMOD | ( | x | ) |
REVMOD - Revolution Counter Modulus Enable 0b0..Use INDEX pulse to increment/decrement revolution counter (REV) 0b1..Use modulus counting roll-over/under to increment/decrement revolution counter (REV)
| #define ENC_CTRL2_ROIE | ( | x | ) |
ROIE - Roll-over Interrupt Enable 0b0..Disabled 0b1..Enabled
| #define ENC_CTRL2_ROIE | ( | x | ) |
ROIE - Roll-over Interrupt Enable 0b0..Disabled 0b1..Enabled
| #define ENC_CTRL2_ROIE | ( | x | ) |
ROIE - Roll-over Interrupt Enable 0b0..Disabled 0b1..Enabled
| #define ENC_CTRL2_ROIRQ | ( | x | ) |
ROIRQ - Roll-over Interrupt Request 0b0..No roll-over has occurred 0b1..Roll-over has occurred
| #define ENC_CTRL2_ROIRQ | ( | x | ) |
ROIRQ - Roll-over Interrupt Request 0b0..No roll-over has occurred 0b1..Roll-over has occurred
| #define ENC_CTRL2_ROIRQ | ( | x | ) |
ROIRQ - Roll-over Interrupt Request 0b0..No roll-over has occurred 0b1..Roll-over has occurred
| #define ENC_CTRL2_RUIE | ( | x | ) |
RUIE - Roll-under Interrupt Enable 0b0..Disabled 0b1..Enabled
| #define ENC_CTRL2_RUIE | ( | x | ) |
RUIE - Roll-under Interrupt Enable 0b0..Disabled 0b1..Enabled
| #define ENC_CTRL2_RUIE | ( | x | ) |
RUIE - Roll-under Interrupt Enable 0b0..Disabled 0b1..Enabled
| #define ENC_CTRL2_RUIRQ | ( | x | ) |
RUIRQ - Roll-under Interrupt Request 0b0..No roll-under has occurred 0b1..Roll-under has occurred
| #define ENC_CTRL2_RUIRQ | ( | x | ) |
RUIRQ - Roll-under Interrupt Request 0b0..No roll-under has occurred 0b1..Roll-under has occurred
| #define ENC_CTRL2_RUIRQ | ( | x | ) |
RUIRQ - Roll-under Interrupt Request 0b0..No roll-under has occurred 0b1..Roll-under has occurred
| #define ENC_CTRL2_SABIE | ( | x | ) |
SABIE - Simultaneous PHASEA and PHASEB Change Interrupt Enable 0b0..Disabled 0b1..Enabled
| #define ENC_CTRL2_SABIE | ( | x | ) |
SABIE - Simultaneous PHASEA and PHASEB Change Interrupt Enable 0b0..Disabled 0b1..Enabled
| #define ENC_CTRL2_SABIRQ | ( | x | ) |
SABIRQ - Simultaneous PHASEA and PHASEB Change Interrupt Request 0b0..No simultaneous change of PHASEA and PHASEB has occurred 0b1..A simultaneous change of PHASEA and PHASEB has occurred
| #define ENC_CTRL2_SABIRQ | ( | x | ) |
SABIRQ - Simultaneous PHASEA and PHASEB Change Interrupt Request 0b0..No simultaneous change of PHASEA and PHASEB has occurred 0b1..A simultaneous change of PHASEA and PHASEB has occurred
| #define ENC_CTRL2_UPDHLD | ( | x | ) |
UPDHLD - Update Hold Registers 0b0..Disable updates of hold registers on the rising edge of TRIGGER input signal 0b1..Enable updates of hold registers on the rising edge of TRIGGER input signal
| #define ENC_CTRL2_UPDHLD | ( | x | ) |
UPDHLD - Update Hold Registers 0b0..Disable updates of hold registers on the rising edge of TRIGGER input signal 0b1..Enable updates of hold registers on the rising edge of TRIGGER input signal
| #define ENC_CTRL2_UPDHLD | ( | x | ) |
UPDHLD - Update Hold Registers 0b0..Disable updates of hold registers on the rising edge of TRIGGER input signal 0b1..Enable updates of hold registers on the rising edge of TRIGGER input signal
| #define ENC_CTRL2_UPDPOS | ( | x | ) |
UPDPOS - Update Position Registers 0b0..No action for POSD, REV, UPOS and LPOS registers on rising edge of TRIGGER 0b1..Clear POSD, REV, UPOS and LPOS registers on rising edge of TRIGGER
| #define ENC_CTRL2_UPDPOS | ( | x | ) |
UPDPOS - Update Position Registers 0b0..No action for POSD, REV, UPOS and LPOS registers on rising edge of TRIGGER 0b1..Clear POSD, REV, UPOS and LPOS registers on rising edge of TRIGGER
| #define ENC_CTRL2_UPDPOS | ( | x | ) |
UPDPOS - Update Position Registers 0b0..No action for POSD, REV, UPOS and LPOS registers on rising edge of TRIGGER 0b1..Clear POSD, REV, UPOS and LPOS registers on rising edge of TRIGGER
| #define ENC_CTRL3_PMEN | ( | x | ) |
PMEN - Period measurement function enable 0b0..Period measurement functions are not used. POSD is loaded to POSDH and then cleared whenever POSD, UPOS, LPOS, or REV is read. 0b1..Period measurement functions are used. POSD is loaded to POSDH and then cleared only when POSD is read.
| #define ENC_CTRL3_PMEN | ( | x | ) |
PMEN - Period measurement function enable 0b0..Period measurement functions are not used. POSD is loaded to POSDH and then cleared whenever POSD, UPOS, LPOS, or REV is read. 0b1..Period measurement functions are used. POSD is loaded to POSDH and then cleared only when POSD is read.
| #define ENC_CTRL3_PRSC | ( | x | ) |
PRSC - Prescaler
| #define ENC_CTRL3_PRSC | ( | x | ) |
PRSC - Prescaler
| #define ENC_CTRL_CMPIE | ( | x | ) |
CMPIE - Compare Interrupt Enable 0b0..Disabled 0b1..Enabled
| #define ENC_CTRL_CMPIE | ( | x | ) |
CMPIE - Compare Interrupt Enable 0b0..Disabled 0b1..Enabled
| #define ENC_CTRL_CMPIE | ( | x | ) |
CMPIE - Compare Interrupt Enable 0b0..Disabled 0b1..Enabled
| #define ENC_CTRL_CMPIRQ | ( | x | ) |
CMPIRQ - Compare Interrupt Request 0b0..No match has occurred (the counter does not match the COMP value) 0b1..COMP match has occurred (the counter matches the COMP value)
| #define ENC_CTRL_CMPIRQ | ( | x | ) |
CMPIRQ - Compare Interrupt Request 0b0..No match has occurred (the counter does not match the COMP value) 0b1..COMP match has occurred (the counter matches the COMP value)
| #define ENC_CTRL_CMPIRQ | ( | x | ) |
CMPIRQ - Compare Interrupt Request 0b0..No match has occurred (the counter does not match the COMP value) 0b1..COMP match has occurred (the counter matches the COMP value)
| #define ENC_CTRL_DIE | ( | x | ) |
DIE - Watchdog Timeout Interrupt Enable 0b0..Disabled 0b1..Enabled
| #define ENC_CTRL_DIE | ( | x | ) |
DIE - Watchdog Timeout Interrupt Enable 0b0..Disabled 0b1..Enabled
| #define ENC_CTRL_DIE | ( | x | ) |
DIE - Watchdog Timeout Interrupt Enable 0b0..Disabled 0b1..Enabled
| #define ENC_CTRL_DIRQ | ( | x | ) |
DIRQ - Watchdog Timeout Interrupt Request 0b0..No Watchdog timeout interrupt has occurred 0b1..Watchdog timeout interrupt has occurred
| #define ENC_CTRL_DIRQ | ( | x | ) |
DIRQ - Watchdog Timeout Interrupt Request 0b0..No Watchdog timeout interrupt has occurred 0b1..Watchdog timeout interrupt has occurred
| #define ENC_CTRL_DIRQ | ( | x | ) |
DIRQ - Watchdog Timeout Interrupt Request 0b0..No Watchdog timeout interrupt has occurred 0b1..Watchdog timeout interrupt has occurred
| #define ENC_CTRL_HIE | ( | x | ) |
HIE - HOME Interrupt Enable 0b0..Disabled 0b1..Enabled
| #define ENC_CTRL_HIE | ( | x | ) |
HIE - HOME Interrupt Enable 0b0..Disabled 0b1..Enabled
| #define ENC_CTRL_HIE | ( | x | ) |
HIE - HOME Interrupt Enable 0b0..Disabled 0b1..Enabled
| #define ENC_CTRL_HIP | ( | x | ) |
HIP - Enable HOME to Initialize Position Counters UPOS and LPOS 0b0..No action 0b1..HOME signal initializes the position counter
| #define ENC_CTRL_HIP | ( | x | ) |
HIP - Enable HOME to Initialize Position Counters UPOS and LPOS 0b0..No action 0b1..HOME signal initializes the position counter
| #define ENC_CTRL_HIP | ( | x | ) |
HIP - Enable HOME to Initialize Position Counters UPOS and LPOS 0b0..No action 0b1..HOME signal initializes the position counter
| #define ENC_CTRL_HIRQ | ( | x | ) |
HIRQ - HOME Signal Transition Interrupt Request 0b0..No transition on the HOME signal has occurred 0b1..A transition on the HOME signal has occurred
| #define ENC_CTRL_HIRQ | ( | x | ) |
HIRQ - HOME Signal Transition Interrupt Request 0b0..No transition on the HOME signal has occurred 0b1..A transition on the HOME signal has occurred
| #define ENC_CTRL_HIRQ | ( | x | ) |
HIRQ - HOME Signal Transition Interrupt Request 0b0..No transition on the HOME signal has occurred 0b1..A transition on the HOME signal has occurred
| #define ENC_CTRL_HNE | ( | x | ) |
HNE - Use Negative Edge of HOME Input 0b0..Use positive-going edge-to-trigger initialization of position counters UPOS and LPOS 0b1..Use negative-going edge-to-trigger initialization of position counters UPOS and LPOS
| #define ENC_CTRL_HNE | ( | x | ) |
HNE - Use Negative Edge of HOME Input 0b0..Use positive-going edge-to-trigger initialization of position counters UPOS and LPOS 0b1..Use negative-going edge-to-trigger initialization of position counters UPOS and LPOS
| #define ENC_CTRL_HNE | ( | x | ) |
HNE - Use Negative Edge of HOME Input 0b0..Use positive-going edge-to-trigger initialization of position counters UPOS and LPOS 0b1..Use negative-going edge-to-trigger initialization of position counters UPOS and LPOS
| #define ENC_CTRL_PH1 | ( | x | ) |
PH1 - Enable Signal Phase Count Mode 0b0..Use the standard quadrature decoder, where PHASEA and PHASEB represent a two-phase quadrature signal. 0b1..Bypass the quadrature decoder. A positive transition of the PHASEA input generates a count signal. The PHASEB input and the REV bit control the counter direction: If CTRL[REV] = 0, PHASEB = 0, then count up If CTRL[REV] = 1, PHASEB = 1, then count up If CTRL[REV] = 0, PHASEB = 1, then count down If CTRL[REV] = 1, PHASEB = 0, then count down
| #define ENC_CTRL_PH1 | ( | x | ) |
PH1 - Enable Signal Phase Count Mode 0b0..Use the standard quadrature decoder, where PHASEA and PHASEB represent a two-phase quadrature signal. 0b1..Bypass the quadrature decoder. A positive transition of the PHASEA input generates a count signal. The PHASEB input and the REV bit control the counter direction: If CTRL[REV] = 0, PHASEB = 0, then count up If CTRL[REV] = 1, PHASEB = 1, then count up If CTRL[REV] = 0, PHASEB = 1, then count down If CTRL[REV] = 1, PHASEB = 0, then count down
| #define ENC_CTRL_PH1 | ( | x | ) |
PH1 - Enable Signal Phase Count Mode 0b0..Use the standard quadrature decoder, where PHASEA and PHASEB represent a two-phase quadrature signal. 0b1..Bypass the quadrature decoder. A positive transition of the PHASEA input generates a count signal. The PHASEB input and the REV bit control the counter direction: If CTRL[REV] = 0, PHASEB = 0, then count up If CTRL[REV] = 1, PHASEB = 1, then count up If CTRL[REV] = 0, PHASEB = 1, then count down If CTRL[REV] = 1, PHASEB = 0, then count down
| #define ENC_CTRL_REV | ( | x | ) |
REV - Enable Reverse Direction Counting 0b0..Count normally 0b1..Count in the reverse direction
| #define ENC_CTRL_REV | ( | x | ) |
REV - Enable Reverse Direction Counting 0b0..Count normally 0b1..Count in the reverse direction
| #define ENC_CTRL_REV | ( | x | ) |
REV - Enable Reverse Direction Counting 0b0..Count normally 0b1..Count in the reverse direction
| #define ENC_CTRL_SWIP | ( | x | ) |
SWIP - Software-Triggered Initialization of Position Counters UPOS and LPOS 0b0..No action 0b1..Initialize position counter (using upper and lower initialization registers, UINIT and LINIT)
| #define ENC_CTRL_SWIP | ( | x | ) |
SWIP - Software-Triggered Initialization of Position Counters UPOS and LPOS 0b0..No action 0b1..Initialize position counter (using upper and lower initialization registers, UINIT and LINIT)
| #define ENC_CTRL_SWIP | ( | x | ) |
SWIP - Software-Triggered Initialization of Position Counters UPOS and LPOS 0b0..No action 0b1..Initialize position counter (using upper and lower initialization registers, UINIT and LINIT)
| #define ENC_CTRL_WDE | ( | x | ) |
WDE - Watchdog Enable 0b0..Disabled 0b1..Enabled
| #define ENC_CTRL_WDE | ( | x | ) |
WDE - Watchdog Enable 0b0..Disabled 0b1..Enabled
| #define ENC_CTRL_WDE | ( | x | ) |
WDE - Watchdog Enable 0b0..Disabled 0b1..Enabled
| #define ENC_CTRL_XIE | ( | x | ) |
XIE - INDEX Pulse Interrupt Enable 0b0..Disabled 0b1..Enabled
| #define ENC_CTRL_XIE | ( | x | ) |
XIE - INDEX Pulse Interrupt Enable 0b0..Disabled 0b1..Enabled
| #define ENC_CTRL_XIE | ( | x | ) |
XIE - INDEX Pulse Interrupt Enable 0b0..Disabled 0b1..Enabled
| #define ENC_CTRL_XIP | ( | x | ) |
XIP - INDEX Triggered Initialization of Position Counters UPOS and LPOS 0b0..INDEX pulse does not initialize the position counter 0b1..INDEX pulse initializes the position counter
| #define ENC_CTRL_XIP | ( | x | ) |
XIP - INDEX Triggered Initialization of Position Counters UPOS and LPOS 0b0..INDEX pulse does not initialize the position counter 0b1..INDEX pulse initializes the position counter
| #define ENC_CTRL_XIP | ( | x | ) |
XIP - INDEX Triggered Initialization of Position Counters UPOS and LPOS 0b0..INDEX pulse does not initialize the position counter 0b1..INDEX pulse initializes the position counter
| #define ENC_CTRL_XIRQ | ( | x | ) |
XIRQ - INDEX Pulse Interrupt Request 0b0..INDEX pulse has not occurred 0b1..INDEX pulse has occurred
| #define ENC_CTRL_XIRQ | ( | x | ) |
XIRQ - INDEX Pulse Interrupt Request 0b0..INDEX pulse has not occurred 0b1..INDEX pulse has occurred
| #define ENC_CTRL_XIRQ | ( | x | ) |
XIRQ - INDEX Pulse Interrupt Request 0b0..INDEX pulse has not occurred 0b1..INDEX pulse has occurred
| #define ENC_CTRL_XNE | ( | x | ) |
XNE - Use Negative Edge of INDEX Pulse 0b0..Use positive edge of INDEX pulse 0b1..Use negative edge of INDEX pulse
| #define ENC_CTRL_XNE | ( | x | ) |
XNE - Use Negative Edge of INDEX Pulse 0b0..Use positive edge of INDEX pulse 0b1..Use negative edge of INDEX pulse
| #define ENC_CTRL_XNE | ( | x | ) |
XNE - Use Negative Edge of INDEX Pulse 0b0..Use positive edge of INDEX pulse 0b1..Use negative edge of INDEX pulse
| #define ENC_FILT_FILT_CNT | ( | x | ) |
FILT_CNT - Input Filter Sample Count
| #define ENC_FILT_FILT_CNT | ( | x | ) |
FILT_CNT - Input Filter Sample Count
| #define ENC_FILT_FILT_CNT | ( | x | ) |
FILT_CNT - Input Filter Sample Count
| #define ENC_FILT_FILT_PER | ( | x | ) |
FILT_PER - Input Filter Sample Period
| #define ENC_FILT_FILT_PER | ( | x | ) |
FILT_PER - Input Filter Sample Period
| #define ENC_FILT_FILT_PER | ( | x | ) |
FILT_PER - Input Filter Sample Period
| #define ENC_FILT_FILT_PRSC | ( | x | ) |
FILT_PRSC - prescaler divide IPbus clock to FILT clk
| #define ENC_FILT_FILT_PRSC | ( | x | ) |
FILT_PRSC - prescaler divide IPbus clock to FILT clk
| #define ENC_IMR_FHOM | ( | x | ) |
FHOM - FHOM
| #define ENC_IMR_FHOM | ( | x | ) |
FHOM - FHOM
| #define ENC_IMR_FHOM | ( | x | ) |
FHOM - FHOM
| #define ENC_IMR_FIND | ( | x | ) |
FIND - FIND
| #define ENC_IMR_FIND | ( | x | ) |
FIND - FIND
| #define ENC_IMR_FIND | ( | x | ) |
FIND - FIND
| #define ENC_IMR_FPHA | ( | x | ) |
FPHA - FPHA
| #define ENC_IMR_FPHA | ( | x | ) |
FPHA - FPHA
| #define ENC_IMR_FPHA | ( | x | ) |
FPHA - FPHA
| #define ENC_IMR_FPHB | ( | x | ) |
FPHB - FPHB
| #define ENC_IMR_FPHB | ( | x | ) |
FPHB - FPHB
| #define ENC_IMR_FPHB | ( | x | ) |
FPHB - FPHB
| #define ENC_IMR_HOME | ( | x | ) |
HOME - HOME
| #define ENC_IMR_HOME | ( | x | ) |
HOME - HOME
| #define ENC_IMR_HOME | ( | x | ) |
HOME - HOME
| #define ENC_IMR_INDEX | ( | x | ) |
INDEX - INDEX
| #define ENC_IMR_INDEX | ( | x | ) |
INDEX - INDEX
| #define ENC_IMR_INDEX | ( | x | ) |
INDEX - INDEX
| #define ENC_IMR_PHA | ( | x | ) |
PHA - PHA
| #define ENC_IMR_PHA | ( | x | ) |
PHA - PHA
| #define ENC_IMR_PHA | ( | x | ) |
PHA - PHA
| #define ENC_IMR_PHB | ( | x | ) |
PHB - PHB
| #define ENC_IMR_PHB | ( | x | ) |
PHB - PHB
| #define ENC_IMR_PHB | ( | x | ) |
PHB - PHB
| #define ENC_LASTEDGE_LASTEDGE | ( | x | ) |
LASTEDGE - Last Edge Time Counter
| #define ENC_LASTEDGE_LASTEDGE | ( | x | ) |
LASTEDGE - Last Edge Time Counter
| #define ENC_LASTEDGEH_LASTEDGEH | ( | x | ) |
LASTEDGEH - Last Edge Time Hold
| #define ENC_LASTEDGEH_LASTEDGEH | ( | x | ) |
LASTEDGEH - Last Edge Time Hold
| #define ENC_LCOMP_COMP | ( | x | ) |
COMP - COMP
| #define ENC_LCOMP_COMP | ( | x | ) |
COMP - COMP
| #define ENC_LCOMP_COMP | ( | x | ) |
COMP - COMP
| #define ENC_LINIT_INIT | ( | x | ) |
INIT - INIT
| #define ENC_LINIT_INIT | ( | x | ) |
INIT - INIT
| #define ENC_LINIT_INIT | ( | x | ) |
INIT - INIT
| #define ENC_LMOD_MOD | ( | x | ) |
MOD - MOD
| #define ENC_LMOD_MOD | ( | x | ) |
MOD - MOD
| #define ENC_LMOD_MOD | ( | x | ) |
MOD - MOD
| #define ENC_LPOS_POS | ( | x | ) |
POS - POS
| #define ENC_LPOS_POS | ( | x | ) |
POS - POS
| #define ENC_LPOS_POS | ( | x | ) |
POS - POS
| #define ENC_LPOSH_POSH | ( | x | ) |
POSH - POSH
| #define ENC_LPOSH_POSH | ( | x | ) |
POSH - POSH
| #define ENC_LPOSH_POSH | ( | x | ) |
POSH - POSH
| #define ENC_POSD_POSD | ( | x | ) |
POSD - POSD
| #define ENC_POSD_POSD | ( | x | ) |
POSD - POSD
| #define ENC_POSD_POSD | ( | x | ) |
POSD - POSD
| #define ENC_POSDH_POSDH | ( | x | ) |
POSDH - POSDH
| #define ENC_POSDH_POSDH | ( | x | ) |
POSDH - POSDH
| #define ENC_POSDH_POSDH | ( | x | ) |
POSDH - POSDH
| #define ENC_POSDPER_POSDPER | ( | x | ) |
POSDPER - Position difference period
| #define ENC_POSDPER_POSDPER | ( | x | ) |
POSDPER - Position difference period
| #define ENC_POSDPERBFR_POSDPERBFR | ( | x | ) |
POSDPERBFR - Position difference period buffer
| #define ENC_POSDPERBFR_POSDPERBFR | ( | x | ) |
POSDPERBFR - Position difference period buffer
| #define ENC_POSDPERH_POSDPERH | ( | x | ) |
POSDPERH - Position difference period hold
| #define ENC_POSDPERH_POSDPERH | ( | x | ) |
POSDPERH - Position difference period hold
| #define ENC_REV_REV | ( | x | ) |
REV - REV
| #define ENC_REV_REV | ( | x | ) |
REV - REV
| #define ENC_REV_REV | ( | x | ) |
REV - REV
| #define ENC_REVH_REVH | ( | x | ) |
REVH - REVH
| #define ENC_REVH_REVH | ( | x | ) |
REVH - REVH
| #define ENC_REVH_REVH | ( | x | ) |
REVH - REVH
| #define ENC_TST_QDN | ( | x | ) |
QDN - Quadrature Decoder Negative Signal 0b0..Generates a positive quadrature decoder signal 0b1..Generates a negative quadrature decoder signal
| #define ENC_TST_QDN | ( | x | ) |
QDN - Quadrature Decoder Negative Signal 0b0..Generates a positive quadrature decoder signal 0b1..Generates a negative quadrature decoder signal
| #define ENC_TST_QDN | ( | x | ) |
QDN - Quadrature Decoder Negative Signal 0b0..Generates a positive quadrature decoder signal 0b1..Generates a negative quadrature decoder signal
| #define ENC_TST_TCE | ( | x | ) |
TCE - Test Counter Enable 0b0..Disabled 0b1..Enabled
| #define ENC_TST_TCE | ( | x | ) |
TCE - Test Counter Enable 0b0..Disabled 0b1..Enabled
| #define ENC_TST_TCE | ( | x | ) |
TCE - Test Counter Enable 0b0..Disabled 0b1..Enabled
| #define ENC_TST_TEN | ( | x | ) |
TEN - Test Mode Enable 0b0..Disabled 0b1..Enabled
| #define ENC_TST_TEN | ( | x | ) |
TEN - Test Mode Enable 0b0..Disabled 0b1..Enabled
| #define ENC_TST_TEN | ( | x | ) |
TEN - Test Mode Enable 0b0..Disabled 0b1..Enabled
| #define ENC_TST_TEST_COUNT | ( | x | ) |
TEST_COUNT - TEST_COUNT
| #define ENC_TST_TEST_COUNT | ( | x | ) |
TEST_COUNT - TEST_COUNT
| #define ENC_TST_TEST_COUNT | ( | x | ) |
TEST_COUNT - TEST_COUNT
| #define ENC_TST_TEST_PERIOD | ( | x | ) |
TEST_PERIOD - TEST_PERIOD
| #define ENC_TST_TEST_PERIOD | ( | x | ) |
TEST_PERIOD - TEST_PERIOD
| #define ENC_TST_TEST_PERIOD | ( | x | ) |
TEST_PERIOD - TEST_PERIOD
| #define ENC_UCOMP_COMP | ( | x | ) |
COMP - COMP
| #define ENC_UCOMP_COMP | ( | x | ) |
COMP - COMP
| #define ENC_UCOMP_COMP | ( | x | ) |
COMP - COMP
| #define ENC_UINIT_INIT | ( | x | ) |
INIT - INIT
| #define ENC_UINIT_INIT | ( | x | ) |
INIT - INIT
| #define ENC_UINIT_INIT | ( | x | ) |
INIT - INIT
| #define ENC_UMOD_MOD | ( | x | ) |
MOD - MOD
| #define ENC_UMOD_MOD | ( | x | ) |
MOD - MOD
| #define ENC_UMOD_MOD | ( | x | ) |
MOD - MOD
| #define ENC_UPOS_POS | ( | x | ) |
POS - POS
| #define ENC_UPOS_POS | ( | x | ) |
POS - POS
| #define ENC_UPOS_POS | ( | x | ) |
POS - POS
| #define ENC_UPOSH_POSH | ( | x | ) |
POSH - POSH
| #define ENC_UPOSH_POSH | ( | x | ) |
POSH - POSH
| #define ENC_UPOSH_POSH | ( | x | ) |
POSH - POSH
| #define ENC_WTR_WDOG | ( | x | ) |
WDOG - WDOG
| #define ENC_WTR_WDOG | ( | x | ) |
WDOG - WDOG
| #define ENC_WTR_WDOG | ( | x | ) |
WDOG - WDOG
| #define EWM_CTRL_ASSIN | ( | x | ) |
ASSIN - EWM_in's Assertion State Select.
ASSIN - EWM_in's Assertion State Select. 0b0..Default assert state of the EWM_in signal. 0b1..Inverts the assert state of EWM_in signal.
| #define EWM_CTRL_ASSIN | ( | x | ) |
ASSIN - EWM_in's Assertion State Select. 0b0..Default assert state of the EWM_in signal. 0b1..Inverts the assert state of EWM_in signal.
| #define EWM_CTRL_ASSIN | ( | x | ) |
ASSIN - EWM_in's Assertion State Select. 0b0..Default assert state of the EWM_in signal. 0b1..Inverts the assert state of EWM_in signal.
| #define EWM_CTRL_EWMEN | ( | x | ) |
EWMEN - EWM enable.
EWMEN - EWM enable. 0b0..EWM module is disabled. 0b1..EWM module is enabled.
| #define EWM_CTRL_EWMEN | ( | x | ) |
EWMEN - EWM enable. 0b0..EWM module is disabled. 0b1..EWM module is enabled.
| #define EWM_CTRL_EWMEN | ( | x | ) |
EWMEN - EWM enable. 0b0..EWM module is disabled. 0b1..EWM module is enabled.
| #define EWM_CTRL_INEN | ( | x | ) |
INEN - Input Enable.
INEN - Input Enable. 0b0..EWM_in port is disabled. 0b1..EWM_in port is enabled.
| #define EWM_CTRL_INEN | ( | x | ) |
INEN - Input Enable. 0b0..EWM_in port is disabled. 0b1..EWM_in port is enabled.
| #define EWM_CTRL_INEN | ( | x | ) |
INEN - Input Enable. 0b0..EWM_in port is disabled. 0b1..EWM_in port is enabled.
| #define EWM_CTRL_INTEN | ( | x | ) |
INTEN - Interrupt Enable.
INTEN - Interrupt Enable. 0b1..Generates an interrupt request, when EWM_OUT_b is asserted. 0b0..Deasserts the interrupt request.
| #define EWM_CTRL_INTEN | ( | x | ) |
INTEN - Interrupt Enable. 0b1..Generates an interrupt request, when EWM_OUT_b is asserted. 0b0..Deasserts the interrupt request.
| #define EWM_CTRL_INTEN | ( | x | ) |
INTEN - Interrupt Enable. 0b1..Generates an interrupt request, when EWM_OUT_b is asserted. 0b0..Deasserts the interrupt request.
| #define PWM_CTRL_COMPMODE | ( | x | ) |
COMPMODE - Compare Mode 0b0..The VAL* registers and the PWM counter are compared using an "equal to" method. This means that PWM edges are only produced when the counter is equal to one of the VAL* register values. This implies that a PWMA output that is high at the end of a period will maintain this state until a match with VAL3 clears the output in the following period. 0b1..The VAL* registers and the PWM counter are compared using an "equal to or greater than" method. This means that PWM edges are produced when the counter is equal to or greater than one of the VAL* register values. This implies that a PWMA output that is high at the end of a period could go low at the start of the next period if the starting counter value is greater than (but not necessarily equal to) the new VAL3 value.
| #define PWM_CTRL_COMPMODE | ( | x | ) |
COMPMODE - Compare Mode 0b0..The VAL* registers and the PWM counter are compared using an "equal to" method. This means that PWM edges are only produced when the counter is equal to one of the VAL* register values. This implies that a PWMA output that is high at the end of a period will maintain this state until a match with VAL3 clears the output in the following period. 0b1..The VAL* registers and the PWM counter are compared using an "equal to or greater than" method. This means that PWM edges are produced when the counter is equal to or greater than one of the VAL* register values. This implies that a PWMA output that is high at the end of a period could go low at the start of the next period if the starting counter value is greater than (but not necessarily equal to) the new VAL3 value.
| #define PWM_CTRL_COMPMODE | ( | x | ) |
COMPMODE - Compare Mode 0b0..The VAL* registers and the PWM counter are compared using an "equal to" method. This means that PWM edges are only produced when the counter is equal to one of the VAL* register values. This implies that a PWMA output that is high at the end of a period will maintain this state until a match with VAL3 clears the output in the following period. 0b1..The VAL* registers and the PWM counter are compared using an "equal to or greater than" method. This means that PWM edges are produced when the counter is equal to or greater than one of the VAL* register values. This implies that a PWMA output that is high at the end of a period could go low at the start of the next period if the starting counter value is greater than (but not necessarily equal to) the new VAL3 value.
| #define PWM_CTRL_DBLEN | ( | x | ) |
DBLEN - Double Switching Enable 0b0..Double switching disabled. 0b1..Double switching enabled.
| #define PWM_CTRL_DBLEN | ( | x | ) |
DBLEN - Double Switching Enable 0b0..Double switching disabled. 0b1..Double switching enabled.
| #define PWM_CTRL_DBLEN | ( | x | ) |
DBLEN - Double Switching Enable 0b0..Double switching disabled. 0b1..Double switching enabled.
| #define PWM_CTRL_DBLX | ( | x | ) |
DBLX - PWMX Double Switching Enable 0b0..PWMX double pulse disabled. 0b1..PWMX double pulse enabled.
| #define PWM_CTRL_DBLX | ( | x | ) |
DBLX - PWMX Double Switching Enable 0b0..PWMX double pulse disabled. 0b1..PWMX double pulse enabled.
| #define PWM_CTRL_DBLX | ( | x | ) |
DBLX - PWMX Double Switching Enable 0b0..PWMX double pulse disabled. 0b1..PWMX double pulse enabled.
| #define PWM_CTRL_DT | ( | x | ) |
DT - Deadtime
| #define PWM_CTRL_DT | ( | x | ) |
DT - Deadtime
| #define PWM_CTRL_DT | ( | x | ) |
DT - Deadtime
| #define PWM_CTRL_FULL | ( | x | ) |
FULL - Full Cycle Reload 0b0..Full-cycle reloads disabled. 0b1..Full-cycle reloads enabled.
| #define PWM_CTRL_FULL | ( | x | ) |
FULL - Full Cycle Reload 0b0..Full-cycle reloads disabled. 0b1..Full-cycle reloads enabled.
| #define PWM_CTRL_FULL | ( | x | ) |
FULL - Full Cycle Reload 0b0..Full-cycle reloads disabled. 0b1..Full-cycle reloads enabled.
| #define PWM_CTRL_HALF | ( | x | ) |
HALF - Half Cycle Reload 0b0..Half-cycle reloads disabled. 0b1..Half-cycle reloads enabled.
| #define PWM_CTRL_HALF | ( | x | ) |
HALF - Half Cycle Reload 0b0..Half-cycle reloads disabled. 0b1..Half-cycle reloads enabled.
| #define PWM_CTRL_HALF | ( | x | ) |
HALF - Half Cycle Reload 0b0..Half-cycle reloads disabled. 0b1..Half-cycle reloads enabled.
| #define PWM_CTRL_LDFQ | ( | x | ) |
LDFQ - Load Frequency 0b0000..Every PWM opportunity 0b0001..Every 2 PWM opportunities 0b0010..Every 3 PWM opportunities 0b0011..Every 4 PWM opportunities 0b0100..Every 5 PWM opportunities 0b0101..Every 6 PWM opportunities 0b0110..Every 7 PWM opportunities 0b0111..Every 8 PWM opportunities 0b1000..Every 9 PWM opportunities 0b1001..Every 10 PWM opportunities 0b1010..Every 11 PWM opportunities 0b1011..Every 12 PWM opportunities 0b1100..Every 13 PWM opportunities 0b1101..Every 14 PWM opportunities 0b1110..Every 15 PWM opportunities 0b1111..Every 16 PWM opportunities
| #define PWM_CTRL_LDFQ | ( | x | ) |
LDFQ - Load Frequency 0b0000..Every PWM opportunity 0b0001..Every 2 PWM opportunities 0b0010..Every 3 PWM opportunities 0b0011..Every 4 PWM opportunities 0b0100..Every 5 PWM opportunities 0b0101..Every 6 PWM opportunities 0b0110..Every 7 PWM opportunities 0b0111..Every 8 PWM opportunities 0b1000..Every 9 PWM opportunities 0b1001..Every 10 PWM opportunities 0b1010..Every 11 PWM opportunities 0b1011..Every 12 PWM opportunities 0b1100..Every 13 PWM opportunities 0b1101..Every 14 PWM opportunities 0b1110..Every 15 PWM opportunities 0b1111..Every 16 PWM opportunities
| #define PWM_CTRL_LDFQ | ( | x | ) |
LDFQ - Load Frequency 0b0000..Every PWM opportunity 0b0001..Every 2 PWM opportunities 0b0010..Every 3 PWM opportunities 0b0011..Every 4 PWM opportunities 0b0100..Every 5 PWM opportunities 0b0101..Every 6 PWM opportunities 0b0110..Every 7 PWM opportunities 0b0111..Every 8 PWM opportunities 0b1000..Every 9 PWM opportunities 0b1001..Every 10 PWM opportunities 0b1010..Every 11 PWM opportunities 0b1011..Every 12 PWM opportunities 0b1100..Every 13 PWM opportunities 0b1101..Every 14 PWM opportunities 0b1110..Every 15 PWM opportunities 0b1111..Every 16 PWM opportunities
| #define PWM_CTRL_LDMOD | ( | x | ) |
LDMOD - Load Mode Select 0b0..Buffered registers of this submodule are loaded and take effect at the next PWM reload if MCTRL[LDOK] is set. 0b1..Buffered registers of this submodule are loaded and take effect immediately upon MCTRL[LDOK] being set. In this case it is not necessary to set CTRL[FULL] or CTRL[HALF].
| #define PWM_CTRL_LDMOD | ( | x | ) |
LDMOD - Load Mode Select 0b0..Buffered registers of this submodule are loaded and take effect at the next PWM reload if MCTRL[LDOK] is set. 0b1..Buffered registers of this submodule are loaded and take effect immediately upon MCTRL[LDOK] being set. In this case it is not necessary to set CTRL[FULL] or CTRL[HALF].
| #define PWM_CTRL_LDMOD | ( | x | ) |
LDMOD - Load Mode Select 0b0..Buffered registers of this submodule are loaded and take effect at the next PWM reload if MCTRL[LDOK] is set. 0b1..Buffered registers of this submodule are loaded and take effect immediately upon MCTRL[LDOK] being set. In this case it is not necessary to set CTRL[FULL] or CTRL[HALF].
| #define PWM_CTRL_PRSC | ( | x | ) |
PRSC - Prescaler 0b000..PWM clock frequency = fclk 0b001..PWM clock frequency = fclk/2 0b010..PWM clock frequency = fclk/4 0b011..PWM clock frequency = fclk/8 0b100..PWM clock frequency = fclk/16 0b101..PWM clock frequency = fclk/32 0b110..PWM clock frequency = fclk/64 0b111..PWM clock frequency = fclk/128
PRSC - Prescaler 0b000..Prescaler 1 0b001..Prescaler 2 0b010..Prescaler 4 0b011..Prescaler 8 0b100..Prescaler 16 0b101..Prescaler 32 0b110..Prescaler 64 0b111..Prescaler 128
| #define PWM_CTRL_PRSC | ( | x | ) |
PRSC - Prescaler 0b000..Prescaler 1 0b001..Prescaler 2 0b010..Prescaler 4 0b011..Prescaler 8 0b100..Prescaler 16 0b101..Prescaler 32 0b110..Prescaler 64 0b111..Prescaler 128
| #define PWM_CTRL_PRSC | ( | x | ) |
PRSC - Prescaler 0b000..Prescaler 1 0b001..Prescaler 2 0b010..Prescaler 4 0b011..Prescaler 8 0b100..Prescaler 16 0b101..Prescaler 32 0b110..Prescaler 64 0b111..Prescaler 128
| #define PWM_CTRL_SPLIT | ( | x | ) |
SPLIT - Split the DBLPWM signal to PWMA and PWMB 0b0..DBLPWM is not split. PWMA and PWMB each have double pulses. 0b1..DBLPWM is split to PWMA and PWMB.
| #define PWM_CTRL_SPLIT | ( | x | ) |
SPLIT - Split the DBLPWM signal to PWMA and PWMB 0b0..DBLPWM is not split. PWMA and PWMB each have double pulses. 0b1..DBLPWM is split to PWMA and PWMB.
| #define PWM_CTRL_SPLIT | ( | x | ) |
SPLIT - Split the DBLPWM signal to PWMA and PWMB 0b0..DBLPWM is not split. PWMA and PWMB each have double pulses. 0b1..DBLPWM is split to PWMA and PWMB.