Home
last modified time | relevance | path

Searched refs:__RESOLUTION__ (Results 1 – 5 of 5) sorted by relevance

/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_adc.h840 #define IS_ADC_RANGE(__RESOLUTION__, __ADC_VALUE__) \ argument
841 ((__ADC_VALUE__) <= __LL_ADC_DIGITAL_SCALE(__RESOLUTION__))
885 #define IS_ADC_RESOLUTION(__RESOLUTION__) (((__RESOLUTION__) == ADC_RESOLUTION_12B) || \ argument
886 ((__RESOLUTION__) == ADC_RESOLUTION_10B) || \
887 ((__RESOLUTION__) == ADC_RESOLUTION_8B) || \
888 ((__RESOLUTION__) == ADC_RESOLUTION_6B) )
895 #define IS_ADC_RESOLUTION_8_6_BITS(__RESOLUTION__) (((__RESOLUTION__) == ADC_RESOLUTION_8B) || \ argument
896 ((__RESOLUTION__) == ADC_RESOLUTION_6B) )
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_ll_adc.c128 #define IS_LL_ADC_RESOLUTION(__RESOLUTION__) \ argument
129 ( ((__RESOLUTION__) == LL_ADC_RESOLUTION_12B) \
130 || ((__RESOLUTION__) == LL_ADC_RESOLUTION_10B) \
131 || ((__RESOLUTION__) == LL_ADC_RESOLUTION_8B) \
132 || ((__RESOLUTION__) == LL_ADC_RESOLUTION_6B) \
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_ll_adc.c76 #define IS_LL_ADC_RESOLUTION(__RESOLUTION__) \ argument
77 ( ((__RESOLUTION__) == LL_ADC_RESOLUTION_12B) \
78 || ((__RESOLUTION__) == LL_ADC_RESOLUTION_10B) \
79 || ((__RESOLUTION__) == LL_ADC_RESOLUTION_8B) \
80 || ((__RESOLUTION__) == LL_ADC_RESOLUTION_6B) \
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_ll_adc.c119 #define IS_LL_ADC_RESOLUTION(__RESOLUTION__) \ argument
120 ( ((__RESOLUTION__) == LL_ADC_RESOLUTION_12B) \
121 || ((__RESOLUTION__) == LL_ADC_RESOLUTION_10B) \
122 || ((__RESOLUTION__) == LL_ADC_RESOLUTION_8B) \
123 || ((__RESOLUTION__) == LL_ADC_RESOLUTION_6B) \
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/
Dstm32l1xx_hal_adc.h1200 #define IS_ADC_RANGE(__RESOLUTION__, __ADC_DATA__) \ argument
1201 ((((__RESOLUTION__) == ADC_RESOLUTION_12B) && ((__ADC_DATA__) <= (0x0FFFU))) || \
1202 (((__RESOLUTION__) == ADC_RESOLUTION_10B) && ((__ADC_DATA__) <= (0x03FFU))) || \
1203 (((__RESOLUTION__) == ADC_RESOLUTION_8B) && ((__ADC_DATA__) <= (0x00FFU))) || \
1204 (((__RESOLUTION__) == ADC_RESOLUTION_6B) && ((__ADC_DATA__) <= (0x003FU))) )