ESPHome 2025.5.0
Loading...
Searching...
No Matches
rc522_i2c.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace esphome {
8namespace rc522_i2c {
9
10class RC522I2C : public rc522::RC522, public i2c::I2CDevice {
11 public:
12 void dump_config() override;
13
14 protected:
16 ) override;
17
23 uint8_t count,
24 uint8_t *values,
25 uint8_t rx_align
26 ) override;
28 uint8_t value
29 ) override;
30
36 uint8_t count,
37 uint8_t *values
38 ) override;
39};
40
41} // namespace rc522_i2c
42} // namespace esphome
This Class provides the methods to read/write bytes from/to an i2c device.
Definition i2c.h:133
I2CRegister reg(uint8_t a_register)
calls the I2CRegister constructor
Definition i2c.h:153
void dump_config() override
Definition rc522_i2c.cpp:9
uint8_t pcd_read_register(PcdRegister reg) override
Reads a uint8_t from the specified register in the MFRC522 chip.
Definition rc522_i2c.cpp:18
void pcd_write_register(PcdRegister reg, uint8_t value) override
Definition rc522_i2c.cpp:52
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7