ESPHome
2026.11.0-dev
Loading...
Searching...
No Matches
esphome
components
rx8130
rx8130.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/core/component.h
"
4
#include "
esphome/components/i2c/i2c.h
"
5
#include "
esphome/components/time/real_time_clock.h
"
6
7
namespace
esphome::rx8130
{
8
9
class
RX8130Component
final :
public
time::RealTimeClock
,
public
i2c::I2CDevice
{
10
public
:
11
void
setup
()
override
;
12
void
update
()
override
;
13
void
dump_config
()
override
;
14
void
read_time
();
15
void
write_time
();
16
17
protected
:
18
void
stop_
(
bool
stop);
19
};
20
21
}
// namespace esphome::rx8130
esphome::i2c::I2CDevice
This Class provides the methods to read/write bytes from/to an i2c device.
Definition
i2c.h:144
esphome::rx8130::RX8130Component
Definition
rx8130.h:9
esphome::rx8130::RX8130Component::read_time
void read_time()
Definition
rx8130.cpp:64
esphome::rx8130::RX8130Component::write_time
void write_time()
Definition
rx8130.cpp:80
esphome::rx8130::RX8130Component::stop_
void stop_(bool stop)
Definition
rx8130.cpp:98
esphome::rx8130::RX8130Component::update
void update() override
Definition
rx8130.cpp:56
esphome::rx8130::RX8130Component::setup
void setup() override
Definition
rx8130.cpp:26
esphome::rx8130::RX8130Component::dump_config
void dump_config() override
Definition
rx8130.cpp:58
esphome::time::RealTimeClock
The RealTimeClock class exposes common timekeeping functions via the device's local real-time clock.
Definition
real_time_clock.h:21
component.h
i2c.h
esphome::rx8130
Definition
rx8130.cpp:6
real_time_clock.h
Generated by
1.12.0