Searched refs:__RESOLUTION__ (Results 1 – 5 of 5) sorted by relevance
840 #define IS_ADC_RANGE(__RESOLUTION__, __ADC_VALUE__) \ argument841 ((__ADC_VALUE__) <= __LL_ADC_DIGITAL_SCALE(__RESOLUTION__))885 #define IS_ADC_RESOLUTION(__RESOLUTION__) (((__RESOLUTION__) == ADC_RESOLUTION_12B) || \ argument886 ((__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) || \ argument896 ((__RESOLUTION__) == ADC_RESOLUTION_6B) )
128 #define IS_LL_ADC_RESOLUTION(__RESOLUTION__) \ argument129 ( ((__RESOLUTION__) == LL_ADC_RESOLUTION_12B) \130 || ((__RESOLUTION__) == LL_ADC_RESOLUTION_10B) \131 || ((__RESOLUTION__) == LL_ADC_RESOLUTION_8B) \132 || ((__RESOLUTION__) == LL_ADC_RESOLUTION_6B) \
76 #define IS_LL_ADC_RESOLUTION(__RESOLUTION__) \ argument77 ( ((__RESOLUTION__) == LL_ADC_RESOLUTION_12B) \78 || ((__RESOLUTION__) == LL_ADC_RESOLUTION_10B) \79 || ((__RESOLUTION__) == LL_ADC_RESOLUTION_8B) \80 || ((__RESOLUTION__) == LL_ADC_RESOLUTION_6B) \
119 #define IS_LL_ADC_RESOLUTION(__RESOLUTION__) \ argument120 ( ((__RESOLUTION__) == LL_ADC_RESOLUTION_12B) \121 || ((__RESOLUTION__) == LL_ADC_RESOLUTION_10B) \122 || ((__RESOLUTION__) == LL_ADC_RESOLUTION_8B) \123 || ((__RESOLUTION__) == LL_ADC_RESOLUTION_6B) \
1200 #define IS_ADC_RANGE(__RESOLUTION__, __ADC_DATA__) \ argument1201 ((((__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))) )