uartmux4 2.1.0.0
|
This file contains API for UART MUX 4 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_uart.h"
Go to the source code of this file.
Data Structures | |
struct | uartmux4_t |
UART MUX 4 Click context object. More... | |
struct | uartmux4_cfg_t |
UART MUX 4 Click configuration object. More... | |
Macros | |
#define | UARTMUX4_TX_DRV_BUFFER_SIZE 100 |
UART MUX 4 driver buffer size. | |
#define | UARTMUX4_RX_DRV_BUFFER_SIZE 300 |
#define | UARTMUX4_MAP_MIKROBUS(cfg, mikrobus) |
MikroBUS pin mapping. | |
Enumerations | |
enum | uartmux4_return_value_t { UARTMUX4_OK = 0 , UARTMUX4_ERROR = -1 } |
UART MUX 4 Click return value data. More... | |
Functions | |
void | uartmux4_cfg_setup (uartmux4_cfg_t *cfg) |
UART MUX 4 configuration object setup function. | |
err_t | uartmux4_init (uartmux4_t *ctx, uartmux4_cfg_t *cfg) |
UART MUX 4 initialization function. | |
err_t | uartmux4_generic_write (uartmux4_t *ctx, uint8_t *data_in, uint16_t len) |
UART MUX 4 data writing function. | |
err_t | uartmux4_generic_read (uartmux4_t *ctx, uint8_t *data_out, uint16_t len) |
UART MUX 4 data reading function. | |
void | uartmux4_enable_uart1 (uartmux4_t *ctx) |
UART MUX 4 enable the UART 1 function. | |
void | uartmux4_enable_uart2 (uartmux4_t *ctx) |
UART MUX 4 enable the UART 2 function. | |
This file contains API for UART MUX 4 Click Driver.