= {
.dpot_set_operating_mode =
NULL,
.dpot_input_reg_read =
NULL,
.dpot_input_reg_write =
NULL,
.dpot_sw_lrdac_update =
NULL,
.dpot_copy_rdac_to_nvm =
NULL,
.dpot_copy_nvm_to_rdac =
NULL,
.dpot_rdac_linear_update =
NULL,
.dpot_rdac_6db_update =
NULL,
.dpot_enable_top_bottom_scale =
NULL,
.dpot_tolerance_read =
NULL,
}
int ad5242_dpot_remove(struct dpot_dev *desc)
Free the memory allocated by ad5242_dpot_init().
Definition ad5242.c:158
int ad5242_dpot_shutdown(struct dpot_dev *desc, enum dpot_chn_type chn, bool shutdown_enable)
Shutdown the AD5144 digital potentiometer channel.
Definition ad5242.c:252
int ad5242_dpot_init(struct dpot_init_param *param, struct dpot_dev **desc)
Initialize the ad5242 digital potentiometer.
Definition ad5242.c:91
int ad5242_dpot_chn_read(struct dpot_dev *desc, enum dpot_chn_type chn, uint8_t *data)
Read the ad5242 digital potentiometer channel.
Definition ad5242.c:221
int ad5242_dpot_chn_write(struct dpot_dev *desc, enum dpot_chn_type chn, uint8_t data)
Write to the digital potentiometer channel.
Definition ad5242.c:190
int ad5242_dpot_set_mid_scale(struct dpot_dev *desc, enum dpot_chn_type chn, bool bMidScaleEnable)
Shutdown the AD5144 digital potentiometer channel.
Definition ad5242.c:292
#define NULL
Definition wrapper.h:64