nRF5 SDK v17.1.0
Modules | Functions
Platform-specific module for NFC

Platform-specific module for Near Field Communication Tag (NFCT). More...

Modules

 NFC platform module for Clock control. configuration
 

Functions

nrfx_err_t nfc_platform_setup (void)
 Function for initializing platform-specific modules required by NFC. More...
 
void nfc_platform_event_handler (nrfx_nfct_evt_t const *p_event)
 Function for handling NFCT events that require platform-specific actions. More...
 

Detailed Description

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.

Note
Before the NFCT peripheral enters the ACTIVATED state, the HFXO must be running. To fulfill this requirement, this module uses the clock management module.

Function Documentation

void nfc_platform_event_handler ( nrfx_nfct_evt_t const *  p_event)

Function for handling NFCT events that require platform-specific actions.

This function is used by the NFC platform module to observe NFC events. This event flow is necessary to track in order to determine when HFXO must be running and when the NFCT peripheral must be activated.

Parameters
[in]p_eventNFCT driver event.
nrfx_err_t nfc_platform_setup ( void  )

Function for initializing platform-specific modules required by NFC.

This function sets up clock managing interface and other platform specific components that are required for NFC.

Return values
NRFX_SUCCESSIf the NFC module is initialized successfully. If one of the arguments is invalid, an error code is returned.

Documentation feedback | Developer Zone | Subscribe | Updated