|
void | dac18_cfg_setup (dac18_cfg_t *cfg) |
| DAC 18 configuration object setup function. More...
|
|
err_t | dac18_init (dac18_t *ctx, dac18_cfg_t *cfg) |
| DAC 18 initialization function. More...
|
|
err_t | dac18_default_cfg (dac18_t *ctx) |
| DAC 18 default configuration function. More...
|
|
err_t | dac18_generic_write (dac18_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
| DAC 18 I2C writing function. More...
|
|
err_t | dac18_generic_read (dac18_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
| DAC 18 I2C reading function. More...
|
|
err_t | dac18_register_write (dac18_t *ctx, uint8_t reg, uint16_t data_in) |
| DAC 18 register writing function. More...
|
|
err_t | dac18_register_read (dac18_t *ctx, uint8_t reg, uint16_t *data_out) |
| DAC 18 register reading function. More...
|
|
err_t | dac18_cfg_pwm_out (dac18_t *ctx, uint8_t f_sel, uint8_t c_step, uint8_t t_step) |
| DAC 18 PWM OUT0 configuration function. More...
|
|
err_t | dac18_set_dac_code (dac18_t *ctx, uint16_t max_dc, uint16_t min_dc) |
| DAC 18 set DAC code function. More...
|
|
err_t | dac18_set_debounce_delay (dac18_t *ctx, float delay_ms) |
| DAC 18 set debounce delay function. More...
|
|
void | dac18_set_mode (dac18_t *ctx, uint8_t mode) |
| DAC 18 set operation mode function. More...
|
|
uint8_t | dac18_get_gp0 (dac18_t *ctx) |
| DAC 18 get GP0 pin state function. More...
|
|
uint8_t | dac18_get_gp1 (dac18_t *ctx) |
| DAC 18 get GP1 pin state function. More...
|
|
uint8_t | dac18_get_gp2 (dac18_t *ctx) |
| DAC 18 get GP2 pin state function. More...
|
|
void | dac18_get_gpi_status (dac18_t *ctx, uint8_t *gpi_status) |
| DAC 18 get GPI status function. More...
|
|
This file contains API for DAC 18 Click Driver.