Link Search Menu Expand Document

                                                                                                     

Differences Between MPLAB Harmony v3 Synchronous and Asynchronous Drivers

MPLAB Harmony v3 drivers provide a simple and abstracted ‘C’ language interface to the peripherals and other system resources. Some functions are similar across on all the device drivers, while other functions are unique to a specific driver or peripheral. Driver interface functions are generally independent of the details of how a given peripheral is implemented on any specific hardware, or how many instances of that peripheral exist in each system. Applications can control and easily interact with the peripherals by calling the driver interface.

MPLAB Harmony v3 allows users to configure the drivers in any one of these operating modes: Synchronous (Blocking) or Asynchronous (Non-Blocking).

  • Asynchronous Mode - Non-blocking Application Program Interfaces (APIs). - Allows queuing of multiple requests. Each instance of an Asynchronous driver has a dedicated queue. - Works seamlessly in bare-metal and RTOS environment. - Interrupt and thread-safe.
  • Synchronous Mode - Blocking APIs - Support only RTOS environment - Interrupt and thread-safe

This guide describes Synchronous and Asynchronous operating modes and how to use them.

For more information refer the links below.

               



Copyright © 2020 Microchip Technology.