11.4.10 Change Notice (CN)

The Change Notification pins provide devices with the ability to generate interrupt requests to the processor in response to a Change-of-State (COS) on selected input pins (corresponding TRISx bits must be = 1).

The Change Notice (CN) module supports two detection modes: mismatch-based detection and edge-based detection. In mismatch mode, CN events are generated when the current pin level differs from the last PORTx value read by the software. In edge-detect mode, CN events are generated on configured rising and/or falling edges and are latched independently of PORTx reads.