ESPHome 2025.5.0
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 {
10namespace pn7160_i2c {
11
12class 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
This Class provides the methods to read/write bytes from/to an i2c device.
Definition i2c.h:133
uint8_t write_nfcc(nfc::NciMessage &tx) override
uint8_t read_nfcc(nfc::NciMessage &rx, uint16_t timeout) override
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7