Go to the documentation of this file.
44 uint16_t chans, uint16_t *value);
int32_t no_os_i2c_write(struct no_os_i2c_desc *desc, uint8_t *data, uint8_t bytes_number, uint8_t stop_bit)
I2C Write data to slave device.
Definition: no_os_i2c.c:159
#define STOP_BIT
Definition: ad5593r.c:45
#define AD5593R_MODE_CONF
Definition: ad5593r.c:38
int32_t ad5593r_reg_write(struct ad5592r_dev *dev, uint8_t reg, uint16_t value)
Definition: ad5593r.c:175
@ AD5592R_REG_ADC_SEQ
Definition: ad5592r-base.h:58
int32_t ad5592r_software_reset(struct ad5592r_dev *dev)
Definition: ad5592r-base.c:182
#define AD5593R_ADC_VALUES_BUFF_SIZE
Definition: ad5593r.c:47
int32_t ad5593r_reg_read(struct ad5592r_dev *dev, uint8_t reg, uint16_t *value)
Definition: ad5593r.c:205
int32_t ad5593r_reg_write(struct ad5592r_dev *dev, uint8_t reg, uint16_t value)
Definition: ad5593r.c:175
struct no_os_i2c_desc * i2c
Definition: ad5592r-base.h:117
int32_t ad5593r_gpio_read(struct ad5592r_dev *dev, uint8_t *value)
Definition: ad5593r.c:236
int32_t ad5593r_write_dac(struct ad5592r_dev *dev, uint8_t chan, uint16_t value)
Definition: ad5593r.c:66
int32_t ad5593r_multi_read_adc(struct ad5592r_dev *dev, uint16_t chans, uint16_t *values)
Definition: ad5593r.c:131
Header file of AD5593R driver.
int32_t(* write_dac)(struct ad5592r_dev *dev, uint8_t chan, uint16_t value)
Definition: ad5592r-base.h:98
int32_t ad5593r_write_dac(struct ad5592r_dev *dev, uint8_t chan, uint16_t value)
Definition: ad5593r.c:66
int32_t ad5593r_reg_read(struct ad5592r_dev *dev, uint8_t reg, uint16_t *value)
Definition: ad5593r.c:205
#define AD5593R_MODE_ADC_READBACK
Definition: ad5593r.c:40
unsigned int no_os_hweight16(uint16_t word)
int32_t ad5593r_gpio_read(struct ad5592r_dev *dev, uint8_t *value)
Definition: ad5593r.c:236
Header file of AD5592R Base Driver.
Definition: ad5592r-base.h:111
const struct ad5592r_rw_ops ad5593r_rw_ops
Definition: ad5593r.c:49
int32_t no_os_i2c_read(struct no_os_i2c_desc *desc, uint8_t *data, uint8_t bytes_number, uint8_t stop_bit)
I2C Read data from slave device.
Definition: no_os_i2c.c:190
#define AD5593R_MODE_REG_READBACK
Definition: ad5593r.c:43
@ AD5592R_REG_PD
Definition: ad5592r-base.h:67
#define NO_OS_BIT(x)
Definition: no_os_util.h:45
Definition: ad5592r-base.h:97
#define RESTART_BIT
Definition: ad5593r.c:46
#define AD5593R_MODE_GPIO_READBACK
Definition: ad5593r.c:42
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:113
#define AD5593R_MODE_DAC_WRITE
Definition: ad5593r.c:39
#define AD5592R_REG_PD_EN_REF
Definition: ad5592r-base.h:74
int32_t ad5592r_set_channel_modes(struct ad5592r_dev *dev)
Definition: ad5592r-base.c:203
@ AD5592R_REG_RESET
Definition: ad5592r-base.h:70
int32_t ad5593r_init(struct ad5592r_dev *dev, struct ad5592r_init_param *init_param)
Definition: ad5593r.c:265
int32_t ad5593r_read_adc(struct ad5592r_dev *dev, uint8_t chan, uint16_t *value)
Definition: ad5593r.c:89
int32_t ad5593r_multi_read_adc(struct ad5592r_dev *dev, uint16_t chans, uint16_t *value)
Definition: ad5593r.c:131
Definition: ad5592r-base.h:115
int32_t ad5593r_init(struct ad5592r_dev *dev, struct ad5592r_init_param *init_param)
Definition: ad5593r.c:265
int32_t ad5593r_read_adc(struct ad5592r_dev *dev, uint8_t chan, uint16_t *value)
Definition: ad5593r.c:89
const struct ad5592r_rw_ops * ops
Definition: ad5592r-base.h:116