esp_efuse_write_field_bit() function
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.
Arguments
field
Pointer to the structure describing the efuse field.
Return value
- ESP_OK: The operation was successfully completed, or the bit was already set to value 1. - ESP_ERR_INVALID_ARG: Error in the passed arugments, including if the efuse field is not 1 bit wide.