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

◆ nfc_platform_buffer_alloc()

uint8_t * nfc_platform_buffer_alloc ( size_t size)

#include <nfc/include/nfc_platform.h>

Allocate buffer for NFC data exchange.

This function allocates a buffer that is used directly by the NFCT peripheral. You might need to allocate buffer within defined memory addresses that are accessible by the EasyDMA NFCT peripheral utility. Refer to the product specification for more details.

The buffer size varies for different NFC tag types:

Parameters
[in]sizeSize of the requested buffer in bytes.
Return values
Addressof allocated buffer if successful, otherwise NULL.