Home
last modified time | relevance | path

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

/Zephyr-latest/samples/boards/nordic/battery/src/
Dbattery.c89 struct adc_channel_cfg *accp = &ddp->adc_cfg; in divider_setup() local
119 *accp = (struct adc_channel_cfg){ in divider_setup()
126 accp->input_positive = SAADC_CH_PSELP_PSELP_AnalogInput0 in divider_setup()
129 accp->input_positive = SAADC_CH_PSELP_PSELP_VDD; in divider_setup()
137 rc = adc_channel_setup(ddp->adc, accp); in divider_setup()