13.15.3.3 Master Clear Reset

Whenever the master clear pin (MCLR) is driven low, the Reset event is synchronized with the system clock, SYSCLK, before asserting the system Reset, SYSRST, provided the input pulse on MCLR is longer than a certain minimum width, as specified in the Electrical Specifications.

The MCLR pin provides a filter to minimize the effects of noise and to avoid unwanted Reset events. The status bit, EXTR (RCON[7]), is set to indicate the MCLR Reset.

The MCLR pin can be configured to generate a POR event, rather than a normal SYSRST event. This is configured through the SMCLR bit (CFGCON1[14]).