|
void | spiisolator2_cfg_setup (spiisolator2_cfg_t *cfg) |
| SPI Isolator 2 configuration object setup function.
|
|
err_t | spiisolator2_init (spiisolator2_t *ctx, spiisolator2_cfg_t *cfg) |
| SPI Isolator 2 initialization function.
|
|
err_t | spiisolator2_generic_write (spiisolator2_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
| SPI Isolator 2 data writing function.
|
|
err_t | spiisolator2_generic_read (spiisolator2_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
| SPI Isolator 2 data reading function.
|
|
void | spiisolator2_output_enable (spiisolator2_t *ctx, uint8_t en_out) |
| SPI Isolator 2 output enable function.
|
|
void | spiisolator2_set_cmd (spiisolator2_t *ctx, uint8_t cmd) |
| SPI Isolator 2 send command function.
|
|
void | spiisolator2_write_byte (spiisolator2_t *ctx, uint8_t reg, uint8_t tx_data) |
| SPI Isolator 2 write the byte of data function.
|
|
uint8_t | spiisolator2_read_byte (spiisolator2_t *ctx, uint8_t reg) |
| SPI Isolator 2 read the byte of data function.
|
|
void | spiisolator2_burst_write (spiisolator2_t *ctx, uint8_t reg, uint8_t *p_tx_data, uint8_t n_bytes) |
| SPI Isolator 2 burst write function.
|
|
void | spiisolator2_burst_read (spiisolator2_t *ctx, uint8_t reg, uint8_t *p_rx_data, uint8_t n_bytes) |
| SPI Isolator 2 burst read function.
|
|
void | spiisolator2_multi_write (spiisolator2_t *ctx, uint32_t addr, uint8_t addr_n_bytes, uint8_t *p_tx_data, uint8_t tx_data_n_bytes) |
| SPI Isolator 2 multi write function.
|
|
void | spiisolator2_multi_read (spiisolator2_t *ctx, uint32_t addr, uint8_t addr_n_bytes, uint8_t *p_rx_data, uint8_t tx_data_n_bytes) |
| SPI Isolator 2 multi read function.
|
|
This file contains API for SPI Isolator 2 Click Driver.