21.1.7 Interrupts

The SMT has three interrupts:
  • Pulse-width acquisition interrupt (SMTxPWAIF): Interrupt triggers when SMTxCPW is updated
  • Period acquisition interrupt (SMTxPRAIF): Interrupt triggers when SMTxCPR is updated
  • Counter period match interrupt (SMTxIF): Interrupt triggers when SMTxTMR equals SMTxPR

Each of the above interrupts can be enabled/disabled using the corresponding bits in the PIEx register.