pub type otPlatSpiSlaveTransactionProcessCallback = Option<unsafe extern "C" fn(aContext: *mut c_void)>;
Expand description

Invoked after a transaction complete callback is called and returns TRUE to do any further processing required. Unlike otPlatSpiSlaveTransactionCompleteCallback which can be called from any OS context (e.g., ISR), this callback MUST be called from the same OS context as any other OpenThread API/callback.

@param[in] aContext Context pointer passed into otPlatSpiSlaveEnable().

Aliased Type§

enum otPlatSpiSlaveTransactionProcessCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void))

Some value of type T.