pub unsafe extern "C" fn nfc_start(
instance: *mut Nfc,
callback: NfcEventCallback,
context: *mut c_void,
)Expand description
Start the Nfc instance.
The instance must be configured to work with a specific technology in a specific operating mode with a nfc_config() call before starting.
Once started, the user code will be receiving events through the provided callback which must handle them according to the logic required.
ยงArguments
instance(direction in, out) - pointer to the instance to be started.callback(direction in) - pointer to a user-defined callback function which will receive events.context(direction in) - pointer to a user-specific context (will be passed to the callback).