30#ifndef NFC_TRANSPORT_H_
31#define NFC_TRANSPORT_H_
64static inline void nfc_transport_write(
nfc_transport_t *pTransport, uint8_t address,
const uint8_t *outBuf,
size_t outLen)
66 pTransport->write(address, outBuf, outLen, pTransport->pUser);
69static inline void nfc_transport_read(
nfc_transport_t *pTransport, uint8_t address, uint8_t *inBuf,
size_t inLen)
71 pTransport->read(address, inBuf, inLen, pTransport->pUser);
void(* nfc_transport_write_fn_t)(uint8_t address, const uint8_t *outBuf, size_t outLen, void *pUser)
Function called to write a register's value.
void(* nfc_transport_read_fn_t)(uint8_t address, uint8_t *inBuf, size_t inLen, void *pUser)
Function called to read a register's value.