cxpi 2.0.0.0
|
CXPI Click Example. More...
Macros | |
#define | PROCESS_COUNTER 10 |
#define | PROCESS_RX_BUFFER_SIZE 100 |
#define | PROCESS_PARSER_BUFFER_SIZE 100 |
#define | DEMO_APP_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 } |
CXPI Click Example.
This is an example that demonstrates the use of the CXPI Click board.
The demo application is composed of two sections :
Initializes UART driver. In addition to this module is placed inside transmitter/receiver working mode cappable of transmission/receive the data.
Transmitter/Receiver task depend on uncommented code Receiver logging each received byte to the UART for data logging, while transmitted send messages every 5 seconds.
#define DEMO_APP_TRANSMITTER |
#define PROCESS_COUNTER 10 |
#define PROCESS_PARSER_BUFFER_SIZE 100 |
#define PROCESS_RX_BUFFER_SIZE 100 |
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 } |