CAN Bus Click Example.
Description
This library contains API for CAN Bus click boardâ„¢. This example transmits/receives and processes data from CAN Bus click. The library initializes and defines the UART bus drivers to transmit or receive data.
The demo application is composed of two sections :
Application Init
Initializes driver, wake-up module, and set high-speed operation mode.
Application Task
Transmitter/Receiver task depends on uncommented code. Receiver logging each received byte to the UART for data logging, while transmitted send messages every 2 seconds.
Additional Function
- static void canbus_clear_app_buf ( void ) - Function clears memory of app_buf.
- static err_t canbus_process ( void ) - The general process of collecting presponce that a module sends.
- Author
- Nenad Filipovic