Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
stm32h7_adc.h File Reference

Go to the source code of this file.

Macros

#define STM32_ADC_RES_REG   0x0C
 
#define STM32_ADC_RES_SHIFT   2
 
#define STM32_ADC_RES_MASK   BIT_MASK(3)
 
#define STM32H72X_ADC3_RES_SHIFT   3
 
#define STM32H72X_ADC3_RES_MASK   0x03
 
#define STM32H72X_ADC3_RES(resolution, reg_val)
 

Macro Definition Documentation

◆ STM32_ADC_RES_MASK

#define STM32_ADC_RES_MASK   BIT_MASK(3)

◆ STM32_ADC_RES_REG

#define STM32_ADC_RES_REG   0x0C

◆ STM32_ADC_RES_SHIFT

#define STM32_ADC_RES_SHIFT   2

◆ STM32H72X_ADC3_RES

#define STM32H72X_ADC3_RES ( resolution,
reg_val )
Value:
STM32_ADC(resolution, reg_val, STM32H72X_ADC3_RES_MASK, \
#define STM32_ADC(real_val, reg_val, mask, shift, reg)
STM32 ADC configuration bit field.
Definition stm32_adc.h:37
#define STM32H72X_ADC3_RES_MASK
Definition stm32h7_adc.h:21
#define STM32_ADC_RES_REG
Definition stm32h7_adc.h:12
#define STM32H72X_ADC3_RES_SHIFT
Definition stm32h7_adc.h:20

◆ STM32H72X_ADC3_RES_MASK

#define STM32H72X_ADC3_RES_MASK   0x03

◆ STM32H72X_ADC3_RES_SHIFT

#define STM32H72X_ADC3_RES_SHIFT   3