ESPHome  2022.11.3
rc522_i2c.h
Go to the documentation of this file.
1 #pragma once
2 
6 
7 namespace esphome {
8 namespace rc522_i2c {
9 
10 class 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
I2CRegister reg(uint8_t a_register)
Definition: i2c.h:46
void pcd_write_register(PcdRegister reg, uint8_t value) override
Definition: rc522_i2c.cpp:52
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
Definition: a4988.cpp:4
void dump_config() override
Definition: rc522_i2c.cpp:9