Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
stm32l4_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_STM32L4_ADC_H_
7#define ZEPHYR_INCLUDE_DT_BINDINGS_STM32L4_ADC_H_
8
10
11/* STM32 ADC resolution register for L4 and similar */
12#define STM32_ADC_RES_REG 0x0C
13#define STM32_ADC_RES_SHIFT 3
14#define STM32_ADC_RES_MASK BIT_MASK(2)
15
16#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_STM32L4_ADC_H_ */