|
Mbed OS Reference
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
33#define PN512_CMD_IDLE 0x00
34#define PN512_CMD_MEM 0x01
35#define PN512_CMD_CONFIG 0x01
36#define PN512_CMD_RNDIDG 0x02
37#define PN512_CMD_CRC 0x03
38#define PN512_CMD_TRANSMIT 0x04
39#define PN512_CMD_NOCHANGE 0x07
40#define PN512_CMD_RECEIVE 0x08
41#define PN512_CMD_TRANSCEIVE 0x0C
42#define PN512_CMD_AUTOCOLL 0x0D
43#define PN512_CMD_MFAUTH 0x0E
44#define PN512_CMD_SOFTRST 0x0F
46#define PN512_CMD_REG_MASK 0x0F
48void pn512_cmd_init(
pn512_t *pPN512);
56void pn512_fifo_clear(
pn512_t *pPN512);
59size_t pn512_fifo_space(
pn512_t *pPN512);
60size_t pn512_fifo_length(
pn512_t *pPN512);
63void pn512_cmd_exec(
pn512_t *pPN512, uint8_t cmd);
69uint8_t pn512_cmd_get(
pn512_t *pPN512);
int nfc_err_t
Type for NFC errors.