Home
last modified time | relevance | path

Searched refs:size_bits (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-3.7.0/components/efuse/src/
Desp_efuse_api.c207 …esp_efuse_read_block(esp_efuse_block_t blk, void* dst_key, size_t offset_in_bits, size_t size_bits) in esp_efuse_read_block() argument
210 if (blk == EFUSE_BLK0 || blk >= EFUSE_BLK_MAX || dst_key == NULL || size_bits == 0) { in esp_efuse_read_block()
214 {blk, offset_in_bits, size_bits}, in esp_efuse_read_block()
221 err = esp_efuse_read_field_blob(field, dst_key, size_bits); in esp_efuse_read_block()
227 …se_write_block(esp_efuse_block_t blk, const void* src_key, size_t offset_in_bits, size_t size_bits) in esp_efuse_write_block() argument
230 if (blk == EFUSE_BLK0 || blk >= EFUSE_BLK_MAX || src_key == NULL || size_bits == 0) { in esp_efuse_write_block()
234 {blk, offset_in_bits, size_bits}, in esp_efuse_write_block()
241 err = esp_efuse_write_field_blob(field, src_key, size_bits); in esp_efuse_write_block()
Desp_efuse_utility.c46 static bool check_range_of_bits(esp_efuse_block_t blk, int offset_in_bits, int size_bits);
399 static bool check_range_of_bits(esp_efuse_block_t blk, int offset_in_bits, int size_bits) argument
401 int max_num_bit = offset_in_bits + size_bits;
/hal_espressif-3.7.0/components/esp_hw_support/
Dmac_addr.c206 size_t size_bits = esp_efuse_get_field_size(ESP_EFUSE_USER_DATA_MAC_CUSTOM); in get_efuse_mac_custom() local
207 assert((size_bits % 8) == 0); in get_efuse_mac_custom()
208 esp_err_t err = esp_efuse_read_field_blob(ESP_EFUSE_USER_DATA_MAC_CUSTOM, mac, size_bits); in get_efuse_mac_custom()
212 size_t size = size_bits / 8; in get_efuse_mac_custom()
262 size_t size_bits = esp_efuse_get_field_size(ESP_EFUSE_MAC_FACTORY); in get_efuse_mac_get_default() local
263 assert((size_bits % 8) == 0); in get_efuse_mac_get_default()
264 esp_err_t err = esp_efuse_read_field_blob(ESP_EFUSE_MAC_FACTORY, mac, size_bits); in get_efuse_mac_get_default()
/hal_espressif-3.7.0/components/efuse/include/
Desp_efuse.h260 …sp_efuse_read_block(esp_efuse_block_t blk, void* dst_key, size_t offset_in_bits, size_t size_bits);
276 …e_write_block(esp_efuse_block_t blk, const void* src_key, size_t offset_in_bits, size_t size_bits);