CTRL - Control | |
| #define | ENC_CTRL_CMPIE_MASK |
| #define | ENC_CTRL_CMPIE_SHIFT |
| #define | ENC_CTRL_CMPIE(x) |
| #define | ENC_CTRL_CMPIRQ_MASK |
| #define | ENC_CTRL_CMPIRQ_SHIFT |
| #define | ENC_CTRL_CMPIRQ(x) |
| #define | ENC_CTRL_WDE_MASK |
| #define | ENC_CTRL_WDE_SHIFT |
| #define | ENC_CTRL_WDE(x) |
| #define | ENC_CTRL_DIE_MASK |
| #define | ENC_CTRL_DIE_SHIFT |
| #define | ENC_CTRL_DIE(x) |
| #define | ENC_CTRL_DIRQ_MASK |
| #define | ENC_CTRL_DIRQ_SHIFT |
| #define | ENC_CTRL_DIRQ(x) |
| #define | ENC_CTRL_XNE_MASK |
| #define | ENC_CTRL_XNE_SHIFT |
| #define | ENC_CTRL_XNE(x) |
| #define | ENC_CTRL_XIP_MASK |
| #define | ENC_CTRL_XIP_SHIFT |
| #define | ENC_CTRL_XIP(x) |
| #define | ENC_CTRL_XIE_MASK |
| #define | ENC_CTRL_XIE_SHIFT |
| #define | ENC_CTRL_XIE(x) |
| #define | ENC_CTRL_XIRQ_MASK |
| #define | ENC_CTRL_XIRQ_SHIFT |
| #define | ENC_CTRL_XIRQ(x) |
| #define | ENC_CTRL_PH1_MASK |
| #define | ENC_CTRL_PH1_SHIFT |
| #define | ENC_CTRL_PH1(x) |
| #define | ENC_CTRL_REV_MASK |
| #define | ENC_CTRL_REV_SHIFT |
| #define | ENC_CTRL_REV(x) |
| #define | ENC_CTRL_SWIP_MASK |
| #define | ENC_CTRL_SWIP_SHIFT |
| #define | ENC_CTRL_SWIP(x) |
| #define | ENC_CTRL_HNE_MASK |
| #define | ENC_CTRL_HNE_SHIFT |
| #define | ENC_CTRL_HNE(x) |
| #define | ENC_CTRL_HIP_MASK |
| #define | ENC_CTRL_HIP_SHIFT |
| #define | ENC_CTRL_HIP(x) |
| #define | ENC_CTRL_HIE_MASK |
| #define | ENC_CTRL_HIE_SHIFT |
| #define | ENC_CTRL_HIE(x) |
| #define | ENC_CTRL_HIRQ_MASK |
| #define | ENC_CTRL_HIRQ_SHIFT |
| #define | ENC_CTRL_HIRQ(x) |
| #define | ENC_CTRL_CMPIE_MASK |
| #define | ENC_CTRL_CMPIE_SHIFT |
| #define | ENC_CTRL_CMPIE(x) |
| #define | ENC_CTRL_CMPIRQ_MASK |
| #define | ENC_CTRL_CMPIRQ_SHIFT |
| #define | ENC_CTRL_CMPIRQ(x) |
| #define | ENC_CTRL_WDE_MASK |
| #define | ENC_CTRL_WDE_SHIFT |
| #define | ENC_CTRL_WDE(x) |
| #define | ENC_CTRL_DIE_MASK |
| #define | ENC_CTRL_DIE_SHIFT |
| #define | ENC_CTRL_DIE(x) |
| #define | ENC_CTRL_DIRQ_MASK |
| #define | ENC_CTRL_DIRQ_SHIFT |
| #define | ENC_CTRL_DIRQ(x) |
| #define | ENC_CTRL_XNE_MASK |
| #define | ENC_CTRL_XNE_SHIFT |
| #define | ENC_CTRL_XNE(x) |
| #define | ENC_CTRL_XIP_MASK |
| #define | ENC_CTRL_XIP_SHIFT |
| #define | ENC_CTRL_XIP(x) |
| #define | ENC_CTRL_XIE_MASK |
| #define | ENC_CTRL_XIE_SHIFT |
| #define | ENC_CTRL_XIE(x) |
| #define | ENC_CTRL_XIRQ_MASK |
| #define | ENC_CTRL_XIRQ_SHIFT |
| #define | ENC_CTRL_XIRQ(x) |
| #define | ENC_CTRL_PH1_MASK |
| #define | ENC_CTRL_PH1_SHIFT |
| #define | ENC_CTRL_PH1(x) |
| #define | ENC_CTRL_REV_MASK |
| #define | ENC_CTRL_REV_SHIFT |
| #define | ENC_CTRL_REV(x) |
| #define | ENC_CTRL_SWIP_MASK |
| #define | ENC_CTRL_SWIP_SHIFT |
| #define | ENC_CTRL_SWIP(x) |
| #define | ENC_CTRL_HNE_MASK |
| #define | ENC_CTRL_HNE_SHIFT |
| #define | ENC_CTRL_HNE(x) |
| #define | ENC_CTRL_HIP_MASK |
| #define | ENC_CTRL_HIP_SHIFT |
| #define | ENC_CTRL_HIP(x) |
| #define | ENC_CTRL_HIE_MASK |
| #define | ENC_CTRL_HIE_SHIFT |
| #define | ENC_CTRL_HIE(x) |
| #define | ENC_CTRL_HIRQ_MASK |
| #define | ENC_CTRL_HIRQ_SHIFT |
| #define | ENC_CTRL_HIRQ(x) |
FILT - Input Filter | |
| #define | ENC_FILT_FILT_PER_MASK |
| #define | ENC_FILT_FILT_PER_SHIFT |
| #define | ENC_FILT_FILT_PER(x) |
| #define | ENC_FILT_FILT_CNT_MASK |
| #define | ENC_FILT_FILT_CNT_SHIFT |
| #define | ENC_FILT_FILT_CNT(x) |
| #define | ENC_FILT_FILT_PRSC_MASK |
| #define | ENC_FILT_FILT_PRSC_SHIFT |
| #define | ENC_FILT_FILT_PRSC(x) |
| #define | ENC_FILT_FILT_PER_MASK |
| #define | ENC_FILT_FILT_PER_SHIFT |
| #define | ENC_FILT_FILT_PER(x) |
| #define | ENC_FILT_FILT_CNT_MASK |
| #define | ENC_FILT_FILT_CNT_SHIFT |
| #define | ENC_FILT_FILT_CNT(x) |
| #define | ENC_FILT_FILT_PRSC_MASK |
| #define | ENC_FILT_FILT_PRSC_SHIFT |
| #define | ENC_FILT_FILT_PRSC(x) |
WTR - Watchdog Timeout | |
| #define | ENC_WTR_WDOG_MASK |
| #define | ENC_WTR_WDOG_SHIFT |
| #define | ENC_WTR_WDOG(x) |
| #define | ENC_WTR_WDOG_MASK |
| #define | ENC_WTR_WDOG_SHIFT |
| #define | ENC_WTR_WDOG(x) |
POSD - Position Difference Counter | |
| #define | ENC_POSD_POSD_MASK |
| #define | ENC_POSD_POSD_SHIFT |
| #define | ENC_POSD_POSD(x) |
| #define | ENC_POSD_POSD_MASK |
| #define | ENC_POSD_POSD_SHIFT |
| #define | ENC_POSD_POSD(x) |
POSDH - Position Difference Hold | |
| #define | ENC_POSDH_POSDH_MASK |
| #define | ENC_POSDH_POSDH_SHIFT |
| #define | ENC_POSDH_POSDH(x) |
| #define | ENC_POSDH_POSDH_MASK |
| #define | ENC_POSDH_POSDH_SHIFT |
| #define | ENC_POSDH_POSDH(x) |
REV - Revolution Counter | |
| #define | ENC_REV_REV_MASK |
| #define | ENC_REV_REV_SHIFT |
| #define | ENC_REV_REV(x) |
| #define | ENC_REV_REV_MASK |
| #define | ENC_REV_REV_SHIFT |
| #define | ENC_REV_REV(x) |
REVH - Revolution Hold | |
| #define | ENC_REVH_REVH_MASK |
| #define | ENC_REVH_REVH_SHIFT |
| #define | ENC_REVH_REVH(x) |
| #define | ENC_REVH_REVH_MASK |
| #define | ENC_REVH_REVH_SHIFT |
| #define | ENC_REVH_REVH(x) |
UPOS - Upper Position Counter | |
| #define | ENC_UPOS_POS_MASK |
| #define | ENC_UPOS_POS_SHIFT |
| #define | ENC_UPOS_POS(x) |
| #define | ENC_UPOS_POS_MASK |
| #define | ENC_UPOS_POS_SHIFT |
| #define | ENC_UPOS_POS(x) |
LPOS - Lower Position Counter | |
| #define | ENC_LPOS_POS_MASK |
| #define | ENC_LPOS_POS_SHIFT |
| #define | ENC_LPOS_POS(x) |
| #define | ENC_LPOS_POS_MASK |
| #define | ENC_LPOS_POS_SHIFT |
| #define | ENC_LPOS_POS(x) |
UPOSH - Upper Position Hold | |
| #define | ENC_UPOSH_POSH_MASK |
| #define | ENC_UPOSH_POSH_SHIFT |
| #define | ENC_UPOSH_POSH(x) |
| #define | ENC_UPOSH_POSH_MASK |
| #define | ENC_UPOSH_POSH_SHIFT |
| #define | ENC_UPOSH_POSH(x) |
LPOSH - Lower Position Hold | |
| #define | ENC_LPOSH_POSH_MASK |
| #define | ENC_LPOSH_POSH_SHIFT |
| #define | ENC_LPOSH_POSH(x) |
| #define | ENC_LPOSH_POSH_MASK |
| #define | ENC_LPOSH_POSH_SHIFT |
| #define | ENC_LPOSH_POSH(x) |
UINIT - Upper Initialization | |
| #define | ENC_UINIT_INIT_MASK |
| #define | ENC_UINIT_INIT_SHIFT |
| #define | ENC_UINIT_INIT(x) |
| #define | ENC_UINIT_INIT_MASK |
| #define | ENC_UINIT_INIT_SHIFT |
| #define | ENC_UINIT_INIT(x) |
LINIT - Lower Initialization | |
| #define | ENC_LINIT_INIT_MASK |
| #define | ENC_LINIT_INIT_SHIFT |
| #define | ENC_LINIT_INIT(x) |
| #define | ENC_LINIT_INIT_MASK |
| #define | ENC_LINIT_INIT_SHIFT |
| #define | ENC_LINIT_INIT(x) |
IMR - Input Monitor | |
| #define | ENC_IMR_HOME_MASK |
| #define | ENC_IMR_HOME_SHIFT |
| #define | ENC_IMR_HOME(x) |
| #define | ENC_IMR_INDEX_MASK |
| #define | ENC_IMR_INDEX_SHIFT |
| #define | ENC_IMR_INDEX(x) |
| #define | ENC_IMR_PHB_MASK |
| #define | ENC_IMR_PHB_SHIFT |
| #define | ENC_IMR_PHB(x) |
| #define | ENC_IMR_PHA_MASK |
| #define | ENC_IMR_PHA_SHIFT |
| #define | ENC_IMR_PHA(x) |
| #define | ENC_IMR_FHOM_MASK |
| #define | ENC_IMR_FHOM_SHIFT |
| #define | ENC_IMR_FHOM(x) |
| #define | ENC_IMR_FIND_MASK |
| #define | ENC_IMR_FIND_SHIFT |
| #define | ENC_IMR_FIND(x) |
| #define | ENC_IMR_FPHB_MASK |
| #define | ENC_IMR_FPHB_SHIFT |
| #define | ENC_IMR_FPHB(x) |
| #define | ENC_IMR_FPHA_MASK |
| #define | ENC_IMR_FPHA_SHIFT |
| #define | ENC_IMR_FPHA(x) |
| #define | ENC_IMR_HOME_MASK |
| #define | ENC_IMR_HOME_SHIFT |
| #define | ENC_IMR_HOME(x) |
| #define | ENC_IMR_INDEX_MASK |
| #define | ENC_IMR_INDEX_SHIFT |
| #define | ENC_IMR_INDEX(x) |
| #define | ENC_IMR_PHB_MASK |
| #define | ENC_IMR_PHB_SHIFT |
| #define | ENC_IMR_PHB(x) |
| #define | ENC_IMR_PHA_MASK |
| #define | ENC_IMR_PHA_SHIFT |
| #define | ENC_IMR_PHA(x) |
| #define | ENC_IMR_FHOM_MASK |
| #define | ENC_IMR_FHOM_SHIFT |
| #define | ENC_IMR_FHOM(x) |
| #define | ENC_IMR_FIND_MASK |
| #define | ENC_IMR_FIND_SHIFT |
| #define | ENC_IMR_FIND(x) |
| #define | ENC_IMR_FPHB_MASK |
| #define | ENC_IMR_FPHB_SHIFT |
| #define | ENC_IMR_FPHB(x) |
| #define | ENC_IMR_FPHA_MASK |
| #define | ENC_IMR_FPHA_SHIFT |
| #define | ENC_IMR_FPHA(x) |
TST - Test | |
| #define | ENC_TST_TEST_COUNT_MASK |
| #define | ENC_TST_TEST_COUNT_SHIFT |
| #define | ENC_TST_TEST_COUNT(x) |
| #define | ENC_TST_TEST_PERIOD_MASK |
| #define | ENC_TST_TEST_PERIOD_SHIFT |
| #define | ENC_TST_TEST_PERIOD(x) |
| #define | ENC_TST_QDN_MASK |
| #define | ENC_TST_QDN_SHIFT |
| #define | ENC_TST_QDN(x) |
| #define | ENC_TST_TCE_MASK |
| #define | ENC_TST_TCE_SHIFT |
| #define | ENC_TST_TCE(x) |
| #define | ENC_TST_TEN_MASK |
| #define | ENC_TST_TEN_SHIFT |
| #define | ENC_TST_TEN(x) |
| #define | ENC_TST_TEST_COUNT_MASK |
| #define | ENC_TST_TEST_COUNT_SHIFT |
| #define | ENC_TST_TEST_COUNT(x) |
| #define | ENC_TST_TEST_PERIOD_MASK |
| #define | ENC_TST_TEST_PERIOD_SHIFT |
| #define | ENC_TST_TEST_PERIOD(x) |
| #define | ENC_TST_QDN_MASK |
| #define | ENC_TST_QDN_SHIFT |
| #define | ENC_TST_QDN(x) |
| #define | ENC_TST_TCE_MASK |
| #define | ENC_TST_TCE_SHIFT |
| #define | ENC_TST_TCE(x) |
| #define | ENC_TST_TEN_MASK |
| #define | ENC_TST_TEN_SHIFT |
| #define | ENC_TST_TEN(x) |
CTRL2 - Control 2 | |
| #define | ENC_CTRL2_UPDHLD_MASK |
| #define | ENC_CTRL2_UPDHLD_SHIFT |
| #define | ENC_CTRL2_UPDHLD(x) |
| #define | ENC_CTRL2_UPDPOS_MASK |
| #define | ENC_CTRL2_UPDPOS_SHIFT |
| #define | ENC_CTRL2_UPDPOS(x) |
| #define | ENC_CTRL2_MOD_MASK |
| #define | ENC_CTRL2_MOD_SHIFT |
| #define | ENC_CTRL2_MOD(x) |
| #define | ENC_CTRL2_DIR_MASK |
| #define | ENC_CTRL2_DIR_SHIFT |
| #define | ENC_CTRL2_DIR(x) |
| #define | ENC_CTRL2_RUIE_MASK |
| #define | ENC_CTRL2_RUIE_SHIFT |
| #define | ENC_CTRL2_RUIE(x) |
| #define | ENC_CTRL2_RUIRQ_MASK |
| #define | ENC_CTRL2_RUIRQ_SHIFT |
| #define | ENC_CTRL2_RUIRQ(x) |
| #define | ENC_CTRL2_ROIE_MASK |
| #define | ENC_CTRL2_ROIE_SHIFT |
| #define | ENC_CTRL2_ROIE(x) |
| #define | ENC_CTRL2_ROIRQ_MASK |
| #define | ENC_CTRL2_ROIRQ_SHIFT |
| #define | ENC_CTRL2_ROIRQ(x) |
| #define | ENC_CTRL2_REVMOD_MASK |
| #define | ENC_CTRL2_REVMOD_SHIFT |
| #define | ENC_CTRL2_REVMOD(x) |
| #define | ENC_CTRL2_OUTCTL_MASK |
| #define | ENC_CTRL2_OUTCTL_SHIFT |
| #define | ENC_CTRL2_OUTCTL(x) |
| #define | ENC_CTRL2_SABIE_MASK |
| #define | ENC_CTRL2_SABIE_SHIFT |
| #define | ENC_CTRL2_SABIE(x) |
| #define | ENC_CTRL2_SABIRQ_MASK |
| #define | ENC_CTRL2_SABIRQ_SHIFT |
| #define | ENC_CTRL2_SABIRQ(x) |
| #define | ENC_CTRL2_UPDHLD_MASK |
| #define | ENC_CTRL2_UPDHLD_SHIFT |
| #define | ENC_CTRL2_UPDHLD(x) |
| #define | ENC_CTRL2_UPDPOS_MASK |
| #define | ENC_CTRL2_UPDPOS_SHIFT |
| #define | ENC_CTRL2_UPDPOS(x) |
| #define | ENC_CTRL2_MOD_MASK |
| #define | ENC_CTRL2_MOD_SHIFT |
| #define | ENC_CTRL2_MOD(x) |
| #define | ENC_CTRL2_DIR_MASK |
| #define | ENC_CTRL2_DIR_SHIFT |
| #define | ENC_CTRL2_DIR(x) |
| #define | ENC_CTRL2_RUIE_MASK |
| #define | ENC_CTRL2_RUIE_SHIFT |
| #define | ENC_CTRL2_RUIE(x) |
| #define | ENC_CTRL2_RUIRQ_MASK |
| #define | ENC_CTRL2_RUIRQ_SHIFT |
| #define | ENC_CTRL2_RUIRQ(x) |
| #define | ENC_CTRL2_ROIE_MASK |
| #define | ENC_CTRL2_ROIE_SHIFT |
| #define | ENC_CTRL2_ROIE(x) |
| #define | ENC_CTRL2_ROIRQ_MASK |
| #define | ENC_CTRL2_ROIRQ_SHIFT |
| #define | ENC_CTRL2_ROIRQ(x) |
| #define | ENC_CTRL2_REVMOD_MASK |
| #define | ENC_CTRL2_REVMOD_SHIFT |
| #define | ENC_CTRL2_REVMOD(x) |
| #define | ENC_CTRL2_OUTCTL_MASK |
| #define | ENC_CTRL2_OUTCTL_SHIFT |
| #define | ENC_CTRL2_OUTCTL(x) |
| #define | ENC_CTRL2_SABIE_MASK |
| #define | ENC_CTRL2_SABIE_SHIFT |
| #define | ENC_CTRL2_SABIE(x) |
| #define | ENC_CTRL2_SABIRQ_MASK |
| #define | ENC_CTRL2_SABIRQ_SHIFT |
| #define | ENC_CTRL2_SABIRQ(x) |
| #define | ENC_CTRL2_INITPOS_MASK |
| #define | ENC_CTRL2_INITPOS_SHIFT |
| #define | ENC_CTRL2_INITPOS(x) |
UMOD - Upper Modulus | |
| #define | ENC_UMOD_MOD_MASK |
| #define | ENC_UMOD_MOD_SHIFT |
| #define | ENC_UMOD_MOD(x) |
| #define | ENC_UMOD_MOD_MASK |
| #define | ENC_UMOD_MOD_SHIFT |
| #define | ENC_UMOD_MOD(x) |
LMOD - Lower Modulus | |
| #define | ENC_LMOD_MOD_MASK |
| #define | ENC_LMOD_MOD_SHIFT |
| #define | ENC_LMOD_MOD(x) |
| #define | ENC_LMOD_MOD_MASK |
| #define | ENC_LMOD_MOD_SHIFT |
| #define | ENC_LMOD_MOD(x) |
UCOMP - Upper Position Compare | |
| #define | ENC_UCOMP_COMP_MASK |
| #define | ENC_UCOMP_COMP_SHIFT |
| #define | ENC_UCOMP_COMP(x) |
| #define | ENC_UCOMP_COMP_MASK |
| #define | ENC_UCOMP_COMP_SHIFT |
| #define | ENC_UCOMP_COMP(x) |
LCOMP - Lower Position Compare | |
| #define | ENC_LCOMP_COMP_MASK |
| #define | ENC_LCOMP_COMP_SHIFT |
| #define | ENC_LCOMP_COMP(x) |
| #define | ENC_LCOMP_COMP_MASK |
| #define | ENC_LCOMP_COMP_SHIFT |
| #define | ENC_LCOMP_COMP(x) |
LASTEDGE - Last Edge Time | |
| #define | ENC_LASTEDGE_LASTEDGE_MASK |
| #define | ENC_LASTEDGE_LASTEDGE_SHIFT |
| #define | ENC_LASTEDGE_LASTEDGE(x) |
| #define | ENC_LASTEDGE_LASTEDGE_MASK |
| #define | ENC_LASTEDGE_LASTEDGE_SHIFT |
| #define | ENC_LASTEDGE_LASTEDGE(x) |
LASTEDGEH - Last Edge Time Hold | |
| #define | ENC_LASTEDGEH_LASTEDGEH_MASK |
| #define | ENC_LASTEDGEH_LASTEDGEH_SHIFT |
| #define | ENC_LASTEDGEH_LASTEDGEH(x) |
| #define | ENC_LASTEDGEH_LASTEDGEH_MASK |
| #define | ENC_LASTEDGEH_LASTEDGEH_SHIFT |
| #define | ENC_LASTEDGEH_LASTEDGEH(x) |
POSDPER - Position Difference Period Counter | |
| #define | ENC_POSDPER_POSDPER_MASK |
| #define | ENC_POSDPER_POSDPER_SHIFT |
| #define | ENC_POSDPER_POSDPER(x) |
| #define | ENC_POSDPER_POSDPER_MASK |
| #define | ENC_POSDPER_POSDPER_SHIFT |
| #define | ENC_POSDPER_POSDPER(x) |
POSDPERBFR - Position Difference Period Buffer | |
| #define | ENC_POSDPERBFR_POSDPERBFR_MASK |
| #define | ENC_POSDPERBFR_POSDPERBFR_SHIFT |
| #define | ENC_POSDPERBFR_POSDPERBFR(x) |
| #define | ENC_POSDPERBFR_POSDPERBFR_MASK |
| #define | ENC_POSDPERBFR_POSDPERBFR_SHIFT |
| #define | ENC_POSDPERBFR_POSDPERBFR(x) |
POSDPERH - Position Difference Period Hold | |
| #define | ENC_POSDPERH_POSDPERH_MASK |
| #define | ENC_POSDPERH_POSDPERH_SHIFT |
| #define | ENC_POSDPERH_POSDPERH(x) |
| #define | ENC_POSDPERH_POSDPERH_MASK |
| #define | ENC_POSDPERH_POSDPERH_SHIFT |
| #define | ENC_POSDPERH_POSDPERH(x) |
CTRL3 - Control 3 | |
| #define | ENC_CTRL3_PMEN_MASK |
| #define | ENC_CTRL3_PMEN_SHIFT |
| #define | ENC_CTRL3_PMEN(x) |
| #define | ENC_CTRL3_PRSC_MASK |
| #define | ENC_CTRL3_PRSC_SHIFT |
| #define | ENC_CTRL3_PRSC(x) |
| #define | ENC_CTRL3_PMEN_MASK |
| #define | ENC_CTRL3_PMEN_SHIFT |
| #define | ENC_CTRL3_PMEN(x) |
| #define | ENC_CTRL3_PRSC_MASK |
| #define | ENC_CTRL3_PRSC_SHIFT |
| #define | ENC_CTRL3_PRSC(x) |
| #define ENC_CTRL_CMPIE | ( | x | ) |
CMPIE - Compare Interrupt Enable 0b0..Disabled 0b1..Enabled
CMPIE - Compare Interrupt Enable 0b0..Disable 0b1..Enable
| #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)
CMPIRQ - Compare Interrupt Request 0b0..No match has occurred 0b1..COMP match has occurred
| #define ENC_CTRL_WDE | ( | x | ) |
WDE - Watchdog Enable 0b0..Disabled 0b1..Enabled
WDE - Watchdog Enable 0b0..Disable 0b1..Enable
| #define ENC_CTRL_DIE | ( | x | ) |
DIE - Watchdog Timeout Interrupt Enable 0b0..Disabled 0b1..Enabled
DIE - Watchdog Timeout Interrupt Enable 0b0..Disable 0b1..Enable
| #define ENC_CTRL_DIRQ | ( | x | ) |
DIRQ - Watchdog Timeout Interrupt Request 0b0..No Watchdog timeout interrupt has occurred 0b1..Watchdog timeout interrupt has occurred
DIRQ - Watchdog Timeout Interrupt Request 0b0..Not occurred 0b1..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
XNE - Select Positive and Negative Edge of INDEX and PRESET Pulse 0b0..Use positive edge 0b1..Use negative edge
| #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
XIP - INDEX Triggered Initialization of Position Counters UPOS and LPOS 0b0..Does not initialize 0b1..Initializes
| #define ENC_CTRL_XIE | ( | x | ) |
XIE - INDEX Pulse Interrupt Enable 0b0..Disabled 0b1..Enabled
XIE - INDEX Pulse Interrupt Enable 0b0..Disable 0b1..Enable
| #define ENC_CTRL_XIRQ | ( | x | ) |
XIRQ - INDEX Pulse Interrupt Request 0b0..INDEX pulse has not occurred 0b1..INDEX pulse has occurred
XIRQ - INDEX Pulse Interrupt Request 0b0..Not occurred 0b1..Occurred
| #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 the value of CTRL[REV] and PHASEB is same, then count is up. If the value of CTRL[REV] and PHASEB is different, then count is down.
PH1 - Enable Signal Phase Count Mode 0b0..Uses the standard quadrature decoder, where PHASEA and PHASEB represent a two-phase quadrature signal. 0b1..Bypasses the quadrature decoder. A positive transition of the PHASEA input generates a count signal. PHASEB input and CTRL[REV] controls the counter direction. If the value of CTRL[REV] and PHASEB are identical; then count is up. If the value of CTRL[REV] and PHASEB is different, then count is down.
| #define ENC_CTRL_REV | ( | x | ) |
REV - Enable Reverse Direction Counting 0b0..Count normally 0b1..Count in the reverse direction
REV - Enable Reverse Direction Counting 0b0..Counts normally 0b1..Counts 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)
SWIP - Software-Triggered Initialization of Position Counters UPOS and LPOS 0b0..No action 0b1..Initialize position counter
| #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_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_HIE | ( | x | ) |
HIE - HOME Interrupt Enable 0b0..Disabled 0b1..Enabled
HIE - HOME Interrupt Enable 0b0..Disable 0b1..Enable
| #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
HIRQ - HOME Signal Transition Interrupt Request 0b0..Not occurred 0b1..Occurred
| #define ENC_FILT_FILT_PER | ( | x | ) |
FILT_PER - Input Filter Sample Period
| #define ENC_FILT_FILT_CNT | ( | x | ) |
FILT_CNT - Input Filter Sample Count
| #define ENC_FILT_FILT_PRSC | ( | x | ) |
FILT_PRSC - prescaler divide IPbus clock to FILT clk
FILT_PRSC - Prescaler Divide IPBus Clock to FILT Clock
| #define ENC_WTR_WDOG | ( | x | ) |
WDOG - WDOG
| #define ENC_POSD_POSD | ( | x | ) |
POSD - POSD
| #define ENC_POSDH_POSDH | ( | x | ) |
POSDH - POSDH
| #define ENC_REV_REV | ( | x | ) |
REV - REV
| #define ENC_REVH_REVH | ( | x | ) |
REVH - REVH
| #define ENC_UPOS_POS | ( | x | ) |
POS - POS
| #define ENC_LPOS_POS | ( | x | ) |
POS - POS
| #define ENC_UPOSH_POSH | ( | x | ) |
POSH - POSH
| #define ENC_LPOSH_POSH | ( | x | ) |
POSH - POSH
| #define ENC_UINIT_INIT | ( | x | ) |
INIT - INIT
| #define ENC_LINIT_INIT | ( | x | ) |
INIT - INIT
| #define ENC_IMR_HOME | ( | x | ) |
HOME - HOME
| #define ENC_IMR_INDEX | ( | x | ) |
INDEX - INDEX
| #define ENC_IMR_PHB | ( | x | ) |
PHB - PHB
| #define ENC_IMR_PHA | ( | x | ) |
PHA - PHA
| #define ENC_IMR_FHOM | ( | x | ) |
FHOM - FHOM
| #define ENC_IMR_FIND | ( | x | ) |
FIND - FIND
| #define ENC_IMR_FPHB | ( | x | ) |
FPHB - FPHB
| #define ENC_IMR_FPHA | ( | x | ) |
FPHA - FPHA
| #define ENC_TST_TEST_COUNT | ( | x | ) |
TEST_COUNT - TEST_COUNT
| #define ENC_TST_TEST_PERIOD | ( | x | ) |
TEST_PERIOD - TEST_PERIOD
| #define ENC_TST_QDN | ( | x | ) |
QDN - Quadrature Decoder Negative Signal 0b0..Generates a positive quadrature decoder signal 0b1..Generates a negative quadrature decoder signal
QDN - Quadrature Decoder Negative Signal 0b0..Positive quadrature decoder signal 0b1..Negative quadrature decoder signal
| #define ENC_TST_TCE | ( | x | ) |
TCE - Test Counter Enable 0b0..Disabled 0b1..Enabled
TCE - Test Counter Enable 0b0..Disable 0b1..Enable
| #define ENC_TST_TEN | ( | x | ) |
TEN - Test Mode Enable 0b0..Disabled 0b1..Enabled
TEN - Test Mode Enable 0b0..Disable 0b1..Enable
| #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
UPDHLD - Update Hold Registers 0b0..Disable 0b1..Enable
| #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
UPDPOS - Update Position Registers 0b0..No action 0b1..Clear
| #define ENC_CTRL2_MOD | ( | x | ) |
MOD - Enable Modulo Counting 0b0..Disable modulo counting 0b1..Enable modulo counting
MOD - Enable Modulo Counting 0b0..Disable 0b1..Enable
| #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
DIR - Count Direction Flag 0b0..Down direction 0b1..Up direction
| #define ENC_CTRL2_RUIE | ( | x | ) |
RUIE - Roll-under Interrupt Enable 0b0..Disabled 0b1..Enabled
RUIE - Roll-under Interrupt Enable 0b0..Disable 0b1..Enable
| #define ENC_CTRL2_RUIRQ | ( | x | ) |
RUIRQ - Roll-under Interrupt Request 0b0..No roll-under has occurred 0b1..Roll-under has occurred
| #define ENC_CTRL2_ROIE | ( | x | ) |
ROIE - Roll-over Interrupt Enable 0b0..Disabled 0b1..Enabled
ROIE - Roll-over Interrupt Enable 0b0..Disable 0b1..Enable
| #define ENC_CTRL2_ROIRQ | ( | x | ) |
ROIRQ - Roll-over Interrupt Request 0b0..No roll-over has occurred 0b1..Roll-over has occurred
ROIRQ - Roll-over Interrupt Request 0b0..Did not occur 0b1..Occurred
| #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)
REVMOD - Revolution Counter Modulus Enable 0b0..Use INDEX pulse 0b1..Use modulus counting roll-over or roll-under
| #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_SABIE | ( | x | ) |
SABIE - Simultaneous PHASEA and PHASEB Change Interrupt Enable 0b0..Disabled 0b1..Enabled
SABIE - Simultaneous PHASEA and PHASEB Change Interrupt Enable 0b0..Disable 0b1..Enable
| #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
SABIRQ - Simultaneous PHASEA and PHASEB Change Interrupt Request 0b0..No simultaneous change has occurred 0b1..A simultaneous change has occurred
| #define ENC_UMOD_MOD | ( | x | ) |
MOD - MOD
| #define ENC_LMOD_MOD | ( | x | ) |
MOD - MOD
| #define ENC_UCOMP_COMP | ( | x | ) |
COMP - COMP
| #define ENC_LCOMP_COMP | ( | x | ) |
COMP - COMP
| #define ENC_LASTEDGE_LASTEDGE | ( | x | ) |
LASTEDGE - Last Edge Time Counter
| #define ENC_LASTEDGEH_LASTEDGEH | ( | x | ) |
LASTEDGEH - Last Edge Time Hold
| #define ENC_POSDPER_POSDPER | ( | x | ) |
POSDPER - Position difference period
| #define ENC_POSDPERBFR_POSDPERBFR | ( | x | ) |
POSDPERBFR - Position difference period buffer
| #define ENC_POSDPERH_POSDPERH | ( | x | ) |
POSDPERH - Position difference period hold
| #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.
PMEN - Period Measurement Function Enable 0b0..Not used 0b1..Used
| #define ENC_CTRL3_PRSC | ( | x | ) |
PRSC - Prescaler
| #define ENC_CTRL_CMPIE | ( | x | ) |
CMPIE - Compare Interrupt Enable 0b0..Disable 0b1..Enable
| #define ENC_CTRL_CMPIRQ | ( | x | ) |
CMPIRQ - Compare Interrupt Request 0b0..No match has occurred 0b1..COMP match has occurred
| #define ENC_CTRL_WDE | ( | x | ) |
WDE - Watchdog Enable 0b0..Disable 0b1..Enable
| #define ENC_CTRL_DIE | ( | x | ) |
DIE - Watchdog Timeout Interrupt Enable 0b0..Disable 0b1..Enable
| #define ENC_CTRL_DIRQ | ( | x | ) |
DIRQ - Watchdog Timeout Interrupt Request 0b0..Not occurred 0b1..Occurred
| #define ENC_CTRL_XNE | ( | x | ) |
XNE - Select Positive and Negative Edge of INDEX and PRESET Pulse 0b0..Use positive edge 0b1..Use negative edge
| #define ENC_CTRL_XIP | ( | x | ) |
XIP - INDEX Triggered Initialization of Position Counters UPOS and LPOS 0b0..Does not initialize 0b1..Initializes
| #define ENC_CTRL_XIE | ( | x | ) |
XIE - INDEX Pulse Interrupt Enable 0b0..Disable 0b1..Enable
| #define ENC_CTRL_XIRQ | ( | x | ) |
XIRQ - INDEX Pulse Interrupt Request 0b0..Not occurred 0b1..Occurred
| #define ENC_CTRL_PH1 | ( | x | ) |
PH1 - Enable Signal Phase Count Mode 0b0..Uses the standard quadrature decoder, where PHASEA and PHASEB represent a two-phase quadrature signal. 0b1..Bypasses the quadrature decoder. A positive transition of the PHASEA input generates a count signal. PHASEB input and CTRL[REV] controls the counter direction. If the value of CTRL[REV] and PHASEB are identical; then count is up. If the value of CTRL[REV] and PHASEB is different, then count is down.
| #define ENC_CTRL_REV | ( | x | ) |
REV - Enable Reverse Direction Counting 0b0..Counts normally 0b1..Counts 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
| #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_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_HIE | ( | x | ) |
HIE - HOME Interrupt Enable 0b0..Disable 0b1..Enable
| #define ENC_CTRL_HIRQ | ( | x | ) |
HIRQ - HOME Signal Transition Interrupt Request 0b0..Not occurred 0b1..Occurred
| #define ENC_FILT_FILT_PER | ( | x | ) |
FILT_PER - Input Filter Sample Period
| #define ENC_FILT_FILT_CNT | ( | x | ) |
FILT_CNT - Input Filter Sample Count
| #define ENC_FILT_FILT_PRSC | ( | x | ) |
FILT_PRSC - Prescaler Divide IPBus Clock to FILT Clock
| #define ENC_WTR_WDOG | ( | x | ) |
WDOG - WDOG
| #define ENC_POSD_POSD | ( | x | ) |
POSD - POSD
| #define ENC_POSDH_POSDH | ( | x | ) |
POSDH - POSDH
| #define ENC_REV_REV | ( | x | ) |
REV - REV
| #define ENC_REVH_REVH | ( | x | ) |
REVH - REVH
| #define ENC_UPOS_POS | ( | x | ) |
POS - POS
| #define ENC_LPOS_POS | ( | x | ) |
POS - POS
| #define ENC_UPOSH_POSH | ( | x | ) |
POSH - POSH
| #define ENC_LPOSH_POSH | ( | x | ) |
POSH - POSH
| #define ENC_UINIT_INIT | ( | x | ) |
INIT - INIT
| #define ENC_LINIT_INIT | ( | x | ) |
INIT - INIT
| #define ENC_IMR_HOME | ( | x | ) |
HOME - HOME
| #define ENC_IMR_INDEX | ( | x | ) |
INDEX - INDEX
| #define ENC_IMR_PHB | ( | x | ) |
PHB - PHB
| #define ENC_IMR_PHA | ( | x | ) |
PHA - PHA
| #define ENC_IMR_FHOM | ( | x | ) |
FHOM - FHOM
| #define ENC_IMR_FIND | ( | x | ) |
FIND - FIND
| #define ENC_IMR_FPHB | ( | x | ) |
FPHB - FPHB
| #define ENC_IMR_FPHA | ( | x | ) |
FPHA - FPHA
| #define ENC_TST_TEST_COUNT | ( | x | ) |
TEST_COUNT - TEST_COUNT
| #define ENC_TST_TEST_PERIOD | ( | x | ) |
TEST_PERIOD - TEST_PERIOD
| #define ENC_TST_QDN | ( | x | ) |
QDN - Quadrature Decoder Negative Signal 0b0..Positive quadrature decoder signal 0b1..Negative quadrature decoder signal
| #define ENC_TST_TCE | ( | x | ) |
TCE - Test Counter Enable 0b0..Disable 0b1..Enable
| #define ENC_TST_TEN | ( | x | ) |
TEN - Test Mode Enable 0b0..Disable 0b1..Enable
| #define ENC_CTRL2_UPDHLD | ( | x | ) |
UPDHLD - Update Hold Registers 0b0..Disable 0b1..Enable
| #define ENC_CTRL2_UPDPOS | ( | x | ) |
UPDPOS - Update Position Registers 0b0..No action 0b1..Clear
| #define ENC_CTRL2_MOD | ( | x | ) |
MOD - Enable Modulo Counting 0b0..Disable 0b1..Enable
| #define ENC_CTRL2_DIR | ( | x | ) |
DIR - Count Direction Flag 0b0..Down direction 0b1..Up direction
| #define ENC_CTRL2_RUIE | ( | x | ) |
RUIE - Roll-under Interrupt Enable 0b0..Disable 0b1..Enable
| #define ENC_CTRL2_RUIRQ | ( | x | ) |
RUIRQ - Roll-under Interrupt Request 0b0..No roll-under has occurred 0b1..Roll-under has occurred
| #define ENC_CTRL2_ROIE | ( | x | ) |
ROIE - Roll-over Interrupt Enable 0b0..Disable 0b1..Enable
| #define ENC_CTRL2_ROIRQ | ( | x | ) |
ROIRQ - Roll-over Interrupt Request 0b0..Did not occur 0b1..Occurred
| #define ENC_CTRL2_REVMOD | ( | x | ) |
REVMOD - Revolution Counter Modulus Enable 0b0..Use INDEX pulse 0b1..Use modulus counting roll-over or roll-under
| #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_SABIE | ( | x | ) |
SABIE - Simultaneous PHASEA and PHASEB Change Interrupt Enable 0b0..Disable 0b1..Enable
| #define ENC_CTRL2_SABIRQ | ( | x | ) |
SABIRQ - Simultaneous PHASEA and PHASEB Change Interrupt Request 0b0..No simultaneous change has occurred 0b1..A simultaneous change has occurred
| #define ENC_CTRL2_INITPOS | ( | x | ) |
INITPOS - Initialize Position Registers 0b0..Don't initialize position counter 0b1..Initialize position counter
| #define ENC_UMOD_MOD | ( | x | ) |
MOD - MOD
| #define ENC_LMOD_MOD | ( | x | ) |
MOD - MOD
| #define ENC_UCOMP_COMP | ( | x | ) |
COMP - COMP
| #define ENC_LCOMP_COMP | ( | x | ) |
COMP - COMP
| #define ENC_LASTEDGE_LASTEDGE | ( | x | ) |
LASTEDGE - Last Edge Time Counter
| #define ENC_LASTEDGEH_LASTEDGEH | ( | x | ) |
LASTEDGEH - Last Edge Time Hold
| #define ENC_POSDPER_POSDPER | ( | x | ) |
POSDPER - Position difference period
| #define ENC_POSDPERBFR_POSDPERBFR | ( | x | ) |
POSDPERBFR - Position difference period buffer
| #define ENC_POSDPERH_POSDPERH | ( | x | ) |
POSDPERH - Position difference period hold
| #define ENC_CTRL3_PMEN | ( | x | ) |
PMEN - Period Measurement Function Enable 0b0..Not used 0b1..Used
| #define ENC_CTRL3_PRSC | ( | x | ) |
PRSC - Prescaler