Function esp_idf_sys::esp_efuse_write_reg
source ยท pub unsafe extern "C" fn esp_efuse_write_reg(
blk: esp_efuse_block_t,
num_reg: c_uint,
val: u32,
) -> esp_err_t
Expand description
@brief Write value to efuse register.
Apply a coding scheme if necessary. This is a thread-safe implementation. Example: EFUSE_BLK3_WDATA0_REG where (blk=3, num_reg=0) @param[in] blk Block number of eFuse. @param[in] num_reg The register number in the block. @param[in] val Value to write.
@return - ESP_OK: The operation was successfully completed. - ESP_ERR_EFUSE_REPEATED_PROG: Error repeated programming of programmed bits is strictly forbidden.