canbus 2.0.0.0
|
CAN Bus Click Example. More...
Macros | |
#define | PROCESS_BUFFER_SIZE 200 |
#define | RECIEVER |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
unsigned char | demo_message [9] = { 'M', 'i', 'k', 'r', 'o', 'E', 13, 10, 0 } |
CAN Bus Click Example.
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 :
Initializes driver, wake-up module, and set high-speed operation mode.
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.
#define PROCESS_BUFFER_SIZE 200 |
#define RECIEVER |
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |
unsigned char demo_message[9] = { 'M', 'i', 'k', 'r', 'o', 'E', 13, 10, 0 } |