Home
last modified time | relevance | path

Searched refs:accp (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-2.7.6/samples/boards/nrf/battery/src/
Dbattery.c102 struct adc_channel_cfg *accp = &ddp->adc_cfg; in divider_setup() local
134 *accp = (struct adc_channel_cfg){ in divider_setup()
141 accp->input_positive = SAADC_CH_PSELP_PSELP_AnalogInput0 in divider_setup()
144 accp->input_positive = SAADC_CH_PSELP_PSELP_VDD; in divider_setup()
152 rc = adc_channel_setup(ddp->adc, accp); in divider_setup()
/Zephyr-Core-2.7.6/drivers/sensor/stm32_temp/
Dstm32_temp.c90 struct adc_channel_cfg *accp = &data->adc_cfg; in stm32_temp_init() local
101 *accp = (struct adc_channel_cfg){ in stm32_temp_init()
108 rc = adc_channel_setup(data->adc, accp); in stm32_temp_init()