nrfxlib API 0.1.0
|
Platform-specific module for Near Field Communication Tag (NFCT). More...
Macros | |
#define | NFC_PLATFORM_T2T_BUFFER_SIZE 16U |
#define | NFC_PLATFORM_T4T_BUFFER_SIZE 259U |
Typedefs | |
typedef void(* | nfc_lib_cb_resolve_t) (const void *p_ctx, const uint8_t *p_data) |
Callback resolution function pointer. | |
Functions | |
nrfx_err_t | nfc_platform_setup (nfc_lib_cb_resolve_t nfc_lib_cb_resolve, uint8_t *p_irq_priority) |
Initialize platform-specific modules required by NFC. | |
nrfx_err_t | nfc_platform_nfcid1_default_bytes_get (uint8_t *const p_nfcid1_buff, uint32_t nfcid1_buff_len) |
Get default bytes for NFCID1. | |
void | nfc_platform_event_handler (nrfx_nfct_evt_t const *p_event) |
Handle NFCT events that require platform-specific actions. | |
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) |
Request NFC callback. | |
uint8_t * | nfc_platform_buffer_alloc (size_t size) |
Allocate buffer for NFC data exchange. | |
void | nfc_platform_buffer_free (uint8_t *p_buffer) |
Free allocated buffer. | |
Platform-specific module for Near Field Communication Tag (NFCT).
This module is used to set up platform-specific components that are required for NFC, and to activate NFCT peripheral when all necessary conditions are fulfilled.