46.4.10 Interrupts

The following are the sources of QEI interrupts:

  • Position counter overflow or underflow event
  • Velocity counter overflow or underflow event
  • Position counter initialization process complete
  • Position counter greater than or equal compare interrupt
  • Position counter less than or equal compare interrupt
  • Index event interrupt
  • Home event interrupt

The QEIx Status (QEIxSTAT) register contains the individual interrupt enable bits and the corresponding interrupt status bits for each interrupt source. A status bit indicates that an interrupt request has occurred. The module reduces all of the QEI interrupts to a single interrupt signal to the interrupt controller module.