Line data Source code
1 0 : /*
2 : * Copyright (c) 2023 STMicrelectronics
3 : *
4 : * SPDX-License-Identifier: Apache-2.0
5 : */
6 : #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ADC_STM32F4_ADC_H_
7 : #define ZEPHYR_INCLUDE_DT_BINDINGS_ADC_STM32F4_ADC_H_
8 :
9 : #include <zephyr/dt-bindings/adc/stm32_adc.h>
10 :
11 : /* STM32 ADC resolution register for F4 and similar */
12 0 : #define STM32_ADC_RES_REG 0x04
13 0 : #define STM32_ADC_RES_SHIFT 24
14 0 : #define STM32_ADC_RES_MASK BIT_MASK(2)
15 :
16 : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_ADC_STM32F4_ADC_H_ */
|