UART MUX 2 Click Example.
Description
This library contains API for UART MUX 2 Click driver. This example transmits/receives and processes data from UART MUX 2 clicks. The library initializes and defines the UART bus drivers to transmit or receive data.
The demo application is composed of two sections :
Application Init
Initializes driver and set UART channel module.
Application Task
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.
Additional Function
- static void uartmux2_clear_app_buf ( void ) - Function clears memory of app_buf.
- static err_t uartmux2_process ( void ) - The general process of collecting presponce that a module sends.
- Author
- Nenad Filipovic