Data Structures | |
| struct | __transport |
Transport | |
| typedef 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. More... | |
| typedef 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. More... | |
| typedef struct __transport | nfc_transport_t |
| void | nfc_transport_init (nfc_transport_t *pTransport, nfc_transport_write_fn_t write, nfc_transport_read_fn_t read, void *pUser) |
| static void | nfc_transport_write (nfc_transport_t *pTransport, uint8_t address, const uint8_t *outBuf, size_t outLen) |
| static void | nfc_transport_read (nfc_transport_t *pTransport, uint8_t address, uint8_t *inBuf, size_t inLen) |
| typedef 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.
| address | address to read packet from |
| outBuf | buffer to read |
| outLen | buffer's length |
| pUser | parameter passed to the nfc_transport_init function |
Definition at line 53 of file nfc_transport.h.
| typedef 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.
| address | address of the register to write to |
| outBuf | buffer to write |
| outLen | buffer's length |
| pUser | parameter passed to the nfc_transport_init function |
Definition at line 45 of file nfc_transport.h.