EVE 1.0
nRF52 internal NFC driver
Collaboration diagram for nRF52 internal NFC driver:

Data Structures

struct  nfc_nrf_t
 NFC driver descriptor: static structure for configuration of driver instance. More...
 
struct  nfc_nrf_state_t
 holds current NFC instance state variables. More...
 

Functions

bool NfcNrfLibInit (const struct nfc_nrf_t *Nfc)
 Initializes the NRF NFC interface. More...
 
bool NfcNrfLibDisable (const struct nfc_nrf_t *Nfc)
 Disables NFC card emulation. More...
 
void NfcNrfSetNdefFile (const struct nfc_nrf_t *Nfc, uint8_t *NdefFile, uint16_t NdefFileSize)
 Sets a memory buffer as an NDEF file for subsequent NfcNrfCardEmulation function call.
. More...
 
void NfcNrfCardEmulation (const struct nfc_nrf_t *Nfc)
 Starts card emulation. More...
 

Detailed Description

Function Documentation

bool NfcNrfLibInit ( const struct nfc_nrf_t Nfc)

Initializes the NRF NFC interface.

Parameters
NfcNFC driver instance poiner
bool NfcNrfLibDisable ( const struct nfc_nrf_t Nfc)

Disables NFC card emulation.

Parameters
NfcNFC driver instance poiner
void NfcNrfSetNdefFile ( const struct nfc_nrf_t Nfc,
uint8_t *  NdefFile,
uint16_t  NdefFileSize 
)

Sets a memory buffer as an NDEF file for subsequent NfcNrfCardEmulation function call.
.

Parameters
NfcNFC driver instance poiner
NdefFilePointer to the buffer to set.
NdefFileSizeFull buffer length (not current data length!)
void NfcNrfCardEmulation ( const struct nfc_nrf_t Nfc)

Starts card emulation.

Parameters
NfcNFC driver instance poiner