Zephyr API Documentation
4.0.0-rc2
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
9
#include <
zephyr/dt-bindings/adc/stm32_adc.h
>
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_ */
stm32_adc.h
zephyr
dt-bindings
adc
stm32u5_adc.h
Generated on Sat Nov 9 2024 00:03:12 for Zephyr API Documentation by
1.12.0