1 MCC Melody API Reference for AVR® MCU Families
Lists the Libraries, Drivers, PLIB Drivers and System Drivers which support the 8-bit AVR families of microcontrollers in MCC Melody.
Important references
- MCC Melody Technical Reference - Introduction
- MCC Melody Components - Components
AVR MCU Device and Peripheral Support
Supported MCU sub-families can be found in the latest release notes. To aid the selection of a specific AVR MCU, see Table: Peripheral Support by MCU Device:
Getting Started Use Cases
- Required configuration settings of the component (and potentially other components).
- Schematics of the board used, e.g., In Pin Grid View: Select a LED pin as an Output, renaming it to LED.
- Code snippets to add to your application.
Videos: Some of the use cases include videos, which give a high level overview of how to run the use cases. These may be especially useful if new to the MPLAB Tools Ecosystem.
- Recommended starting point: UART Driver, Timer/Counter A PLIB Driver and the Data Streamer Library.
- Videos also included for: RTC PLIB Driver, ADC PLIB Driver, AVR Event System.
Library Reference
MCC Melody Libraries implement 'Middleware' functionality, such as protocols. They are independent of MCU peripherals, providing a highly abstracted portable application program interface.
MCC Melody Components - Libraries
Reference:
Driver API Reference
MCC Melody Drivers support both Configuration and Firmware portability, providing an easy to read and efficient abstraction to the functionality of the peripheral.
- Configuration: Easy View + Register Initialization panel.
- Generated code: PERIPHERAL_Initialize( ) + API to develop application functionality.
PLIB Driver API Reference
MCC Melody Peripheral LIBraries (PLIBs) provide an API to support periperal specific functionality. (Optional) Portable interface to support firmware portability, but in general only provide non-portable interface to peripheral functionality.
MCC Melody Components - PLIB Drivers
- Configuration: Easy View + Register Initialization panel.
- Generated code: PERIPHERAL_Initialize( ) + API to develop application functionality.
Reference:
System Driver API Reference
System Drivers provide system level core functionality, like Clock, Interrupt, Pins. Some of these can be device dependent.
MCC Melody Components - System Drivers
Reference: