When you develop application for PIC32 microcontrollers using MPLAB Harmony, you will come across the terms Static and Dynamic Implementation of Library Interface. So what is Static and Dynamic Implementation in MPLAB Harmony?
The PIC32 microcontrollers like any other microcontrollers has number of peripherals such as USART, ADC, USB etc. These peripheral devices have driver libraries. To use these peripheral devices you must access and use the driver libraries interfaces. Driver libraries Interfaces or just Library Interfaces are set of precoded data structures and functions that you will be able to access to use the driver.
For example, consider the USART peripheral device of the PIC32 microcontroller. This USART has a driver library which you can use or access via its predefined interface. Now this interface is what is there for you to use. On the other side, consider how you would use this driver library in order to use the USART device. In order to use this driver library you need to have prior knowledge on how you need it.
For example, you might just need one USART to communicate with a single PC. Or, you might want to communicate with two devices like a PC and an oscilloscope. If you need single USART communication, to a PC for example, then you just need to create a single instance of the driver library interface. But if you want to communicate with a PC and an oscilloscope then you need two instances of the driver library.
If you use single instance of the library then you are using static implementation of the library. And if you use two or more than two instances of the same library then you are using dynamic implementation of the library.
Hence when we say Library Implementation we mean the way the library can be used. And there are two ways to use it- either static meaning to use only single instance or dynamic which means to use multiple instances of the library.
Want to learn how to use MPLAB Harmony? then visit PIC32MX MPLAB Harmony Tutorial.