ArduinoLibs
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Attributes | List of all members
RTCAlarm Class Reference

Stores alarm information from a realtime clock chip. More...

#include <RTC.h>

Public Attributes

uint8_t day
 Day of the month for the alarm if not zero. More...
 
uint8_t dow
 Day of the week for the alarm if not zero. More...
 
uint8_t hour
 Hour of the day for the alarm (0-23).
 
uint8_t minute
 Minute of the hour for the alarm (0-59).
 
uint8_t second
 Second of the minute for the alarm (0-59). More...
 
uint8_t flags
 Additional flags for the alarm. More...
 

Detailed Description

Stores alarm information from a realtime clock chip.

See Also
RTCTime, RTCDate, RTC

Definition at line 42 of file RTC.h.

Member Data Documentation

RTCAlarm::day

Day of the month for the alarm if not zero.

Note
Currently this field only works with the DS3231RTC class.

Definition at line 44 of file RTC.h.

RTCAlarm::dow

Day of the week for the alarm if not zero.

Note
Currently this field only works with the DS3231RTC class.

Definition at line 45 of file RTC.h.

RTCAlarm::flags

Additional flags for the alarm.

The least significant bit will be 0 if the alarm is disabled or 1 if the alarm is enabled. Other bits can be used by the application for any purpose.

Definition at line 49 of file RTC.h.

RTCAlarm::second

Second of the minute for the alarm (0-59).

Note
Currently this field only works with the DS3231RTC class.

Definition at line 48 of file RTC.h.


The documentation for this class was generated from the following files: