Searched refs:v_rtc_bias20 (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-3.6.0/components/esp_hw_support/port/esp32c3/ |
D | rtc_init.c | 274 signed int k_rtc_ldo = 0, k_dig_ldo = 0, v_rtc_bias20 = 0, v_dig_bias20 = 0; in get_rtc_dbias_by_efuse() local 277 esp_err_t err2 = esp_efuse_read_field_blob(ESP_EFUSE_V_RTC_DBIAS20, &v_rtc_bias20, 8); in get_rtc_dbias_by_efuse() 282 v_rtc_bias20 = 0; in get_rtc_dbias_by_efuse() 284 …ldo: %d, v_rtc_bias20: %d, v_dig_bias20: %d\n", k_rtc_ldo, k_dig_ldo, v_rtc_bias20, v_dig_bias20); in get_rtc_dbias_by_efuse() 289 v_rtc_bias20 = ((v_rtc_bias20 & BIT(7)) != 0)? -(v_rtc_bias20 & 0x7f): (uint8_t)v_rtc_bias20; in get_rtc_dbias_by_efuse() 292 uint32_t v_rtc_dbias20_real_mul10000 = V_RTC_MID_MUL10000 + v_rtc_bias20 * 10000 / 500; in get_rtc_dbias_by_efuse()
|
/hal_espressif-3.6.0/components/esp_hw_support/port/esp32s3/ |
D | rtc_init.c | 342 signed int k_rtc_ldo = 0, k_dig_ldo = 0, v_rtc_bias20 = 0, v_dig_bias20 = 0; in get_rtc_dbias_by_efuse() local 345 …esp_err_t err2 = esp_efuse_read_field_blob(ESP_EFUSE_V_RTC_DBIAS20, &v_rtc_bias20, ESP_EFUSE_V_RTC… in get_rtc_dbias_by_efuse() 350 v_rtc_bias20 = 0; in get_rtc_dbias_by_efuse() 352 …ldo: %d, v_rtc_bias20: %d, v_dig_bias20: %d\n", k_rtc_ldo, k_dig_ldo, v_rtc_bias20, v_dig_bias20); in get_rtc_dbias_by_efuse() 357 v_rtc_bias20 = ((v_rtc_bias20 & BIT(7)) != 0)? -(v_rtc_bias20 & 0x7f): (uint8_t)v_rtc_bias20; in get_rtc_dbias_by_efuse() 360 uint32_t v_rtc_dbias20_real_mul10000 = V_RTC_MID_MUL10000 + v_rtc_bias20 * 10000 / 500; in get_rtc_dbias_by_efuse()
|