23#ifndef PN512_INTERNAL_H_
24#define PN512_INTERNAL_H_
41void pn512_set_transceive_options(
nfc_transceiver_t *pTransceiver,
bool transmit,
bool receive,
bool repoll);
42void pn512_set_transceive_framing(
nfc_transceiver_t *pTransceiver, nfc_framing_t framing);
46void pn512_set_last_byte_length(
nfc_transceiver_t *pTransceiver,
size_t lastByteLength);
47void pn512_set_first_byte_align(
nfc_transceiver_t *pTransceiver,
size_t firstByteAlign);
57 pPN512->rf.cb(pPN512, ret);
62 pPN512->poll.cb(pPN512, ret);
65static inline void pn512_anticollision_callback(
pn512_t *pPN512,
nfc_err_t ret)
67 pPN512->anticollision.cb(pPN512, ret);
72 pPN512->transceive.cb(pPN512, ret);
int nfc_err_t
Type for NFC errors.