canfd2 2.0.0.0
|
CanFd2 Click example. More...
Macros | |
#define | DEMO_APP_TRANSMITTER |
#define | DEMO_TEXT_MESSAGE "MIKROE - CAN FD 2 click board\r\n\0" |
#define | PROCESS_BUFFER_SIZE 200 |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
CanFd2 Click example.
This example reads and processes data from CAN FD 2 clicks.
The demo application is composed of two sections :
Initializes the driver and configures the click board for the selected mode.
Depending on the selected mode, it reads all the received data or sends the desired message every 2 seconds.
#define DEMO_APP_TRANSMITTER |
#define DEMO_TEXT_MESSAGE "MIKROE - CAN FD 2 click board\r\n\0" |
#define PROCESS_BUFFER_SIZE 200 |
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |