The API of the CMSIS-Drivers is published in the Driver Header Files.
To simplify the development of a CMSIS-Driver both Driver Template Files and Driver Examples are provided.
ARM offers also a Software Pack for CMSIS-Driver Validation as described in Driver Validation.
Driver Header FilesThe API of each CMSIS-Driver is published in a header file. It is recommended to include the header file that is part of the CMSIS specification in the implementation file of the CMSIS-Driver.
The following header files are available in the directory .\CMSIS\Driver\Include.
Driver Template FilesDriver template files are code skeletons that provide the structure of a CMSIS-Driver. The following templates are available in the directory .\CMSIS\Driver\DriverTemplates.
Driver ExamplesThe driver examples are full working CMSIS-Drivers that may be adapted to a different hardware. Examples are currently available for the NXP LPC1800 series and provide the implementation of a complete CMSIS-Driver. The following examples are available in the directory .\CMSIS\Pack\Example\CMSIS_Driver.
These CMSIS-Drivers use additional modules for GPIO and DMA control:
Source File Header File Description GPIO_LPC18xx.c GPIO_LPC18xx.h GPIO Interface for LPC1800 series GPDMA_LPC18xx.c none DMA Interface for LPC1800 series SCU_LPC18xx.c SCU_LPC18xx.h SCU Interface for LPC1800 seriesThe CMSIS-Drivers for the LPC1800 device have also many configuration options that are controls using #define statements in the file .\CMSIS\Pack\Example\CMSIS_Driver\Config\RTE_Device.h. Using this file, the I/O pin and DMA assignment can be set among other parameters such as USB speed and PHY interfaces.
Further driver reference implementations are available in Device Family Packs (DFP) labeled with version 2.0.0 or higher.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4