A pointer to the structure describing the fields of efuse.
Return value
- true: The field parameter is valid and the bit is set. - false: The bit is not set, or the parameter is invalid and assertions are disabled.
Notes
The value must exist and must be a single bit wide. If there is any possibility of an error in the provided arguments, call esp_efuse_read_field_blob() and check the returned value instead. If assertions are enabled and the parameter is invalid, execution will abort Please note that reading in the batch mode does not show uncommitted changes.
Reads bits from EFUSE field and writes it into an array. The number of read bits will be limited to the minimum value from the description of the bits in "field" structure or "dst_size_bits" required size. Use "esp_efuse_get_field_size()" function to determine the length of the field.
Write a single bit eFuse field to 1 For use with eFuse fields that are a single bit. This function will write the bit to value 1 if it is not already set, or does nothing if the bit is already set. This is equivalent to calling esp_efuse_write_field_cnt() with the cnt parameter equal to 1, except that it will return ESP_OK if the field is already set to 1.
Writes array to EFUSE field. The number of write bits will be limited to the minimum value from the description of the bits in "field" structure or "src_size_bits" required size. Use "esp_efuse_get_field_size()" function to determine the length of the field. After the function is completed, the writing registers are cleared.
Writes a required count of bits as "1" to EFUSE field. If there are no free bits in the field to set the required number of bits to "1", ESP_ERR_EFUSE_CNT_IS_FULL error is returned, the field will not be partially recorded. After the function is completed, the writing registers are cleared.
This function processes the field by calling the passed function. This function selects the field, checks the length, and calls the register processing function.
Examples
esp_efuse_read_field_bit() is referenced by 1 libraries and example projects: