Function esp_idf_sys::esp_efuse_set_read_protect
source ยท pub unsafe extern "C" fn esp_efuse_set_read_protect(
blk: esp_efuse_block_t,
) -> esp_err_t
Expand description
@brief 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. @param[in] blk Block number of eFuse. (EFUSE_BLK1, EFUSE_BLK2 and EFUSE_BLK3)
@return
- 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.