Searched refs:RESOLUTION (Results 1 – 3 of 3) sorted by relevance
906 #define IS_ADC_RESOLUTION(RESOLUTION) (((RESOLUTION) == ADC_RESOLUTION_12B) || \ argument907 ((RESOLUTION) == ADC_RESOLUTION_10B) || \908 ((RESOLUTION) == ADC_RESOLUTION_8B) || \909 ((RESOLUTION) == ADC_RESOLUTION_6B))911 #define IS_ADC_RESOLUTION_8_6_BITS(RESOLUTION) (((RESOLUTION) == ADC_RESOLUTION_8B) || \ argument912 ((RESOLUTION) == ADC_RESOLUTION_6B))1021 #define IS_ADC_RANGE(RESOLUTION, ADC_VALUE) \ argument1022 ((((RESOLUTION) == ADC_RESOLUTION_12B) && ((ADC_VALUE) <= ((uint32_t)0x0FFFU))) || \1023 (((RESOLUTION) == ADC_RESOLUTION_10B) && ((ADC_VALUE) <= ((uint32_t)0x03FFU))) || \1024 (((RESOLUTION) == ADC_RESOLUTION_8B) && ((ADC_VALUE) <= ((uint32_t)0x00FFU))) || \[all …]
983 #define IS_ADC_RESOLUTION(RESOLUTION) (((RESOLUTION) == ADC_RESOLUTION_12B) || \ argument984 ((RESOLUTION) == ADC_RESOLUTION_10B) || \985 ((RESOLUTION) == ADC_RESOLUTION_8B) || \986 ((RESOLUTION) == ADC_RESOLUTION_6B) )988 #define IS_ADC_RESOLUTION_8_6_BITS(RESOLUTION) (((RESOLUTION) == ADC_RESOLUTION_8B) || \ argument989 ((RESOLUTION) == ADC_RESOLUTION_6B) )
48 uint32_t RESOLUTION:2; /*!< bit: 5.. 6 Enhanced Resolution */ member