AtMega CAN Library
Well documented CAN library for AtMega processors utilizing the original Atmel driver
|
Finding a well documented CAN driver for AtMega devices seems to be a challenge. This is my take on it. I have used as much of the original Atmel driver as possible and added a library to make usage easy. The functionality splits some of the message object buffer of the processor to use as TX buffers and some as RX RX buffers. For the internal operations please see the source files.
The library currently supports 2.0A standard ID's but the plan is to implemnent extended identifiers in the future. Buss error handling conditions and reporting are also under implementation at the moment. This means that the driver will recover from these errors but nohthing will be logged per se.
Usage is simple and straight forward.