Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
stm32f1_adc.h File Reference

Go to the source code of this file.

Macros

#define STM32_ADC_RES_REG   0xFF
 
#define STM32_ADC_RES_SHIFT   0
 
#define STM32_ADC_RES_MASK   0x00
 
#define STM32_ADC_RES_REG_VAL   0x00
 
#define STM32F1_ADC_RES(resolution)    STM32_ADC_RES(resolution, STM32_ADC_RES_REG_VAL)
 

Macro Definition Documentation

◆ STM32_ADC_RES_MASK

#define STM32_ADC_RES_MASK   0x00

◆ STM32_ADC_RES_REG

#define STM32_ADC_RES_REG   0xFF

◆ STM32_ADC_RES_REG_VAL

#define STM32_ADC_RES_REG_VAL   0x00

◆ STM32_ADC_RES_SHIFT

#define STM32_ADC_RES_SHIFT   0

◆ STM32F1_ADC_RES

#define STM32F1_ADC_RES (   resolution)     STM32_ADC_RES(resolution, STM32_ADC_RES_REG_VAL)