Class RTC¶
Defined in File BlackBox_RTC.hpp
Inheritance Relationships¶
Base Type¶
public I2C::Device
(Class Device)
Class Documentation¶
-
class
BlackBox
::
RTC
: public I2C::Device¶ Třída pro práci s RTC.
Public Functions
-
RTC
(std::uint16_t address = 0x68, i2c_port_t = 0)¶
-
~RTC
() = default¶
-
virtual void
init
() final¶
-
void
adjustRTC
(std::tm newTime)¶
-
void
adjustESP
()¶
-
void
reset
()¶
-
std::tm
now
()¶
-
M41T62Regs::M41T62_dev_t
registers
() const¶ Vrátí kopii registrů v paměti.
-
const M41T62Regs::M41T62_dev_t &
regs
() const¶ Vrátí konstantní referenci na registry v paměti.
-
void
writeRegisters
(const M41T62Regs::M41T62_dev_t&)¶ Zapíše registry.
-