We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X
Maximize Your Experience: Reap the Personalized Advantages by Completing Your Profile to Its Fullest! Update Here
Stay in the loop with the latest from Microchip! Update your profile while you are at it. Update Here
Complete your profile to access more resources.Update Here!

Software Library

PIC32 Peripheral Library


Summary

The PIC32 Peripheral Library provides a set of functions for setting up and controlling the operation of all the peripheral modules available in the PIC32 devices. The Peripheral Library serves as a convenient layer of abstraction over the specific details of the peripherals and their associated control and status registers. The Peripheral Library is free and can be downloaded from Downloads below.

Individual Peripheral Module functions and macros

• System Level Functions
• Prefetch Cache Functions
• DMA Functions
• Bus Matrix Functions
• NVM Functions
• Reset/Control Functions
• Interrupt Functions
• Oscillator Functions
• Power Save Functions
• I/O Port Functions
• Timer Functions
• Input Capture Functions
• Output Compare Functions
• SPI Functions
• I2C™ Functions
• UART Functions
• PMP Functions
• RTCC Functions
• A/D Functions
• Ethernet Module Functions
• Comparator Functions
• CVREF Functions
• Watchdog Timer Functions

Resource Requirements

    • Program Memory: The Peripheral Library functions have been optimized for reduced Program Memory usage. Since the functions are in the form of libraries, the actual Program Memory requirements depend on the functions being called by the application.

    • Data Memory: The vast majority of the functions do not use RAM at all. Each of the remaining functions uses less than 10 bytes of RAM.

 

Important Note:

    Starting with XC32 V1.40, PIC32MX peripheral support libraries are no longer installed as part of the compiler’s installation. These libraries are now installed as a second setup, after the installation of XC32 compiler.

    Peripheral libraries for PIC32MX products are not needed for Harmony development. Microchip recommends using MPLAB Harmony for new projects. To download MPLAB Harmony, click here.

Documents


Title
Document Category
Date
30009962D.indd Software 24 Oct 2014 Download
PIC32 Legacy Peripheral Libraries Linux Software 30 Jun 2015 Download
PIC32 Legacy Peripheral Libraries Software 07 Mar 2016 Download
Quick Guide to Microchip Development Tools Software 07 Mar 2016 Download

Products


