Function esp_idf_sys::esp_efuse_set_key_purpose
source ยท pub unsafe extern "C" fn esp_efuse_set_key_purpose(
block: esp_efuse_block_t,
purpose: esp_efuse_purpose_t,
) -> esp_err_t
Expand description
@brief Sets a key purpose for an efuse key block.
@param[in] block A key block in the range EFUSE_BLK_KEY0..EFUSE_BLK_KEY_MAX @param[in] purpose Key purpose.
@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.