Function esp_idf_hal::sys::esp_efuse_set_key_dis_read
source ยท pub unsafe extern "C" fn esp_efuse_set_key_dis_read(block: u32) -> i32
Expand description
@brief Sets a read protection for the key block.
@param[in] block A key block in the range EFUSE_BLK_KEY0..EFUSE_BLK_KEY_MAX
@return
- ESP_OK: Successful.
- ESP_ERR_INVALID_ARG: Error in the passed arguments.
- ESP_ERR_EFUSE_REPEATED_PROG: Error repeated programming of programmed bits is strictly forbidden.
- ESP_ERR_CODING: Error range of data does not match the coding scheme.