|
void | adapter_cfg_setup (adapter_cfg_t *cfg) |
| Config Object Initialization function.
|
|
ADAPTER_RETVAL | adapter_init (adapter_t *ctx, adapter_cfg_t *cfg) |
| Initialization function.
|
|
void | adapter_generic_write (adapter_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
| Generic write function.
|
|
void | adapter_generic_read (adapter_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
| Generic read function.
|
|
void | adapter_generic_transfer (adapter_t *ctx, uint8_t *wr_buf, uint16_t wr_len, uint8_t *rd_buf, uint16_t rd_len) |
| Generic transfer function.
|
|
void | adapter_turn_tx_on (adapter_t *ctx) |
| Turn TX on function.
|
|
void | adapter_turn_rx_on (adapter_t *ctx) |
| Turn RX on function.
|
|
void | adapter_turn_pwm_on (adapter_t *ctx) |
| Turn PWM on function.
|
|
void | adapter_turn_tx_off (adapter_t *ctx) |
| Turn TX off function.
|
|
void | adapter_turn_rx_off (adapter_t *ctx) |
| Turn RX off function.
|
|
void | adapter_turn_pwm_off (adapter_t *ctx) |
| Turn PWM off function.
|
|
uint8_t | adapter_check_int (adapter_t *ctx) |
| Check INT function.
|
|
This file contains API for Adapter Click driver.