Function esp_idf_hal::sys::esp_efuse_write_reg
source ยท pub unsafe extern "C" fn esp_efuse_write_reg(
blk: u32,
num_reg: u32,
val: u32,
) -> i32
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.