nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ st25r3911b_nfca_init()

int st25r3911b_nfca_init ( struct k_poll_event *  events,
uint8_t  cnt,
const struct st25r3911b_nfca_cb cb 
)

#include <include/st25r3911b_nfca.h>

Initialize NFC Reader NFC-A technology.

This function initializes everything that is required, like interrupts and common reader functionality.

Parameters
[out]eventsNFC-A Events.
[in]cntEvent count. This driver needs 2 events.
[in]cbCallback structure.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.