Zephyr API Documentation
4.0.99
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
9
#include <
zephyr/dt-bindings/adc/stm32_adc.h
>
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_ */
stm32_adc.h
zephyr
dt-bindings
adc
stm32l4_adc.h
Generated on Sun Dec 29 2024 12:02:23 for Zephyr API Documentation by
1.12.0