ESPHome
2026.11.0-dev
Loading...
Searching...
No Matches
esphome
components
rx8025t
rx8025t.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::rx8025t
{
8
9
class
RX8025TComponent
:
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
bool
read_flags_
(uint8_t *
flags
);
19
};
20
21
}
// namespace esphome::rx8025t
esphome::i2c::I2CDevice
This Class provides the methods to read/write bytes from/to an i2c device.
Definition
i2c.h:132
esphome::rx8025t::RX8025TComponent
Definition
rx8025t.h:9
esphome::rx8025t::RX8025TComponent::update
void update() override
Definition
rx8025t.cpp:31
esphome::rx8025t::RX8025TComponent::read_flags_
bool read_flags_(uint8_t *flags)
Definition
rx8025t.cpp:39
esphome::rx8025t::RX8025TComponent::setup
void setup() override
Definition
rx8025t.cpp:19
esphome::rx8025t::RX8025TComponent::dump_config
void dump_config() override
Definition
rx8025t.cpp:33
esphome::rx8025t::RX8025TComponent::write_time
void write_time()
Definition
rx8025t.cpp:89
esphome::rx8025t::RX8025TComponent::read_time
void read_time()
Definition
rx8025t.cpp:48
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
flags
uint16_t flags
Definition
dns_server_esp32_idf.cpp:1
i2c.h
esphome::rx8025t
Definition
rx8025t.cpp:7
real_time_clock.h
Generated by
1.12.0