ESPHome  2024.12.2
pn7160_i2c.h
Go to the documentation of this file.
1 #pragma once
2 
6 
7 #include <vector>
8 
9 namespace esphome {
10 namespace pn7160_i2c {
11 
12 class PN7160I2C : public pn7160::PN7160, public i2c::I2CDevice {
13  public:
14  void dump_config() override;
15 
16  protected:
17  uint8_t read_nfcc(nfc::NciMessage &rx, uint16_t timeout) override;
18  uint8_t write_nfcc(nfc::NciMessage &tx) override;
19 };
20 
21 } // namespace pn7160_i2c
22 } // namespace esphome
uint8_t read_nfcc(nfc::NciMessage &rx, uint16_t timeout) override
Definition: pn7160_i2c.cpp:10
uint8_t write_nfcc(nfc::NciMessage &tx) override
Definition: pn7160_i2c.cpp:36
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
This Class provides the methods to read/write bytes from/to an i2c device.
Definition: i2c.h:133