![]() |
nrfxlib API 3.3.99
|
| int 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_resolve 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. |
| 0 | If the NFC module is initialized successfully. If one of the arguments is invalid, an error code is returned. |