Home
last modified time | relevance | path

Searched refs:esp_efuse_read_field_blob (Results 1 – 25 of 33) sorted by relevance

12

/hal_espressif-3.6.0/components/efuse/test/
Dtest_efuse.c38 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_MAC_FACTORY, &mac, sizeof(mac) * 8)); in test_read_blob()
45 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_MAC_FACTORY_CRC, &crc, 8)); in test_read_blob()
51 TEST_ESP_ERR(ESP_ERR_INVALID_ARG, esp_efuse_read_field_blob(ESP_EFUSE_MAC_FACTORY, NULL, 1)); in test_read_blob()
52 … TEST_ESP_ERR(ESP_ERR_INVALID_ARG, esp_efuse_read_field_blob(ESP_EFUSE_MAC_FACTORY, &test_var, 0)); in test_read_blob()
55 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_MAC_FACTORY, &half_byte, 4)); in test_read_blob()
59 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_MAC_FACTORY, &buff, sizeof(buff) * 8)); in test_read_blob()
81 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_MAC_FACTORY, &mac, 48)); in test_read_cnt()
115 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_TEST1_LEN_8, &val_read1, 8)); in test_write_blob()
127 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_TEST1_LEN_8, &val_read1, 16)); in test_write_blob()
143 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_TEST2_LEN_16, &test_16, 16)); in test_write_blob()
[all …]
Dtest_efuse_keys.c34 TEST_ESP_OK(esp_efuse_read_field_blob(esp_efuse_get_key(num_key), &key, sizeof(key) * 8));
58 TEST_ESP_OK(esp_efuse_read_field_blob(esp_efuse_get_key(num_key), &rd_key, sizeof(rd_key) * 8)); in s_check_key()
84 TEST_ESP_OK(esp_efuse_read_field_blob(esp_efuse_get_purpose_field(num_key), &purpose2, 4)); in s_check_key()
/hal_espressif-3.6.0/components/esp_hw_support/
Dmac_addr.c68 esp_err_t err = esp_efuse_read_field_blob(ESP_EFUSE_USER_DATA_MAC_CUSTOM, mac, size_bits); in esp_efuse_mac_get_custom()
78 … err = esp_efuse_read_field_blob(ESP_EFUSE_MAC_EXT, &mac[6], ESP_MAC_ADDRESS_LEN * 8 - size_bits); in esp_efuse_mac_get_custom()
87 esp_efuse_read_field_blob(ESP_EFUSE_MAC_CUSTOM_VER, &version, 8); in esp_efuse_mac_get_custom()
94 esp_efuse_read_field_blob(ESP_EFUSE_MAC_CUSTOM, mac, 48); in esp_efuse_mac_get_custom()
95 esp_efuse_read_field_blob(ESP_EFUSE_MAC_CUSTOM_CRC, &efuse_crc, 8); in esp_efuse_mac_get_custom()
110 esp_err_t err = esp_efuse_read_field_blob(ESP_EFUSE_MAC_FACTORY, mac, size_bits); in esp_efuse_mac_get_default()
115 … err = esp_efuse_read_field_blob(ESP_EFUSE_MAC_EXT, &mac[6], ESP_MAC_ADDRESS_LEN * 8 - size_bits); in esp_efuse_mac_get_default()
124 esp_efuse_read_field_blob(ESP_EFUSE_MAC_FACTORY_CRC, &efuse_crc, 8); in esp_efuse_mac_get_default()
/hal_espressif-3.6.0/components/esp_hw_support/port/esp32s3/
Drtc_init.c85 …esp_err_t err = esp_efuse_read_field_blob(ESP_EFUSE_BLK_VERSION_MAJOR, &blk_ver_major, ESP_EFUSE_B… in rtc_init()
248 esp_err_t err = esp_efuse_read_field_blob(ESP_EFUSE_OCODE, &ocode, 8); in set_ocode_by_efuse()
330 …esp_err_t err = esp_efuse_read_field_blob(ESP_EFUSE_DIG_DBIAS_HVT, &dig_dbias, ESP_EFUSE_DIG_DBIAS… in get_dig_dbias_by_efuse()
343 …esp_err_t err0 = esp_efuse_read_field_blob(ESP_EFUSE_K_RTC_LDO, &k_rtc_ldo, ESP_EFUSE_K_RTC_LDO[0]… in get_rtc_dbias_by_efuse()
344 …esp_err_t err1 = esp_efuse_read_field_blob(ESP_EFUSE_K_DIG_LDO, &k_dig_ldo, ESP_EFUSE_K_DIG_LDO[0]… in get_rtc_dbias_by_efuse()
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()
346 …esp_err_t err3 = esp_efuse_read_field_blob(ESP_EFUSE_V_DIG_DBIAS20, &v_dig_bias20, ESP_EFUSE_V_DIG… in get_rtc_dbias_by_efuse()
379 …esp_err_t err0 = esp_efuse_read_field_blob(ESP_EFUSE_K_DIG_LDO, &k_dig_ldo, ESP_EFUSE_K_DIG_LDO[0]… in get_dig1v3_dbias_by_efuse()
380 …esp_err_t err1 = esp_efuse_read_field_blob(ESP_EFUSE_V_DIG_DBIAS20, &v_dig_bias20, ESP_EFUSE_V_DIG… in get_dig1v3_dbias_by_efuse()
416 …esp_err_t err0 = esp_efuse_read_field_blob(ESP_EFUSE_BLK_VERSION_MINOR, &blk_minor, ESP_EFUSE_BLK_… in rtc_set_stored_dbias()
[all …]
/hal_espressif-3.6.0/examples/system/efuse/main/
Defuse_main.c53 ESP_ERROR_CHECK(esp_efuse_read_field_blob(ESP_EFUSE_MODULE_VERSION, &desc->module_version, 8)); in read_device_desc_efuse_fields()
54 ESP_ERROR_CHECK(esp_efuse_read_field_blob(ESP_EFUSE_DEVICE_ROLE, &desc->device_role, 3)); in read_device_desc_efuse_fields()
55 ESP_ERROR_CHECK(esp_efuse_read_field_blob(ESP_EFUSE_SETTING_1, &desc->setting_1, 6)); in read_device_desc_efuse_fields()
56 ESP_ERROR_CHECK(esp_efuse_read_field_blob(ESP_EFUSE_SETTING_2, &desc->setting_2, 5)); in read_device_desc_efuse_fields()
67 ESP_ERROR_CHECK(esp_efuse_read_field_blob(ESP_EFUSE_MAC_FACTORY, &mac, sizeof(mac) * 8)); in read_efuse_fields()
/hal_espressif-3.6.0/components/efuse/esp32c3/
Desp_efuse_rtc_calib.c18 esp_efuse_read_field_blob(ESP_EFUSE_BLOCK2_VERSION, &result, 3); in esp_efuse_rtc_calib_get_ver()
42 esp_efuse_read_field_blob(init_code_efuse, &init_code, init_code_size); in esp_efuse_rtc_calib_get_init_code()
73 esp_efuse_read_field_blob(cal_vol_efuse, &cal_vol, cal_vol_efuse[0]->bit_count); in esp_efuse_rtc_calib_get_cal_voltage()
89 esp_err_t err = esp_efuse_read_field_blob(cal_temp_efuse, &cal_temp, cal_temp_size); in esp_efuse_rtc_calib_get_cal_temp()
Desp_efuse_fields.c28esp_efuse_read_field_blob(ESP_EFUSE_WAFER_VERSION, &chip_ver, ESP_EFUSE_WAFER_VERSION[0]->bit_coun… in esp_efuse_get_chip_ver()
36 esp_efuse_read_field_blob(ESP_EFUSE_PKG_VERSION, &pkg_ver, ESP_EFUSE_PKG_VERSION[0]->bit_count); in esp_efuse_get_pkg_ver()
44 esp_efuse_read_field_blob(ESP_EFUSE_UART_PRINT_CONTROL, &cur_log_scheme, 2); in esp_efuse_set_rom_log_scheme()
/hal_espressif-3.6.0/components/efuse/esp32h2/
Desp_efuse_rtc_calib.c14 esp_efuse_read_field_blob(ESP_EFUSE_BLOCK2_VERSION, &result, 3); in esp_efuse_rtc_calib_get_ver()
37 ESP_ERROR_CHECK(esp_efuse_read_field_blob(init_code_efuse, &init_code, init_code_size)); in esp_efuse_rtc_calib_get_init_code()
68 … ESP_ERROR_CHECK(esp_efuse_read_field_blob(cal_vol_efuse, &cal_vol, cal_vol_efuse[0]->bit_count)); in esp_efuse_rtc_calib_get_cal_voltage()
84 esp_err_t err = esp_efuse_read_field_blob(cal_temp_efuse, &cal_temp, cal_temp_size); in esp_efuse_rtc_calib_get_cal_temp()
Desp_efuse_fields.c28esp_efuse_read_field_blob(ESP_EFUSE_WAFER_VERSION, &chip_ver, ESP_EFUSE_WAFER_VERSION[0]->bit_coun… in esp_efuse_get_chip_ver()
36 esp_efuse_read_field_blob(ESP_EFUSE_PKG_VERSION, &pkg_ver, ESP_EFUSE_PKG_VERSION[0]->bit_count); in esp_efuse_get_pkg_ver()
44 esp_efuse_read_field_blob(ESP_EFUSE_UART_PRINT_CONTROL, &cur_log_scheme, 2); in esp_efuse_set_rom_log_scheme()
/hal_espressif-3.6.0/components/efuse/esp32s2/
Desp_efuse_fields.c28esp_efuse_read_field_blob(ESP_EFUSE_WAFER_VERSION, &chip_ver, ESP_EFUSE_WAFER_VERSION[0]->bit_coun… in esp_efuse_get_chip_ver()
36 esp_efuse_read_field_blob(ESP_EFUSE_PKG_VERSION, &pkg_ver, 4); in esp_efuse_get_pkg_ver()
48 esp_efuse_read_field_blob(ESP_EFUSE_UART_PRINT_CONTROL, &cur_log_scheme, 2); in esp_efuse_set_rom_log_scheme()
Desp_efuse_rtc_table.c93 esp_efuse_read_field_blob(ESP_EFUSE_BLOCK2_VERSION, &result, 32); in esp_efuse_rtc_table_read_calib_version()
/hal_espressif-3.6.0/components/esp_hw_support/port/esp32c3/
Drtc_init.c53 esp_err_t err = esp_efuse_read_field_blob(ESP_EFUSE_BLOCK2_VERSION, &rtc_calib_version, 3); in rtc_init()
200 esp_err_t err = esp_efuse_read_field_blob(ESP_EFUSE_OCODE, &ocode, 8); in set_ocode_by_efuse()
262 esp_err_t err = esp_efuse_read_field_blob(ESP_EFUSE_DIG_DBIAS_HVT, &dig_dbias, 5); in get_dig_dbias_by_efuse()
275 esp_err_t err0 = esp_efuse_read_field_blob(ESP_EFUSE_K_RTC_LDO, &k_rtc_ldo, 7); in get_rtc_dbias_by_efuse()
276 esp_err_t err1 = esp_efuse_read_field_blob(ESP_EFUSE_K_DIG_LDO, &k_dig_ldo, 7); in get_rtc_dbias_by_efuse()
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()
278 esp_err_t err3 = esp_efuse_read_field_blob(ESP_EFUSE_V_DIG_DBIAS20, &v_dig_bias20, 8); in get_rtc_dbias_by_efuse()
/hal_espressif-3.6.0/components/efuse/esp32s3/
Desp_efuse_rtc_calib.c23esp_efuse_read_field_blob(ESP_EFUSE_BLK_VERSION_MAJOR, &blk_ver_major, ESP_EFUSE_BLK_VERSION_MAJOR… in esp_efuse_rtc_calib_get_ver()
48 esp_efuse_read_field_blob(desc[desc_index], &adc_icode_diff[diff_index], efuse_icode_bits); in esp_efuse_rtc_calib_get_init_code()
82 esp_efuse_read_field_blob(desc[i], &adc_vol_diff[i], efuse_vol_bits); in esp_efuse_rtc_calib_get_cal_voltage()
109 esp_err_t err = esp_efuse_read_field_blob(cal_temp_efuse, &cal_temp, cal_temp_size); in esp_efuse_rtc_calib_get_cal_temp()
Desp_efuse_fields.c36 esp_efuse_read_field_blob(ESP_EFUSE_PKG_VERSION, &pkg_ver, ESP_EFUSE_PKG_VERSION[0]->bit_count); in esp_efuse_get_pkg_ver()
48esp_efuse_read_field_blob(ESP_EFUSE_UART_PRINT_CONTROL, &cur_log_scheme, ESP_EFUSE_UART_PRINT_CONT… in esp_efuse_set_rom_log_scheme()
/hal_espressif-3.6.0/components/efuse/esp32/
Desp_efuse_fields.c28 esp_efuse_read_field_blob(ESP_EFUSE_CHIP_VER_REV1, &eco_bit0, 1); in esp_efuse_get_chip_ver()
29 esp_efuse_read_field_blob(ESP_EFUSE_CHIP_VER_REV2, &eco_bit1, 1); in esp_efuse_get_chip_ver()
57 esp_efuse_read_field_blob(ESP_EFUSE_CHIP_VER_PKG, &pkg_ver, 4); in esp_efuse_get_pkg_ver()
/hal_espressif-3.6.0/components/efuse/src/
Desp_efuse_api.c42 esp_err_t esp_efuse_read_field_blob(const esp_efuse_desc_t* field[], void* dst, size_t dst_size_bit… in esp_efuse_read_field_blob() function
68 esp_err_t err = esp_efuse_read_field_blob(field, &value, 1); in esp_efuse_read_field_bit()
170 err = esp_efuse_read_field_blob(field, &existing, 1); in esp_efuse_write_field_bit()
238 err = esp_efuse_read_field_blob(field, dst_key, size_bits); in esp_efuse_read_block()
Desp_efuse_fields.c40 esp_efuse_read_field_blob(ESP_EFUSE_SECURE_VERSION, &secure_version, size); in esp_efuse_read_secure_version()
Desp_efuse_api_key_esp32xx.c171 …esp_err_t err = esp_efuse_read_field_blob(s_table[idx].keypurpose, &value, s_table[idx].keypurpose… in esp_efuse_get_key_purpose()
/hal_espressif-3.6.0/components/bootloader_support/include/
Desp_flash_encrypt.h54esp_efuse_read_field_blob(ESP_EFUSE_FLASH_CRYPT_CNT, &flash_crypt_cnt, ESP_EFUSE_FLASH_CRYPT_CNT[0… in esp_flash_encryption_enabled()
60esp_efuse_read_field_blob(ESP_EFUSE_SPI_BOOT_CRYPT_CNT, &flash_crypt_cnt, ESP_EFUSE_SPI_BOOT_CRYPT… in esp_flash_encryption_enabled()
/hal_espressif-3.6.0/components/bootloader_support/src/
Dflash_encrypt.c46 esp_efuse_read_field_blob(CRYPT_CNT, &flash_crypt_cnt, CRYPT_CNT[0]->bit_count); in esp_flash_encryption_init_checks()
102 esp_efuse_read_field_blob(CRYPT_CNT, &flash_crypt_cnt, CRYPT_CNT[0]->bit_count); in esp_get_flash_encryption_mode()
/hal_espressif-3.6.0/components/bootloader_support/src/esp32/
Dflash_encryption_secure_features.c33 esp_efuse_read_field_blob(ESP_EFUSE_ENCRYPT_CONFIG, &crypt_config, 4); in esp_flash_encryption_enable_secure_features()
/hal_espressif-3.6.0/components/bootloader_support/src/esp32h2/
Dflash_encrypt.c35 esp_efuse_read_field_blob(ESP_EFUSE_SPI_BOOT_CRYPT_CNT, &flash_crypt_cnt, 3); in esp_flash_encrypt_check_and_update()
36 esp_efuse_read_field_blob(ESP_EFUSE_WR_DIS_SPI_BOOT_CRYPT_CNT, &flash_crypt_wr_dis, 1); in esp_flash_encrypt_check_and_update()
/hal_espressif-3.6.0/examples/security/flash_encryption/main/
Dflash_encrypt_main.c73 esp_efuse_read_field_blob(TARGET_CRYPT_CNT_EFUSE, &flash_crypt_cnt, TARGET_CRYPT_CNT_WIDTH); in example_print_flash_encryption_status()
/hal_espressif-3.6.0/components/efuse/include/
Desp_efuse.h80 esp_err_t esp_efuse_read_field_blob(const esp_efuse_desc_t* field[], void* dst, size_t dst_size_bit…
/hal_espressif-3.6.0/components/esp_hw_support/port/esp32s2/
Drtc_init.c155 esp_efuse_read_field_blob(ESP_EFUSE_BLOCK2_VERSION, &rtc_calib_version, 32); in rtc_init()

12