Home
last modified time | relevance | path

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

/Zephyr-latest/samples/drivers/adc/adc_sequence/src/
Dmain.c11 #define ADC_NODE DT_ALIAS(adc0) macro
17 static const struct device *adc = DEVICE_DT_GET(ADC_NODE);
21 DT_FOREACH_CHILD_SEP(ADC_NODE, ADC_CHANNEL_CFG_DT, (,))};
24 static uint32_t vrefs_mv[] = {DT_FOREACH_CHILD_SEP(ADC_NODE, CHANNEL_VREF, (,))};
/Zephyr-latest/drivers/adc/
Dadc_stm32wb0.c70 #define ADC_NODE DT_DRV_INST(ADC_INSTANCE) macro
71 #define ADC_USE_IO_BOOSTER DT_PROP_OR(ADC_NODE, io_booster, 0)
1115 IRQ_CONNECT(DT_IRQN(ADC_NODE), DT_IRQ(ADC_NODE, priority), in adc_stm32wb0_init()
1116 adc_stm32wb0_isr, DEVICE_DT_GET(ADC_NODE), 0); in adc_stm32wb0_init()
1117 irq_enable(DT_IRQN(ADC_NODE)); in adc_stm32wb0_init()
1194 PINCTRL_DT_DEFINE(ADC_NODE);
1197 .reg = (ADC_TypeDef *)DT_REG_ADDR(ADC_NODE),
1198 .pinctrl_cfg = PINCTRL_DT_DEV_CONFIG_GET(ADC_NODE),
1199 .dig_clk = STM32_CLOCK_INFO(0, ADC_NODE),
1200 .ana_clk = STM32_CLOCK_INFO(1, ADC_NODE),
[all …]