The PN512 supports multiple transport mechanisms (SPI, I2C, UART): this class provides a unified API across these transports.
More...
#include <PN512TransportDriver.h>
|
void | hw_interrupt () |
| An implementation must call this function (can be called from interrupt context) when the PN512 asserts its interrupt line. More...
|
|
The PN512 supports multiple transport mechanisms (SPI, I2C, UART): this class provides a unified API across these transports.
Definition at line 30 of file PN512TransportDriver.h.
◆ PN512TransportDriver()
◆ ~PN512TransportDriver()
◆ initialize()
virtual void initialize |
( |
| ) |
|
|
pure virtual |
Initialize transport driver and perform a chip reset.
◆ get_transport()
Retrieve the nfc_transport_t struct for the stack to use.
- Returns
- a pointer to a nfc_transport_t struct
◆ set_delegate()
void set_delegate |
( |
Delegate * |
delegate | ) |
|
Set this instance's delegate.
- Parameters
-
[in] | delegate | the delegate instance to use |
◆ hw_interrupt()
An implementation must call this function (can be called from interrupt context) when the PN512 asserts its interrupt line.