esp_efuse_read_field_cnt() function
Reads bits from EFUSE field and returns number of bits programmed as "1". If the bits are set not sequentially, they will still be counted.
Arguments
field
A pointer to the structure describing the fields of efuse.
out_cnt
A pointer that will contain the number of programmed as "1" bits.
Return value
- ESP_OK: The operation was successfully completed. - ESP_ERR_INVALID_ARG: Error in the passed arguments.
Notes
Please note that reading in the batch mode does not show uncommitted changes.
![]()
esp_efuse_read_field_cnt(CRYPT_CNT, &flash_crypt_cnt);
esp_efuse_read_field_cnt() is called by 1 function and calls 2 functions:
![]()
esp_efuse_read_field_cnt()
esp_efuse_read_field_cnt() reads 1 variable:
![]()
esp_efuse_read_field_cnt()