|
Zephyr API 3.6.99
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
6#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_STM32H7_ADC_H_
7#define ZEPHYR_INCLUDE_DT_BINDINGS_STM32H7_ADC_H_
12#define STM32_ADC_RES_REG 0x0C
13#define STM32_ADC_RES_SHIFT 2
14#define STM32_ADC_RES_MASK BIT_MASK(3)
20#define STM32H72X_ADC3_RES_SHIFT 3
21#define STM32H72X_ADC3_RES_MASK 0x03
23#define STM32H72X_ADC3_RES(resolution, reg_val) \
24 STM32_ADC(resolution, reg_val, STM32H72X_ADC3_RES_MASK, \
25 STM32H72X_ADC3_RES_SHIFT, STM32_ADC_RES_REG)