rs232isolator2 2.0.0.0
|
This file contains API for RS 232 Isolator 2 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 | rs232isolator2_t |
RS232 Isolator 2 Click context object. More... | |
struct | rs232isolator2_cfg_t |
RS232 Isolator 2 Click configuration object. More... | |
Macros | |
#define | DRV_BUFFER_SIZE 200 |
RS232 Isolator 2 driver buffer size. | |
#define | RS232ISOLATOR2_MAP_MIKROBUS(cfg, mikrobus) |
MikroBUS pin mapping. | |
Enumerations | |
enum | rs232isolator2_return_value_t { RS232ISOLATOR2_OK = 0 , RS232ISOLATOR2_ERROR = -1 } |
RS232 Isolator 2 Click return value data. More... | |
Functions | |
void | rs232isolator2_cfg_setup (rs232isolator2_cfg_t *cfg) |
RS232 Isolator 2 configuration object setup function. | |
err_t | rs232isolator2_init (rs232isolator2_t *ctx, rs232isolator2_cfg_t *cfg) |
RS232 Isolator 2 initialization function. | |
err_t | rs232isolator2_generic_write (rs232isolator2_t *ctx, char *data_buf, uint16_t len) |
RS232 Isolator 2 data writing function. | |
err_t | rs232isolator2_generic_read (rs232isolator2_t *ctx, char *data_buf, uint16_t max_len) |
RS232 Isolator 2 data reading function. | |
err_t | rs232isolator2_send_data (rs232isolator2_t *ctx, char *tx_data) |
RS232 Isolator 2 data writing function. | |
This file contains API for RS 232 Isolator 2 Click Driver.