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

◆ nfc_platform_setup()

nrfx_err_t nfc_platform_setup ( nfc_lib_cb_resolve_t nfc_lib_cb_resolve,
uint8_t * p_irq_priority )

#include <nfc/include/nfc_platform.h>

Initialize platform-specific modules required by NFC.

This function sets up clock managing interface, interrupts, callback and other platform-specific components that are required for correct operation of the NFC library. The function should save the nfc_lib_cb_call function pointer and set the interrupt priority for NFC.

Parameters
[in]nfc_lib_cb_resolvePointer to the callback resolution function.
[in,out]p_irq_priorityPointer to the interrupt priority configuration. You must set its value inside this function.
Return values
NRFX_SUCCESSIf the NFC module is initialized successfully. If one of the arguments is invalid, an error code is returned.