27.1.7 Interrupts
The SMT has three interrupts located in one of the PIR registers:
- Pulse-Width Acquisition Interrupt (SMTxPWAIF): Interrupt triggers when the SMTxCPW register is updated with the SMTxTMR register value.
- Period Acquisition Interrupt (SMTxPRAIF): Interrupt triggers when the SMTxCPR register is updated with the SMTxTMR register value.
- Counter Period Match Interrupt (SMTxIF): Interrupt triggers when the SMTxTMR register equals the SMTxPR register.
Each of the above interrupts can be enabled/disabled using the corresponding bits in the PIE register.