User:Dolores88/sandbox: Difference between revisions
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
The API support the concept of hardware message buffers with a total limit of 255 buffers. It is also possible to connect a [[FIFO (computing and electronics)|FIFO]] to a buffer for both transfer directions. CANpie provides a method to gather information about the features of the CAN hardware. This is especially important for an application designer who wants to write the code only once. |
The API support the concept of hardware message buffers with a total limit of 255 buffers. It is also possible to connect a [[FIFO (computing and electronics)|FIFO]] to a buffer for both transfer directions. CANpie provides a method to gather information about the features of the CAN hardware. This is especially important for an application designer who wants to write the code only once. |
||
==Usage== |
|||
The following code snippet shows the initialisation of a microcontroller. |
|||
==References== |
==References== |
Revision as of 19:15, 5 March 2017
CANpie (CAN Programming Interface Environment) is an open source project and pursues the objective of creating and establishing an open and standardized software API for access to the CAN bus.
![](http://upload.wikimedia.org/wikipedia/en/thumb/4/44/CANpieFD_Logo.png/300px-CANpieFD_Logo.png)
The project was established in 2003 by MicroControl and is licensed under LGPL version 3. The current version 3 (CANpie FD) of the API covers both classical CAN frames as well as ISO CAN FD [1] frames. The API is designed for embedded control applications and PC interface boards: the embedded microcontroller is programmed in C, a C++ API is provided for OS independent access to interface boards.
The API support the concept of hardware message buffers with a total limit of 255 buffers. It is also possible to connect a FIFO to a buffer for both transfer directions. CANpie provides a method to gather information about the features of the CAN hardware. This is especially important for an application designer who wants to write the code only once.
Usage
The following code snippet shows the initialisation of a microcontroller.