Title
Product
Title
PIC32MX230F064C
32 Bit MCU
PIC32MX230F064C 32 Bit MCU
PIC32MX795F512H
PIC32MX795F512H
PIC32MX764F128L
PIC32MX764F128L
PIC32MX320F128H
PIC32MX320F128H
PIC32MX340F256H
PIC32MX340F256H
PIC32MX330F064H
PIC32MX330F064H
PIC32MX575F512H
PIC32MX575F512H
PIC32MX450F128L
PIC32MX450F128L
PIC32MX320F128L
PIC32MX320F128L
PIC32MX220F032C
32 Bit MCU
PIC32MX220F032C 32 Bit MCU
PIC32MX450F256L
PIC32MX450F256L
PIC32MX550F256H
PIC32MX550F256H
PIC32MX675F512L
PIC32MX675F512L
PIC32MX695F512L
PIC32MX695F512L
PIC32MX764F128H
PIC32MX764F128H
PIC32MX675F512H
PIC32MX675F512H
PIC32MX230F256B
PIC32MX230F256B
PIC32MX230F128H
PIC32MX230F128H
PIC32MX470F512H
PIC32MX470F512H
PIC32MX350F128H
PIC32MX350F128H
PIC32MX270F512H
PIC32MX270F512H
PIC32MX350F128L
PIC32MX350F128L
PIC32MX775F256H
PIC32MX775F256H
PIC32MX775F256H PIC32MX775F256H
PIC32MX664F064H
PIC32MX664F064H
PIC32MX450F256H
PIC32MX450F256H
PIC32MX320F064H
PIC32MX320F064H
PIC32MX250F128C
32 Bit MCU
PIC32MX250F128C 32 Bit MCU
PIC32MX150F256H
PIC32MX150F256H
PIC32MX170F512L
PIC32MX170F512L
PIC32MX230F064D
PIC32MX230F064D
PIC32MX795F512L
PIC32MX795F512L
PIC32MX575F256L
PIC32MX575F256L
PIC32MX270F512L
PIC32MX270F512L
PIC32MX120F032B
PIC32MX120F032B
PIC32MX675F256L
PIC32MX675F256L
PIC32MX220F032D
PIC32MX220F032D
PIC32MX130F064C
32 Bit MCU
PIC32MX130F064C 32 Bit MCU
PIC32MX460F512L
PIC32MX460F512L
PIC32MX550F256L
PIC32MX550F256L
PIC32MX370F512L
PIC32MX370F512L
PIC32MX110F016D
PIC32MX110F016D
PIC32MX130F064B
PIC32MX130F064B
PIC32MX664F128H
PIC32MX664F128H
PIC32MX564F128H
PIC32MX564F128H
PIC32MX150F128D
PIC32MX150F128D
PIC32MX575F256H
PIC32MX575F256H
PIC32MX775F512H
PIC32MX775F512H
PIC32MX530F128H
PIC32MX530F128H
PIC32MX570F512H
PIC32MX570F512H
PIC32MX420F032H
PIC32MX420F032H
PIC32MX120F032C
32 Bit MCU
PIC32MX120F032C 32 Bit MCU
PIC32MX120F032D
PIC32MX120F032D
PIC32MX230F256D
PIC32MX230F256D
PIC32MX330F064L
PIC32MX330F064L
PIC32MX130F064D
PIC32MX130F064D
PIC32MX270F256D
PIC32MX270F256D
PIC32MX570F512L
PIC32MX570F512L
PIC32MX170F512H
PIC32MX170F512H
PIC32MX350F256L
PIC32MX350F256L
PIC32MX430F064H
PIC32MX430F064H
PIC32MX695F512H
PIC32MX695F512H
PIC32MX110F016B
PIC32MX110F016B
PIC32MX534F064L
PIC32MX534F064L
PIC32MX150F256L
PIC32MX150F256L
PIC32MX130F128H
PIC32MX130F128H
PIC32MX440F128L
PIC32MX440F128L
PIC32MX460F256L
PIC32MX460F256L
PIC32MX775F512L
PIC32MX775F512L
PIC32MX775F512L PIC32MX775F512L
PIC32MX664F128L
PIC32MX664F128L
PIC32MX534F064H
PIC32MX534F064H
PIC32MX210F016B
PIC32MX210F016B
PIC32MX440F128H
PIC32MX440F128H
PIC32MX775F256L
PIC32MX775F256L
PIC32MX340F512H
PIC32MX340F512H
PIC32MX350F256H
PIC32MX350F256H
PIC32MX360F256L
PIC32MX360F256L
PIC32MX340F128L
PIC32MX340F128L
PIC32MX270F256B
PIC32MX270F256B
PIC32MX130F256D
PIC32MX130F256D
PIC32MX250F128B
PIC32MX250F128B
PIC32MX250F128D
PIC32MX250F128D
PIC32MX564F064H
PIC32MX564F064H
PIC32MX564F128L
PIC32MX564F128L
PIC32MX130F128L
PIC32MX130F128L
PIC32MX430F064L
PIC32MX430F064L
PIC32MX370F512H
PIC32MX370F512H
PIC32MX470F512L
PIC32MX470F512L
PIC32MX530F128L
PIC32MX530F128L
PIC32MX230F064B
PIC32MX230F064B
PIC32MX250F256H
PIC32MX250F256H
PIC32MX360F512L
PIC32MX360F512L
PIC32MX564F064L
PIC32MX564F064L
PIC32MX664F064L
PIC32MX664F064L
PIC32MX170F256D
PIC32MX170F256D
PIC32MX440F256H
PIC32MX440F256H
PIC32MX450F128H
PIC32MX450F128H
PIC32MX150F128C
32 Bit MCU
PIC32MX150F128C 32 Bit MCU
PIC32MX150F128B
PIC32MX150F128B
PIC32MX230F128L
PIC32MX230F128L
PIC32MX120F064H
PIC32MX120F064H
PIC32MX130F256B
PIC32MX130F256B
PIC32MX210F016D
PIC32MX210F016D
PIC32MX210F016C
32-bit Microcontroller
PIC32MX210F016C 32-bit Microcontroller
PIC32MX320F032H
PIC32MX320F032H
PIC32MX675F256H
PIC32MX675F256H
PIC32MX575F512L
PIC32MX575F512L
PIC32MX440F512H
PIC32MX440F512H
PIC32MX250F256L
PIC32MX250F256L
PIC32MX340F128H
PIC32MX340F128H
PIC32MX220F032B
PIC32MX220F032B
PIC32MX170F256B
PIC32MX170F256B