Searched refs:decode_bits (Results 1 – 3 of 3) sorted by relevance
/hal_espressif-latest/components/esp_adc/esp32/ |
D | adc_cali_line_fitting.c | 105 static inline int decode_bits(uint32_t bits, uint32_t mask, bool is_twos_compl); 293 static inline int decode_bits(uint32_t bits, uint32_t mask, bool is_twos_compl) in decode_bits() function 315 ret += decode_bits(bits, VREF_MASK, VREF_FORMAT) * VREF_STEP_SIZE; in read_efuse_vref() 332 ret += decode_bits(bits, TP_LOW_MASK, true) * TP_STEP_SIZE; in read_efuse_tp_low() 349 ret += decode_bits(bits, TP_HIGH_MASK, true) * TP_STEP_SIZE; in read_efuse_tp_high()
|
/hal_espressif-latest/components/esp_adc/deprecated/esp32/ |
D | esp_adc_cal_legacy.c | 116 static inline int decode_bits(uint32_t bits, uint32_t mask, bool is_twos_compl) in decode_bits() function 138 ret += decode_bits(bits, VREF_MASK, VREF_FORMAT) * VREF_STEP_SIZE; in read_efuse_vref() 155 ret += decode_bits(bits, TP_LOW_MASK, true) * TP_STEP_SIZE; in read_efuse_tp_low() 172 ret += decode_bits(bits, TP_HIGH_MASK, true) * TP_STEP_SIZE; in read_efuse_tp_high()
|
/hal_espressif-latest/zephyr/esp32/src/esp_adc_cal/ |
D | esp_adc_cal.c | 122 static inline int decode_bits(uint32_t bits, uint32_t mask, bool is_twos_compl) in decode_bits() function 144 ret += decode_bits(bits, VREF_MASK, VREF_FORMAT) * VREF_STEP_SIZE; in read_efuse_vref() 161 ret += decode_bits(bits, TP_LOW_MASK, true) * TP_STEP_SIZE; in read_efuse_tp_low() 178 ret += decode_bits(bits, TP_HIGH_MASK, true) * TP_STEP_SIZE; in read_efuse_tp_high()
|