Introduction

The MPLAB® Code Configurator (MCC) generates driver code using a Graphical User Interface (GUI). The generated drivers control the peripherals on PIC® microcontrollers. The GUI provides an easy means for setting up the configuration of the peripherals. MCC is a plugin for the MPLAB® X IDE and MPLAB® Xpress.

Additionally, the MCC is used to configure and generate libraries, allowing code generation and configuration for software libraries and external components.

The generated drivers or libraries can be used in any Microchip PIC or AVR® device application program. MCC requires creating or opening an already existing project in the MPLAB X IDE or MPLAB Xpress before launching the MCC plugin. This is necessary as the MCC needs to know the device used in the project, to have access to device-specific information like registers, bits, configurations, and to set up the MCC GUI.

The MCC generates source and header files based on selections made in the GUI. The generated files are added to the active project of MPLAB X IDE or MPLAB Xpress.