nrfxlib API 2.8.99
|
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.
[in] | nfc_lib_cb_resolve | Pointer to the callback resolution function. |
[in,out] | p_irq_priority | Pointer to the interrupt priority configuration. You must set its value inside this function. |
NRFX_SUCCESS | If the NFC module is initialized successfully. If one of the arguments is invalid, an error code is returned. |