ESPHome
2024.5.0
esphome
esphome
components
pn7150_i2c
pn7150_i2c.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/core/component.h
"
4
#include "
esphome/components/pn7150/pn7150.h
"
5
#include "
esphome/components/i2c/i2c.h
"
6
7
#include <vector>
8
9
namespace
esphome
{
10
namespace
pn7150_i2c {
11
12
class
PN7150I2C
:
public
pn7150::PN7150
,
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 pn7150_i2c
22
}
// namespace esphome
esphome::pn7150::PN7150
Definition:
pn7150.h:145
pn7150.h
esphome::pn7150_i2c::PN7150I2C::read_nfcc
uint8_t read_nfcc(nfc::NciMessage &rx, uint16_t timeout) override
Definition:
pn7150_i2c.cpp:10
esphome::nfc::NciMessage
Definition:
nci_message.h:11
esphome::pn7150_i2c::PN7150I2C::dump_config
void dump_config() override
Definition:
pn7150_i2c.cpp:43
esphome::pn7150_i2c::PN7150I2C::write_nfcc
uint8_t write_nfcc(nfc::NciMessage &tx) override
Definition:
pn7150_i2c.cpp:36
esphome
This is a workaround until we can figure out a way to get the tflite-micro idf component code availab...
Definition:
a01nyub.cpp:7
component.h
esphome::pn7150_i2c::PN7150I2C
Definition:
pn7150_i2c.h:12
esphome::i2c::I2CDevice
This Class provides the methods to read/write bytes from/to an i2c device.
Definition:
i2c.h:133
i2c.h
Generated by
1.8.13