canisolator2 2.0.0.0
|
This file contains API for CAN 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 | canisolator2_t |
CAN Isolator 2 Click context object. More... | |
struct | canisolator2_cfg_t |
CAN Isolator 2 Click configuration object. More... | |
Macros | |
#define | DRV_BUFFER_SIZE 200 |
CAN Isolator 2 driver buffer size. | |
#define | CANISOLATOR2_MAP_MIKROBUS(cfg, mikrobus) |
MikroBUS pin mapping. | |
Enumerations | |
enum | canisolator2_return_value_t { CANISOLATOR2_OK = 0 , CANISOLATOR2_ERROR = -1 } |
CAN Isolator 2 Click return value data. More... | |
Functions | |
void | canisolator2_cfg_setup (canisolator2_cfg_t *cfg) |
CAN Isolator 2 configuration object setup function. | |
err_t | canisolator2_init (canisolator2_t *ctx, canisolator2_cfg_t *cfg) |
CAN Isolator 2 initialization function. | |
err_t | canisolator2_generic_write (canisolator2_t *ctx, char *data_buf, uint16_t len) |
CAN Isolator 2 data writing function. | |
err_t | canisolator2_generic_read (canisolator2_t *ctx, char *data_buf, uint16_t max_len) |
CAN Isolator 2 data reading function. | |
err_t | canisolator2_send_data (canisolator2_t *ctx, char *tx_data) |
CAN Isolator 2 send data function. | |
This file contains API for CAN Isolator 2 Click Driver.