When a MPLAB® Code Configurator (MCC) project is started, three standard project resources or modules are always present. These three resources are:
- System Module
- Pin Module
- Interrupt Module
The System Module is where some of the core configuration settings are established. The oscillator type and speed are selected along with watchdog timer. Low Voltage Programming can be selected along with Phase Locked Loop (PLL) for higher speed oscillation. This basic setup screen gets your projects setup started.
The Pin Module is where the I/O pins are setup. This works closely with the Pin Manager graphical interface that allows you to lock or unlock I/O connections. Set a pin to a digital input, digital output or analog pin by checking the proper blocks in the Pin Module setup screen.
Weak Pull-ups (WPU) can also be enabled in this section.
Interrupts are enabled or disabled in the Interrupt Module. The interrupt service routine will have to be added to the application code, but the register setup will be handled by the MCC in this easy setup window.