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