Function esp_idf_sys::esp_efuse_read_field_blob

source ·
pub unsafe extern "C" fn esp_efuse_read_field_blob(
    field: *mut *const esp_efuse_desc_t,
    dst: *mut c_void,
    dst_size_bits: usize,
) -> esp_err_t
Expand description

@brief Reads bits from EFUSE field and writes it into an array.

The number of read bits will be limited to the minimum value from the description of the bits in “field” structure or “dst_size_bits” required size. Use “esp_efuse_get_field_size()” function to determine the length of the field.

@note Please note that reading in the batch mode does not show uncommitted changes.

@param[in] field A pointer to the structure describing the fields of efuse. @param[out] dst A pointer to array that will contain the result of reading. @param[in] dst_size_bits The number of bits required to read. If the requested number of bits is greater than the field, the number will be limited to the field size.

@return

  • ESP_OK: The operation was successfully completed.
  • ESP_ERR_INVALID_ARG: Error in the passed arguments.