openthread_sys

Function otPlatFlashRead

Source
pub unsafe extern "C" fn otPlatFlashRead(
    aInstance: *mut otInstance,
    aSwapIndex: u8,
    aOffset: u32,
    aData: *mut c_void,
    aSize: u32,
)
Expand description

Reads @p aSize bytes into @p aData.

@param[in] aInstance The OpenThread instance structure. @param[in] aSwapIndex A value in [0, 1] that indicates the swap space. @param[in] aOffset A byte offset within the swap space. @param[out] aData A pointer to the data buffer for reading. @param[in] aSize Number of bytes to read.