Searched refs:input_negative (Results 1 – 16 of 16) sorted by relevance
/Zephyr-latest/drivers/adc/ |
D | adc_b91.c | 286 adc_input_pin_def_e input_negative; in adc_b91_channel_setup() local 379 input_negative = adc_b91_get_pin(channel_cfg->input_negative); in adc_b91_channel_setup() 380 if ((input_positive == (uint8_t)ADC_VBAT || input_negative == (uint8_t)ADC_VBAT) && in adc_b91_channel_setup() 384 } else if (channel_cfg->differential && (input_negative == (uint8_t)NOINPUTN)) { in adc_b91_channel_setup() 399 adc_pin_config(ADC_GPIO_MODE, input_negative); in adc_b91_channel_setup() 400 adc_set_diff_input(channel_cfg->input_positive, channel_cfg->input_negative); in adc_b91_channel_setup()
|
D | adc_nrfx_saadc.c | 183 uint32_t input_negative = channel_cfg->input_negative; in adc_nrfx_channel_setup() local 287 if (input_negative > NRF_SAADC_AIN7 || in adc_nrfx_channel_setup() 288 input_negative < NRF_SAADC_AIN0) { in adc_nrfx_channel_setup() 292 input_negative = saadc_psels[input_negative]; in adc_nrfx_channel_setup() 294 input_negative = NRF_SAADC_INPUT_DISABLED; in adc_nrfx_channel_setup() 311 input_negative); in adc_nrfx_channel_setup()
|
D | iadc_gecko.c | 29 IADC_NegInput_t input_negative; member 64 initSingleInput.negInput = channel_config->input_negative; in adc_gecko_set_config() 372 channel_config->input_negative = channel_cfg->input_negative; in adc_gecko_channel_setup() 374 channel_config->input_negative = iadcNegInputGnd; in adc_gecko_channel_setup() 429 adc_gecko_gpio_busalloc_neg(channel_config->input_negative); in adc_gecko_channel_setup()
|
D | adc_ads1x1x.c | 398 if (channel_cfg->input_positive == 0 && channel_cfg->input_negative == 1) { in ads1x1x_channel_setup() 401 channel_cfg->input_negative == 3) { in ads1x1x_channel_setup() 404 channel_cfg->input_negative == 3) { in ads1x1x_channel_setup() 407 channel_cfg->input_negative == 3) { in ads1x1x_channel_setup() 411 channel_cfg->input_positive, channel_cfg->input_negative); in ads1x1x_channel_setup() 432 (channel_cfg->input_positive == 0 && channel_cfg->input_negative == 1))) { in ads1x1x_channel_setup() 434 channel_cfg->input_positive, channel_cfg->input_negative); in ads1x1x_channel_setup()
|
D | adc_tla202x.c | 190 if (cfg->input_positive == 0 && cfg->input_negative == 1) { in tla202x_channel_setup() 192 } else if (cfg->input_positive == 0 && cfg->input_negative == 3) { in tla202x_channel_setup() 194 } else if (cfg->input_positive == 1 && cfg->input_negative == 3) { in tla202x_channel_setup() 196 } else if (cfg->input_positive == 2 && cfg->input_negative == 3) { in tla202x_channel_setup()
|
D | adc_ads1119.c | 233 if (channel_cfg->input_positive == 0 && channel_cfg->input_negative == 1) { in ads1119_channel_setup() 235 } else if (channel_cfg->input_positive == 1 && channel_cfg->input_negative == 2) { in ads1119_channel_setup() 237 } else if (channel_cfg->input_positive == 2 && channel_cfg->input_negative == 3) { in ads1119_channel_setup()
|
D | adc_ads1112.c | 197 if (channel_cfg->input_positive == 0 && channel_cfg->input_negative == 1) { in ads1112_channel_setup() 199 } else if (channel_cfg->input_positive == 2 && channel_cfg->input_negative == 3) { in ads1112_channel_setup()
|
D | adc_smartbond_sdadc.c | 74 if (channel_cfg->input_negative >= SMARTBOND_SDADC_VBAT) { in sdadc_smartbond_channel_setup() 101 channel_cfg->input_negative << SDADC_SDADC_CTRL_REG_SDADC_INN_SEL_Pos; in sdadc_smartbond_channel_setup()
|
D | adc_ads114s0x.c | 682 dev->name, channel_cfg->input_positive, channel_cfg->input_negative); in ads114s0x_channel_setup() 689 if (channel_cfg->input_negative >= ADS114S0X_INPUT_SELECTION_AINCOM) { in ads114s0x_channel_setup() 691 channel_cfg->input_negative); in ads114s0x_channel_setup() 695 if (channel_cfg->input_positive == channel_cfg->input_negative) { in ads114s0x_channel_setup() 702 ADS114S0X_REGISTER_INPMUX_MUXN_SET(input_mux, channel_cfg->input_negative); in ads114s0x_channel_setup() 704 pin_selections[1] = channel_cfg->input_negative; in ads114s0x_channel_setup()
|
D | adc_shell.c | 228 adc->channel_config.input_negative = (uint8_t)strtol(argv[1], NULL, 10); in cmd_adc_ch_neg() 426 adc->channel_config.input_negative); in cmd_adc_print()
|
D | adc_ifx_cat1.c | 104 CYHAL_GET_GPIO(_ADCSAR_PORT, channel_cfg->input_negative) : in ifx_cat1_adc_channel_setup()
|
D | adc_lmp90xxx.c | 412 if (!lmp90xxx_has_input(dev, channel_cfg->input_negative)) { in lmp90xxx_adc_channel_setup() 414 channel_cfg->input_negative); in lmp90xxx_adc_channel_setup() 417 chx_inputcn |= LMP90XXX_VINN(channel_cfg->input_negative); in lmp90xxx_adc_channel_setup()
|
D | adc_sam.c | 76 || channel_id != (channel_cfg->input_negative / 2U)) { in adc_sam_channel_setup()
|
D | adc_sam0.c | 224 inputctrl |= ADC_INPUTCTRL_MUXNEG(channel_cfg->input_negative); in adc_sam0_channel_setup()
|
D | adc_mcux_lpadc.c | 165 (ADC_CMDL_ADCH(channel_cfg->input_negative))) { in mcux_lpadc_channel_setup()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | adc.h | 148 uint8_t input_negative; member 250 .input_negative = DT_PROP_OR(node_id, zephyr_input_negative, 0),)) \
|