29.9.3 Automatic Configuration at Start-Up and CPU Halts
When the CLB Configuration on Start-up and CPU Halt bits are clear
(CLBSU = 0 and
CPUHALT = 0), the CLB hardware
state-machine will configure the CLB, along with any other periperhals, after power-up
or device reset. Once the hardware state-machine completes configuration, the CPU
remains inactive (no code execution).
Important: When using the automatic configuration on
start-up mode with CPU halt, application software should consider the following:
- Peripherals (IO Ports, etc.) used by the application must be configured and enabled as part of the automatic configuration
- Any peripheral using the system clock (FOSC) will not operate, including the CLB
- Interrupt flags may be used to trigger events; however, software routines are not executed
- Software debugging of the application is not possible
