42#define AD5161_CTL_FOR_READ_WRITE 0x00
44#define AD5161_CTL_FOR_EN_SHUTWOWN 0x20
46#define AD5161_CTL_FOR_DIS_SHUTWOWN 0x80
48#define AD5161_CTL_FOR_RESET_POSITION 0x40
dpot_intf_type
digital potentiometer interface type.
Definition dpot.h:72
Header file of GPIO Interface.
Header file of I2C Interface.
Header file of SPI Interface.
Header file of utility functions.
ad5161 digital potentiometer device descriptor parameters.
Definition ad5161.h:71
struct no_os_spi_desc * spi_desc
Definition ad5161.h:76
struct no_os_gpio_desc * dis_gpio_desc
Definition ad5161.h:78
enum dpot_intf_type intf_type
Definition ad5161.h:72
struct no_os_i2c_desc * i2c_desc
Definition ad5161.h:74
ad516x digital potentiometer init parameters.
Definition ad5161.h:54
enum dpot_intf_type eintf_type
Definition ad5161.h:56
struct no_os_i2c_init_param * i2c_init
Definition ad5161.h:60
struct no_os_gpio_init_param * dis_gpio_init
Definition ad5161.h:62
struct no_os_spi_init_param * spi_init
Definition ad5161.h:58
Structure holding the GPIO descriptor.
Definition no_os_gpio.h:84
Structure holding the parameters for GPIO initialization.
Definition no_os_gpio.h:67
Structure holding I2C address descriptor.
Definition no_os_i2c.h:89
Structure holding the parameters for I2C initialization.
Definition no_os_i2c.h:52
Structure holding SPI descriptor.
Definition no_os_spi.h:180
Structure holding the parameters for SPI initialization.
Definition no_os_spi.h:128