ESPHome  2024.11.1
as3935_i2c.h
Go to the documentation of this file.
1 #pragma once
2 
8 
9 namespace esphome {
10 namespace as3935_i2c {
11 
13  public:
14  void dump_config() override;
15 
16  protected:
17  void write_register(uint8_t reg, uint8_t mask, uint8_t bits, uint8_t start_position) override;
18  uint8_t read_register(uint8_t reg) override;
19 };
20 
21 } // namespace as3935_i2c
22 } // namespace esphome
I2CRegister reg(uint8_t a_register)
calls the I2CRegister constructor
Definition: i2c.h:149
void write_register(uint8_t reg, uint8_t mask, uint8_t bits, uint8_t start_position) override
Definition: as3935_i2c.cpp:9
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
This Class provides the methods to read/write bytes from/to an i2c device.
Definition: i2c.h:133
uint8_t read_register(uint8_t reg) override
Definition: as3935_i2c.cpp:26