canisolator3 2.1.0.0
|
This file contains API for CAN Isolator 3 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 | canisolator3_t |
CAN Isolator 3 Click context object. More... | |
struct | canisolator3_cfg_t |
CAN Isolator 3 Click configuration object. More... | |
Macros | |
#define | CANISOLATOR3_PIN_STATE_HIGH 0x01 |
CAN Isolator 3 control commands. | |
#define | CANISOLATOR3_PIN_STATE_LOW 0x00 |
#define | CANISOLATOR3_TX_DRV_BUFFER_SIZE 100 |
CAN Isolator 3 driver buffer size. | |
#define | CANISOLATOR3_RX_DRV_BUFFER_SIZE 300 |
#define | CANISOLATOR3_MAP_MIKROBUS(cfg, mikrobus) |
MikroBUS pin mapping. | |
Enumerations | |
enum | canisolator3_return_value_t { CANISOLATOR3_OK = 0 , CANISOLATOR3_ERROR = -1 } |
CAN Isolator 3 Click return value data. More... | |
Functions | |
void | canisolator3_cfg_setup (canisolator3_cfg_t *cfg) |
CAN Isolator 3 configuration object setup function. | |
err_t | canisolator3_init (canisolator3_t *ctx, canisolator3_cfg_t *cfg) |
CAN Isolator 3 initialization function. | |
void | canisolator3_default_cfg (canisolator3_t *ctx) |
CAN Isolator 3 default configuration function. | |
err_t | canisolator3_generic_write (canisolator3_t *ctx, uint8_t *data_in, uint16_t len) |
CAN Isolator 3 data writing function. | |
err_t | canisolator3_generic_read (canisolator3_t *ctx, uint8_t *data_out, uint16_t len) |
CAN Isolator 3 data reading function. | |
void | canisolator3_set_pol_pin (canisolator3_t *ctx, uint8_t pin_state) |
CAN Isolator 3 set polarity function. | |
This file contains API for CAN Isolator 3 Click Driver.