207 void getTemperature(
const char *socket,
RtcTemp &temp);
214 void setTime(
const char* socket,
RtcClock &time);
221 void getTime(
const char* socket,
RtcClock &time);
262 void enableAlarms(
const char* socket,
bool alarm1,
bool alarm2,
RtcResult& result);
269 void stopAlarm1(
const char* socket,
RtcResult& result);
276 void stopAlarm2(
const char* socket,
RtcResult& result);
297 void setSramValue(
const char* socket,
RtcSram& sram);
304 void getSramValue(
const char* socket,
RtcSram& sram);
bool days
Days (false to enable, true to disable)
Definition: rtc.h:122
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
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
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
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
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
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
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