esp_efuse_set_read_protect() function
Sets a read protection for the whole block. After that, it is impossible to read from this block. The read protection does not apply to block 0.
Arguments
blk
Block number of eFuse. (EFUSE_BLK1, EFUSE_BLK2 and EFUSE_BLK3)
Return value
- ESP_OK: The operation was successfully completed. - ESP_ERR_INVALID_ARG: Error in the passed arguments. - ESP_ERR_EFUSE_CNT_IS_FULL: Not all requested cnt bits is set. - ESP_ERR_NOT_SUPPORTED: The block does not support this command.