|
solenoiddriver 2.2.0
|
This file contains API for Solenoid Driver Click Driver. More...
#include "drv_digital_out.h"#include "drv_digital_in.h"#include "drv_spi_master.h"#include "spi_specifics.h"Go to the source code of this file.
Data Structures | |
| struct | solenoiddriver_t |
| Solenoid Driver Click context object. More... | |
| struct | solenoiddriver_cfg_t |
| Solenoid Driver Click configuration object. More... | |
Enumerations | |
| enum | solenoiddriver_return_value_t { SOLENOIDDRIVER_OK = 0 , SOLENOIDDRIVER_ERROR = -1 } |
| Solenoid Driver Click return value data. More... | |
Functions | |
| void | solenoiddriver_cfg_setup (solenoiddriver_cfg_t *cfg) |
| Solenoid Driver configuration object setup function. | |
| err_t | solenoiddriver_init (solenoiddriver_t *ctx, solenoiddriver_cfg_t *cfg) |
| Solenoid Driver initialization function. | |
| err_t | solenoiddriver_default_cfg (solenoiddriver_t *ctx) |
| Solenoid Driver default configuration function. | |
| err_t | solenoiddriver_write_reg (solenoiddriver_t *ctx, uint8_t reg, uint8_t data_in) |
| Solenoid Driver write register function. | |
| err_t | solenoiddriver_read_reg (solenoiddriver_t *ctx, uint8_t reg, uint8_t *data_out) |
| Solenoid Driver read register function. | |
| void | solenoiddriver_set_in0_pin (solenoiddriver_t *ctx, uint8_t state) |
| Solenoid Driver set IN0 pin function. | |
| void | solenoiddriver_set_in1_pin (solenoiddriver_t *ctx, uint8_t state) |
| Solenoid Driver set IN1 pin function. | |
| void | solenoiddriver_set_sleep_pin (solenoiddriver_t *ctx, uint8_t state) |
| Solenoid Driver set SLEEP pin function. | |
| void | solenoiddriver_enter_sleep (solenoiddriver_t *ctx) |
| Solenoid Driver enter sleep mode function. | |
| void | solenoiddriver_exit_sleep (solenoiddriver_t *ctx) |
| Solenoid Driver exit sleep mode function. | |
| err_t | solenoiddriver_reset_device (solenoiddriver_t *ctx) |
| Solenoid Driver device reset function. | |
| err_t | solenoiddriver_lock_settings (solenoiddriver_t *ctx) |
| Solenoid Driver lock settings function. | |
| err_t | solenoiddriver_unlock_settings (solenoiddriver_t *ctx) |
| Solenoid Driver unlock settings function. | |
| err_t | solenoiddriver_clear_latch (solenoiddriver_t *ctx) |
| Solenoid Driver clear latch outputs function. | |
| err_t | solenoiddriver_set_output (solenoiddriver_t *ctx, uint8_t out_ctrl) |
| Solenoid Driver set output function. | |
This file contains API for Solenoid Driver Click Driver.