canisolator3 2.1.0.0
|
CAN Isolator 3 Click Example. More...
Macros | |
#define | PROCESS_BUFFER_SIZE 200 |
#define | TX_MESSAGE "CAN Isolator 3 Click \r\n" |
#define | DEMO_APP_TRANSMITTER |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
CAN Isolator 3 Click Example.
This example writes and reads and processes data from CAN Isolator 3 Click. The library also includes a function for selection of the output polarity.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
This example contains Transmitter/Receiver task depending on uncommented code. Receiver logs each received byte to the UART for data logging, while the transmitter sends messages every 2 seconds.
#define DEMO_APP_TRANSMITTER |
#define PROCESS_BUFFER_SIZE 200 |
#define TX_MESSAGE "CAN Isolator 3 Click \r\n" |
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 | ) |