CoX is an peripherals library with a unified standard interface specially for ARM Cortex M.
CoX - CoX Peripheral Interface, by CooCox(http://www.coocox.org)
http://www.coocox.org/cox.html
https://github.com/coocox/cox
CoX Peripheral Library is the definition of a group of interface functions.
It defines the functional access functions of MCU’s common peripherals, such
as IIC, SPI, UART, etc. CoX makes full functions, drivers based on CoX can be
ported to other MCU easily.
CoX Peripheral Library can be divided into four parts:
±---------±--------------------------------------------±-------±----------+
Interface | Description | States | Date |
---|---|---|---|
Startup | CoX startup code | Y | 09/2011 |
LowLayer | CoX lowlayer support, such as type define, | Y | 09/2011 |
register define, debug assert and so on | |||
CORE | Cortex-M0/M3 Core Peripheral Interface | Y | 09/2011 |
SysCtl | System Control(CG & PMC) Peripheral Interface | Y | 09/2011 |
DMA | DMA Peripheral Interface | Y | 09/2011 |
GPIO | GPIO & AFIO Peripheral Interface | Y | 09/2011 |
UART | UART Peripheral Interface | Y | 09/2011 |
SPI | SPI(SSI) Peripheral Interface | Y | 09/2011 |
I2C | I2C Peripheral Interface | Y | 09/2011 |
TIMER | Timer Peripheral Interface | Y | 09/2011 |
PWM | PWM Peripheral Interface | Y | 09/2011 |
RTC | RTC Peripheral Interface | Y | 09/2011 |
WDT | Watchdog Timer Peripheral Interface | Y | 09/2011 |
ADC | ADC Peripheral Interface | Y | 09/2011 |
ACMP | Analog Comparator Peripheral Interface | Y | 09/2011 |
I2S | Inter-Integrated Circuit Sound(I2S) | + | 12/2011 |
Peripheral Interface | |||
CAN | CAN Bus Peripheral Interface | + | 12/2011 |
USB | USB Device/Host/OTG Peripheral Interface | + | 12/2011 |
EBI | EBI bus Peripheral Interface | + | 12/2011 |
±---------±--------------------------------------------±-------±----------+ |
±----------------±------------------±-------±----------+
Manufacturer | Series | States | Date |
---|---|---|---|
CooCox | CoX Port Template | Y | 09/2011 |
----------------- | ------------------- | -------- | ----------- |
Nuvoton | NUC1xx | Y | 09/2011 |
NUC122 | + | 11/2011 | |
M051 | + | 12/2011 | |
----------------- | ------------------- | -------- | ----------- |
NXP | LPC11c1x | + | 2012 |
LPC11xx | + | 12/2011 | |
LPC12xx | + | 2012 | |
LPC13xx | + | 2012 | |
LPC17xx | + | 2012 | |
----------------- | ------------------- | -------- | ----------- |
ST | STM32F10x | + | 12/2011 |
----------------- | ------------------- | -------- | ----------- |
TI | Stellaris | + | 12/2011 |
±----------------±------------------±-------±----------+ |
The contents of the repository can be divided into four parts:
Wish to be a contributor of CoX? You can:
Please see the guide in the /Document/.
/CoX/
CoX peripheral librarys for diffrent MCU platform and drivers or
middleware that based on the CoX peripheral interface.
CoX_Peripheral/
CoX peripheral librarys for diffrent MCU platform.
CoX_Peripheral_Manual/
Source for generate CoX peripheral manual.
CoX_Peripheral_NUC1xx/
CoX peripheral library for Nuvoton NUC1xx.
CoX_Peripheral_Template/
CoX peripheral library port template.
...
publish/
Publish CoX peripheral library script.
Driver/
Drivers that based on the CoX peripheral interface.
resource/
testframe/
Driver test frame.
Sensor_Temp_ADI/
Drivers for ADI temperature sensor. The directory name like this:
Cate_SubCate_Manufacturer.
Sensor_Temp_Microchip/
Drivers for Microchip temperature sensor.
...
/Document/
Some document.
/LICENSE
Licensing and copyright information.
/Nuvoton/
Peripheral library compatible with CMSIS provided by Nuvoton.
NUC1xx/
NUC1xx peripheral library provided by Nuvoton.
...
/README
This file.
/Resource/
Some useful tools.