rs485isolator4
2.1.0.0
|
This file contains API for RS485 Isolator 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 | rs485isolator4_t |
RS485 Isolator 4 Click context object. More... | |
struct | rs485isolator4_cfg_t |
RS485 Isolator 4 Click configuration object. More... | |
Macros | |
#define | RS485ISOLATOR4_TX_DRV_BUFFER_SIZE 256 |
RS485 Isolator 4 driver buffer size. More... | |
#define | RS485ISOLATOR4_RX_DRV_BUFFER_SIZE 256 |
#define | RS485ISOLATOR4_MAP_MIKROBUS(cfg, mikrobus) |
MikroBUS pin mapping. More... | |
Enumerations | |
enum | rs485isolator4_return_value_t { RS485ISOLATOR4_OK = 0, RS485ISOLATOR4_ERROR = -1 } |
RS485 Isolator 4 Click return value data. More... | |
Functions | |
void | rs485isolator4_cfg_setup (rs485isolator4_cfg_t *cfg) |
RS485 Isolator 4 configuration object setup function. More... | |
err_t | rs485isolator4_init (rs485isolator4_t *ctx, rs485isolator4_cfg_t *cfg) |
RS485 Isolator 4 initialization function. More... | |
err_t | rs485isolator4_generic_write (rs485isolator4_t *ctx, uint8_t *data_in, uint16_t len) |
RS485 Isolator 4 data writing function. More... | |
err_t | rs485isolator4_generic_read (rs485isolator4_t *ctx, uint8_t *data_out, uint16_t len) |
RS485 Isolator 4 data reading function. More... | |
void | rs485isolator4_receiver_enable (rs485isolator4_t *ctx) |
RS485 Isolator 4 receiver enable function. More... | |
void | rs485isolator4_receiver_disable (rs485isolator4_t *ctx) |
RS485 Isolator 4 receiver disable function. More... | |
void | rs485isolator4_driver_enable (rs485isolator4_t *ctx) |
RS485 Isolator 4 driver enable function. More... | |
void | rs485isolator4_driver_disable (rs485isolator4_t *ctx) |
RS485 Isolator 4 driver disable function. More... | |
This file contains API for RS485 Isolator 4 Click Driver.