What's COX ?
COX is the definition of a group of interface function, contained in COX.h. It defines the functional access functions of MCU’s common peripherals, such as IIC, SPI, UART, etc.
Why do we use COX ?
COX function interface unify the definition of the access functions of MCU’s common peripherals, which makes engineers port programs among different MCUs more conveniently.
COX has a set of specific realization for each MCU, and its code size and speed are nearly the same as the library that the suppliers provided.
When should we use COX ?
If users may change MCU in future
If users plan to use the existing drivers based on COX interface
How to use COX ?
Check the corresponding components of Peripheral.COX (like the figure below), otherwise, check the components sorted based on original code, such as Peripheral.NXP, Peripheral.Atmel, etc.
They also could be mixed selection when Peripheral.Cox couldn’t provide the functions that the original code implemented. copied from
www.coocox.orgIt seems to be a very useful tool, but I don't know if anyone have use COX to develop a project.