mmc_err max116xx_set_config(uint8_t chip_id, const max116xx_cfg *cfg)
Configure the MAX11606-MAX11611 ADC.
Definition max116xx.c:34
max116xx_diff_mode
Definition max116xx.h:66
@ MAX116XX_DIFFERENTIAL
Definition max116xx.h:67
@ MAX116XX_SINGLE_ENDED
Definition max116xx.h:68
mmc_err max116xx_read_bip(uint8_t chip_id, int16_t data[], uint8_t samples)
Convert and read single or multiple channels, bipolar mode.
Definition max116xx.c:94
mmc_err max116xx_read_uni(uint8_t chip_id, int16_t data[], uint8_t samples)
Convert and read single or multiple channels, unipolar mode.
Definition max116xx.c:62
max116xx_ref_sel
MAX11606-MAX11611 reference selection enum.
Definition max116xx.h:40
@ MAX116XX_REF_INT_ON
Definition max116xx.h:44
@ MAX116XX_REF_INT_ON_OUT
Definition max116xx.h:46
@ MAX116XX_REF_INT_OFF_OUT
Definition max116xx.h:45
@ MAX116XX_REF_INT_OFF
Definition max116xx.h:43
@ MAX116XX_REF_EXT
Definition max116xx.h:42
@ MAX116XX_REF_VDD
Definition max116xx.h:41
max116xx_clk_sel
Definition max116xx.h:49
@ MAX116XX_CLK_EXT
Definition max116xx.h:51
@ MAX116XX_CLK_INT
Definition max116xx.h:50
max116xx_scan_mode
Definition max116xx.h:59
@ MAX116XX_SCAN_OFF_SINGLE_CONV
Definition max116xx.h:63
@ MAX116XX_SCAN_OFF
Definition max116xx.h:61
@ MAX116XX_SCAN_UPPER
Definition max116xx.h:62
@ MAX116XX_SCAN_FROM_AIN0
Definition max116xx.h:60
max116xx_pol_sel
Definition max116xx.h:54
@ MAX116XX_UNIPOLAR
Definition max116xx.h:55
@ MAX116XX_BIPOLAR
Definition max116xx.h:56
Error handling functions and codes.
mmc_err
Definition mmc_error.h:36
Port layer (includes all portable functions headers)
MAX11606-MAX11611 configuration struct.
Definition max116xx.h:74
enum max116xx_diff_mode diff_mode
Definition max116xx.h:80
uint8_t channel_sel
Definition max116xx.h:79
enum max116xx_pol_sel pol_sel
Definition max116xx.h:77
enum max116xx_scan_mode scan_mode
Definition max116xx.h:78
enum max116xx_ref_sel ref_sel
Definition max116xx.h:75
enum max116xx_clk_sel clk_sel
Definition max116xx.h:76