13.10 Scanner Interrupt
The scanner will trigger an interrupt when the SGO bit transitions from ‘
1
’ to ‘0
’. The SCANIF interrupt flag of one of the PIR registers is set when the last memory location is reached and the data are entered into the CRCDATA registers. The SCANIF bit must be cleared by software. The SCAN interrupt enable is the SCANIE bit of the corresponding PIE register.