Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
stm32u5_adc.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2023 STMicrelectronics
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_STM32U5_ADC_H_
7#define ZEPHYR_INCLUDE_DT_BINDINGS_STM32U5_ADC_H_
8
10
11/* STM32 ADC resolution register for U5 and similar */
12#define STM32_ADC_RES_REG 0x0C
13#define STM32_ADC_RES_SHIFT 2
14#define STM32_ADC_RES_MASK BIT_MASK(2)
15
16#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_STM32U5_ADC_H_ */