bool days
Days (false to enable, true to disable)
Definition: rtc.h:122
void getAlarm1(const char *socket, RtcAlarm &alarm, RtcAlarmFlags &flags)
Get time for Alarm 1.
int status
Return status (EXIT_SUCCESS or EXIT_FAILURE)
Definition: rtc.h:128
Struct with SRAM registers for RTC.
Definition: rtc.h:173
float temp
Temperature in C degrees.
Definition: rtc.h:77
bool triggered
Return true, if alarm is triggered.
Definition: rtc.h:158
void isAlarm2Triggered(const char *socket, RtcAlarmsStatus &status)
Check Alarm 2 triggered status.
Class for RTC tibbit control (Tibbit #42)
Definition: rtc.h:194
Struct with time for alarms in RTC Tibbit.
Definition: rtc.h:53
uint8_t value
Value.
Definition: rtc.h:179
RtcTime time
Time.
Definition: rtc.h:95
uint8_t address
SRAM address (256 bytes: 0x00...0xFF)
Definition: rtc.h:176
int status
Return status (EXIT_SUCCESS or EXIT_FAILURE)
Definition: rtc.h:98
bool minites
Minutes (false to enable, true to disable)
Definition: rtc.h:116
const char * error
String error if something goes wrong (NULL for success)
Definition: rtc.h:185
int status
Return status (EXIT_SUCCESS or EXIT_FAILURE)
Definition: rtc.h:80
const char * error
String error if something goes wrong (NULL for success)
Definition: rtc.h:83
void getSramValue(const char *socket, RtcSram &sram)
Get value from SRAM memory.
void getTime(const char *socket, RtcClock &time)
Get current time.
void setAlarm1(const char *socket, RtcAlarm &alarm, RtcAlarmFlags &flags)
Set time for Alarm 1.
const char * error
String error if something goes wrong (NULL for success)
Definition: rtc.h:146
const char * error
String error if something goes wrong (NULL for success)
Definition: rtc.h:164
void getAlarm2(const char *socket, RtcAlarm &alarm, RtcAlarmFlags &flags)
Get time for Alarm 2.
void setSramValue(const char *socket, RtcSram &sram)
Write value to SRAM memory.
Struct with alarms triggered status for RTC.
Definition: rtc.h:155
const char * error
String error if something goes wrong (NULL for success)
Definition: rtc.h:101
void stopAlarm1(const char *socket, RtcResult &result)
Clear Alarm 1 triggered status.
Struct with time for clock in RTC Tibbit.
Definition: rtc.h:17
bool seconds
Seconds (false to enable, true to disable) - does not matter for Alarm 2.
Definition: rtc.h:113
bool hours
Hours (false to enable, true to disable)
Definition: rtc.h:119
bool wdays
Day of week == true/day of month == false.
Definition: rtc.h:125
void enableAlarms(const char *socket, bool alarm1, bool alarm2, RtcResult &result)
Activate alarms pin (if slot activated, INT/MISO pin will be set to LOW when alarms triggered) ...
void setAlarm2(const char *socket, RtcAlarm &alarm, RtcAlarmFlags &flags)
Set time for Alarm 2.
void getTemperature(const char *socket, RtcTemp &temp)
Get current temperature in Celsius degrees.
void isAlarm1Triggered(const char *socket, RtcAlarmsStatus &status)
Check Alarm 1 triggered status.
const char * error
String error if something goes wrong (NULL for success)
Definition: rtc.h:131
int status
Return status (EXIT_SUCCESS or EXIT_FAILURE)
Definition: rtc.h:182
Struct with alarm flags for RTC.
Definition: rtc.h:110
void setTime(const char *socket, RtcClock &time)
Set current time.
void stopAlarm2(const char *socket, RtcResult &result)
Clear Alarm 2 triggered status.
Struct with some operations result for RTC.
Definition: rtc.h:140
Struct with time for DS3234.
Definition: rtc.h:92
int status
Return status (EXIT_SUCCESS or EXIT_FAILURE)
Definition: rtc.h:143
int status
Return status (EXIT_SUCCESS or EXIT_FAILURE)
Definition: rtc.h:161
Struct with temperature for DS3234.
Definition: rtc.h:74