nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ nfc_platform_cb_request()

void nfc_platform_cb_request ( const void * p_ctx,
size_t ctx_len,
const uint8_t * p_data,
size_t data_len,
bool copy_data )

#include <nfc/include/nfc_platform.h>

Request NFC callback.

This function requests for an NFC callback. The function can call the callback directly or perform platform-specific tasks before calling the callback. For example, the function can schedule the execution of a user callback in another context to unblock an interrupt.

In case of a direct call to callback resolution function, the ctx_len and data_len parameters can be ignored.

This function is called in the interrupt context.

Parameters
[in]p_ctxPointer to context data for the callback.
[in]ctx_lenLength of the context.
[in]p_dataPointer to data passed to the callback.
[in]data_lenLength of the data.
[in]copy_dataBoolean value indicating whether or not to copy data to a buffer.