nRF Connect SDK API 2.8.0
|
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.
[out] | events | NFC-A Events. |
[in] | cnt | Event count. This driver needs 2 events. |
[in] | cb | Callback structure. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |