imxrt_ral::tmr::CTRL2::CM

Module RW

source

Constantsยง

  • No operation
  • Count rising edges of primary sourceRising edges are counted only when SCTRL[IPS] = 0. Falling edges are counted when SCTRL[IPS] = 1. If the primary count source is IP bus clock divide by 1, only rising edges are counted regardless of the value of SCTRL[IPS].
  • Count rising and falling edges of primary sourceIP bus clock divide by 1 cannot be used as a primary count source in edge count mode.
  • Count rising edges of primary source while secondary input high active
  • Quadrature count mode, uses primary and secondary sources
  • Count rising edges of primary source; secondary source specifies directionRising edges are counted only when SCTRL[IPS] = 0. Falling edges are counted when SCTRL[IPS] = 1.
  • Edge of secondary source triggers primary count until compare
  • Cascaded counter mode (up/down)The primary count source must be set to one of the counter outputs.