11 namespace pn7160_spi {
13 static const uint8_t TDD_SPI_READ = 0xFF;
14 static const uint8_t TDD_SPI_WRITE = 0x0A;
17 public spi::SPIDevice<spi::BIT_ORDER_MSB_FIRST, spi::CLOCK_POLARITY_LOW, spi::CLOCK_PHASE_LEADING,
18 spi::DATA_RATE_4MHZ> {
20 void setup()
override;
uint8_t write_nfcc(nfc::NciMessage &tx) override
void dump_config() override
The SPIDevice is what components using the SPI will create.
Implementation of SPI Controller mode.
uint8_t read_nfcc(nfc::NciMessage &rx, uint16_t timeout) override