USART Dynamic Driver Details for Harmony v2
USART Dynamic Driver Source Files
The following Universal Synchronous/Asynchronous Receiver/Transmitter (USART) driver source files are downloaded along with the rest of MPLAB® Harmony Framework. When you use MPLAB Harmony Configurator (MHC) to add a dynamic driver to your project, MHC will automatically add the appropriate source files to your project (see table below). Having different source files for specific data transfer models helps to minimize the overall application code size.
USART Data Transfer Model | Source Files |
---|---|
Byte-by-Byte | drv_usart.c drv_usart_byte_model.c |
File I/O Read/Write | drv_usart.c drv_usart_read_write.c |
File I/O Read/Write with Buffer Queue | drv_usart.c drv_usart_read_write.c drv_usart_buffer_queue.c |
Buffer Queue | drv_usart.c drv_usart_buffer_queue.c |
Buffer Queue with DMA | drv_usart_dma.c drv_usart_buffer_queue_dma.c |
USART Dynamic Driver Generation Details
After using MHC to configure the USART dynamic drivers, you will generate the code that configures the drivers by clicking the MHC Generate button. These files will be modified.