The PN512 supports multiple transport mechanisms (SPI, I2C, UART): this class provides a unified API across these transports. More...
#include <PN512TransportDriver.h>
 
  
 | Data Structures | |
| struct | Delegate | 
| The PN512TransportDriver delegate.  More... | |
| Public Member Functions | |
| PN512TransportDriver () | |
| Create a PN512TransportDriver instance.  More... | |
| virtual | ~PN512TransportDriver () | 
| PN512TransportDriver destructor.  More... | |
| virtual void | initialize ()=0 | 
| Initialize transport driver and perform a chip reset.  More... | |
| virtual nfc_transport_t * | get_transport ()=0 | 
| Retrieve the nfc_transport_t struct for the stack to use.  More... | |
| void | set_delegate (Delegate *delegate) | 
| Set this instance's delegate.  More... | |
| Protected Member Functions | |
| 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 29 of file PN512TransportDriver.h.
Create a PN512TransportDriver instance.
| 
 | virtual | 
PN512TransportDriver destructor.
| 
 | pure virtual | 
Retrieve the nfc_transport_t struct for the stack to use.
| 
 | protected | 
An implementation must call this function (can be called from interrupt context) when the PN512 asserts its interrupt line.
| 
 | pure virtual | 
Initialize transport driver and perform a chip reset.
| void set_delegate | ( | Delegate * | delegate | ) | 
Set this instance's delegate.
| [in] | delegate | the delegate instance to use |