Controlling Common Peripherals Using Harmony
The following chart shows a list of commonly used PIC32 peripherals along with the MPLAB® Harmony Integrated Software Framework libraries that can control them.
Generally speaking, the system service libraries are dependent upon and serviced by the driver libraries or peripheral libraries, and the driver libraries are dependent upon and serviced by the peripheral libraries.
Commonly Used Peripherals | Peripheral Library | Driver Library | System Services Library | Tutorials | Example Projects |
ADC | PLIB_ADC | DRV_ADC | ✘ | ADC | Click Here |
CAN | PLIB_CAN | DRV_CAN | ✘ | ||
Comparator | PLIB_CMP | DRV_CMP | ✘ | ||
DMA | PLIB_DMA | ✘ | SYS_DMA | ||
External Bus Interface | PLIB_EBI | DRV_EBI | ✘ | ||
I2C | PLIB_I2C | DRV_I2C | ✘ | ||
Input Capture | PLIB_IC | DRV_IC | ✘ | ||
Interrupt | PLIB_INT | ✘ | SYS_INT | Interrupts | |
Output Compare | PLIB_OC | DRV_OC | ✘ | Output Compare | Click Here |
Oscillator | PLIB_OSC | ✘ | SYS_CLK | ||
Parallel Master Port | PLIB_PMP | DRV_PMP | ✘ | ||
I/O Ports | PLIB_PORTS | ✘ | SYS_PORTS | I/O Ports | Click Here |
Real-Time Clock Calendar | PLIB_RTCC | DRV_RTCC | ✘ | ||
SPI | PLIB_SPI | DRV_SPI | ✘ | SPI | |
Timer | PLIB_TMR | DRV_TMR | SYS_TMR | Timer | Click Here |
USART | PLIB_USART | DRV_USART | ✘ | USART | Click Here |
Watchdog Timer | PLIB_WDT | ✘ | SYS_WDT |