Module imxrt_ral::enc::CTRL::PH1::RW

source ·

Constants§

  • Use standard quadrature decoder where PHASEA and PHASEB represent a two phase quadrature signal.
  • 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] = 0, PHASEB = 1, then count down If CTRL[REV] = 1, PHASEB = 0, then count down If CTRL[REV] = 1, PHASEB = 1, then count up