18#ifndef MBED_PN512_TRANSPORT_DRIVER_H
19#define MBED_PN512_TRANSPORT_DRIVER_H
The PN512 supports multiple transport mechanisms (SPI, I2C, UART): this class provides a unified API ...
PN512TransportDriver()
Create a PN512TransportDriver instance.
virtual nfc_transport_t * get_transport()=0
Retrieve the nfc_transport_t struct for the stack to use.
virtual ~PN512TransportDriver()
PN512TransportDriver destructor.
virtual void initialize()=0
Initialize transport driver and perform a chip reset.
void hw_interrupt()
An implementation must call this function (can be called from interrupt context) when the PN512 asser...
void set_delegate(Delegate *delegate)
Set this instance's delegate.
The PN512TransportDriver delegate.
virtual void on_hw_interrupt()
Called when the PN512 asserts the interrupt line.