Home
last modified time | relevance | path

Searched defs:adc (Results 1 – 25 of 46) sorted by relevance

12

/Zephyr-latest/soc/atmel/sam0/common/
Dadc_fixup_sam0.h11 #define ADC_SYNC(adc) ((adc)->SYNCBUSY.reg) argument
14 #define ADC_SYNC(adc) ((adc)->STATUS.reg) argument
21 #define ADC_DIFF(adc) (inputctrl) argument
24 #define ADC_DIFF(adc) ((adc)->CTRLB.reg) argument
27 #define ADC_DIFF(adc) ((adc)->CTRLC.reg) argument
34 #define ADC_RESSEL(adc) ((adc)->CTRLB.bit.RESSEL) argument
40 #define ADC_RESSEL(adc) ((adc)->CTRLC.bit.RESSEL) argument
50 #define ADC_PRESCALER(adc) ((adc)->CTRLA.bit.PRESCALER) argument
53 #define ADC_PRESCALER(adc) ((adc)->CTRLB.bit.PRESCALER) argument
/Zephyr-latest/drivers/adc/
Dadc_shell.c164 struct adc_hdl *adc = get_adc(argv[-2]); in cmd_adc_ch_id() local
187 struct adc_hdl *adc = get_adc(argv[-2]); in cmd_adc_ch_diff() local
215 struct adc_hdl *adc = get_adc(argv[-2]); in cmd_adc_ch_neg() local
242 struct adc_hdl *adc = get_adc(argv[-2]); in cmd_adc_ch_pos() local
269 struct adc_hdl *adc = get_adc(argv[-2]); in cmd_adc_gain() local
292 struct adc_hdl *adc = get_adc(argv[-1]); in cmd_adc_acq() local
328 struct adc_hdl *adc = get_adc(argv[-1]); in cmd_adc_reso() local
351 struct adc_hdl *adc = get_adc(argv[-2]); in cmd_adc_ref() local
377 struct adc_hdl *adc = get_adc(argv[-1]); in cmd_adc_read() local
405 struct adc_hdl *adc = get_adc(argv[-1]); in cmd_adc_print() local
Dadc_stm32.c194 static void adc_stm32_enable_dma_support(ADC_TypeDef *adc) in adc_stm32_enable_dma_support()
214 ADC_TypeDef *adc = config->base; in adc_stm32_dma_start() local
325 static int adc_stm32_enable(ADC_TypeDef *adc) in adc_stm32_enable()
371 ADC_TypeDef *adc = config->base; in adc_stm32_start_conversion() local
386 static void adc_stm32_disable(ADC_TypeDef *adc) in adc_stm32_disable()
476 ADC_TypeDef *adc = config->base; in adc_stm32_calibration_start() local
532 ADC_TypeDef *adc = config->base; in adc_stm32_calibrate() local
641 static void adc_stm32_oversampling_scope(ADC_TypeDef *adc, uint32_t ovs_scope) in adc_stm32_oversampling_scope()
665 static void adc_stm32_oversampling_ratioshift(ADC_TypeDef *adc, uint32_t ratio, uint32_t shift) in adc_stm32_oversampling_ratioshift()
688 ADC_TypeDef *adc = config->base; in adc_stm32_oversampling() local
[all …]
Dadc_sam0.c64 static void wait_synchronization(Adc *const adc) in wait_synchronization()
119 Adc *const adc = cfg->regs; in adc_sam0_channel_setup() local
268 Adc *const adc = cfg->regs; in adc_sam0_start_conversion() local
322 Adc *const adc = cfg->regs; in start_read() local
424 Adc *const adc = cfg->regs; in adc_sam0_isr() local
449 Adc *const adc = cfg->regs; in adc_sam0_init() local
Dadc_sam.c70 Adc *const adc = cfg->regs; in adc_sam_channel_setup() local
144 Adc *const adc = cfg->regs; in adc_sam_start_conversion() local
157 Adc *const adc = cfg->regs; in adc_context_start_sampling() local
262 Adc *const adc = cfg->regs; in adc_sam_isr() local
285 Adc *const adc = cfg->regs; in adc_sam_init() local
Dadc_stm32wb0.c405 static void configure_tempsensor_calib_point(ADC_TypeDef *adc, uint32_t calib_point) in configure_tempsensor_calib_point()
488 static void adc_enter_idle_mode(ADC_TypeDef *adc, const struct stm32_pclken *ana_clk) in adc_enter_idle_mode()
526 static int adc_exit_idle_mode(ADC_TypeDef *adc, const struct stm32_pclken *ana_clk) in adc_exit_idle_mode()
584 static void schedule_and_start_adc_sequence(ADC_TypeDef *adc, struct adc_stm32wb0_data *data) in schedule_and_start_adc_sequence()
756 static inline void handle_end_of_sequence(ADC_TypeDef *adc, struct adc_stm32wb0_data *data) in handle_end_of_sequence()
775 ADC_TypeDef *adc = (ADC_TypeDef *)config->reg; in initiate_read_operation() local
809 ADC_TypeDef *adc = config->reg; in adc_stm32wb0_isr() local
848 ADC_TypeDef *adc = config->reg; in adc_stm32wb0_dma_callback() local
1073 ADC_TypeDef *adc = config->reg; in adc_stm32wb0_init() local
1163 ADC_TypeDef *adc = config->reg; in adc_stm32wb0_pm_action() local
/Zephyr-latest/boards/heltec/heltec_wireless_stick_lite_v3/
Dheltec_wireless_stick_lite_v3_procpu.dts40 adc: adc { label
/Zephyr-latest/drivers/sensor/seeed/grove/
Dlight_sensor.c32 const struct device *adc; member
38 const struct device *adc; member
Dtemperature_sensor.c36 const struct device *adc; member
/Zephyr-latest/drivers/sensor/st/stm32_temp/
Dstm32_temp.c41 const struct device *adc; member
69 static inline void adc_enable_tempsensor_channel(ADC_TypeDef *adc) in adc_enable_tempsensor_channel()
79 static inline void adc_disable_tempsensor_channel(ADC_TypeDef *adc) in adc_disable_tempsensor_channel()
/Zephyr-latest/samples/drivers/adc/adc_sequence/src/
Dmain.c17 static const struct device *adc = DEVICE_DT_GET(ADC_NODE); variable
/Zephyr-latest/dts/arm/atmel/
Dsamd2x.dtsi195 adc: adc@42004000 { label
Dsaml2x.dtsi205 adc: adc@43000c00 { label
/Zephyr-latest/dts/riscv/telink/
Dtelink_b91.dtsi211 adc: adc@ea { label
/Zephyr-latest/dts/arm/adi/max32/
Dmax32xxx.dtsi210 adc: adc@40034000 { label
/Zephyr-latest/drivers/sensor/lm35/
Dlm35.c26 const struct device *adc; member
/Zephyr-latest/drivers/sensor/rpi_pico_temp/
Drpi_pico_temp.c20 const struct device *adc; member
/Zephyr-latest/dts/arm/nordic/
Dnrf52805.dtsi162 adc: adc@40007000 { label
Dnrf51822.dtsi148 adc: adc@40007000 { label
Dnrf52810.dtsi166 adc: adc@40007000 { label
Dnrf52811.dtsi197 adc: adc@40007000 { label
Dnrf91_peripherals.dtsi23 adc: adc@e000 { label
/Zephyr-latest/drivers/sensor/st/stm32_vbat/
Dstm32_vbat.c24 const struct device *adc; member
/Zephyr-latest/drivers/sensor/st/stm32_vref/
Dstm32_vref.c23 const struct device *adc; member
/Zephyr-latest/drivers/sensor/microchip/mcp970x/
Dmcp970x.c30 struct adc_dt_spec adc; member

12