rs232isolator2 2.0.0.0
|
RS232 Isolator 2 Click Example. More...
Macros | |
#define | PROCESS_BUFFER_SIZE 200 |
#define | TRANSMITTER |
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 } |
RS232 Isolator 2 Click Example.
This library contains API for RS 232 Isolator 2 Click driver. This example transmits/receives and processes data from RS 232 Isolator 2 clicks. The library initializes and defines the UART bus drivers to transmit or receive data.
The demo application is composed of two sections :
Initializes driver and wake-up module.
Transmitter/Receiver task depend 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 TRANSMITTER |
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 } |