MDK Components  Version 6.6
MDK-Professional Middleware
 All Pages
Driver Interface

The interface to the microcontroller peripherals is done using drivers complying with the CMSIS-Driver standard. These drivers are not limited to MDK-Professional Middleware and may be used by other middleware stacks to utilize the peripherals.

For each enabled peripheral of the microcontroller, a control or access struct is provided that is the interface for the middleware. Drivers for most of the communication peripherals are part of the Software Packs that provide device support.

mw_driver.png
Drivers are connected to Middleware using configuration files

The drivers are typically configured using the RTE_device.h configuration file. This file maps I/O pins, interrupts and DMA channels to the available microcontroller resources. Silicon vendors may supply their own configuration tools for peripheral access (for example Infineon's DAVE or STMicroelectronics' STM32Cube).

The access struct of the various drivers is connected to the middleware using the configuration files of each middleware component.