ESPHome
2026.5.1
Loading...
Searching...
No Matches
esphome
components
pn7160_i2c
pn7160_i2c.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/core/component.h
"
4
#include "
esphome/components/pn7160/pn7160.h
"
5
#include "
esphome/components/i2c/i2c.h
"
6
7
#include <vector>
8
9
namespace
esphome::pn7160_i2c
{
10
11
class
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
esphome::i2c::I2CDevice
This Class provides the methods to read/write bytes from/to an i2c device.
Definition
i2c.h:132
esphome::nfc::NciMessage
Definition
nci_message.h:10
esphome::pn7160::PN7160
Definition
pn7160.h:160
esphome::pn7160_i2c::PN7160I2C
Definition
pn7160_i2c.h:11
esphome::pn7160_i2c::PN7160I2C::write_nfcc
uint8_t write_nfcc(nfc::NciMessage &tx) override
Definition
pn7160_i2c.cpp:35
esphome::pn7160_i2c::PN7160I2C::read_nfcc
uint8_t read_nfcc(nfc::NciMessage &rx, uint16_t timeout) override
Definition
pn7160_i2c.cpp:9
esphome::pn7160_i2c::PN7160I2C::dump_config
void dump_config() override
Definition
pn7160_i2c.cpp:43
component.h
i2c.h
esphome::pn7160_i2c
Definition
pn7160_i2c.cpp:5
pn7160.h
Generated by
1.12.0