bool getEVIEventCapture(); - Returns whether or not the EVI Event Capture function is enabled or disabled.
Countdown Interrupt
bool setCountdownTimerEnable(bool timerState); - Enables or disables the Periodic Countdown Timer interrupt function.
bool setCountdownTimerFrequency(uint8_t countdownTimerFrequency); - Sets the time for the Periodic Countdown Timer. Built in values are
4096 Hz, 60 Hz, 1 Hz and 1/60 Hz.
bool setCountdownTimerClockTicks(uint16_t clockTicks); - Sets the number of clock ticks to count for the Countdown Timer. Refer to the
Example 4B - Countdown Interrupt overview in the next section of this guide for more information on calculating the number of clock ticks for your
timer.
bool getCountdownTimerEnable(); - Returns whether or not the Countdown Timer is enabled or disabled.
uint8_t getCountdownTimerFrequency(); - Returns the frequency set for the Countdown Timer.
uint16_t getCountdownTimerClockTicks(); - Returns the number of clock ticks set for the Countdown Timer.
Periodic Interrupt
bool setPeriodicTimeUpdateFrequency(bool timeUpdateFrequency); - Sets the frequency of the Periodic Time Update interrupt function. Can be
1 Hz (one second) or 1/60 Hz (one minute).
bool getPeriodicTimeUpdateFrequency(); - Returns the time set for the Periodic Time Update interrupt frequency.
Alarm Interrupt
void setItemsToMatchForAlarm(bool minuteAlarm, bool hourAlarm, bool dateAlarm, bool weekdayOrDate); - Function to select which time
values need to match to trigger an alarm. Can be set to minutes, hours, date or weekday+date. Setting the bit to 1 means the RTC will not look to
match that item for an alarm.
bool setAlarmMinute(uint8_t minute); - Set the minute value for the RTC to match to trigger an alarm.
bool setAlarmHour(uint8_t hour); - Set the hour value for the RTC to match to trigger an alarm.
bool setAlarmWeekday(uint8_t weekday); - Set the weekday value for the RTC to match to trigger an alarm.
bool setAlarmDate(uint8_t date); - Set the date value for the RTC to match to trigger an alarm.
uint8_t getAlarmMinute(); - Returns the minute value set for the RTC to match for an alarm.
uint8_t getAlarmHour(); - Returns the hour value set for the RTC to match for an alarm.
uint8_t getAlarmWeekday(); - Returns the weekday value set for the RTC to match for an alarm.
uint8_t getAlarmDate(); - Returns the date value set for the RTC to match for an alarm.
Configuring the Clock Out ( CLKOUT ) pin
These two functions are for enabling and configuring the Clock Out pin. Use these with the setCalibrationOffset(); and getCalibrationOffset();
functions to fine tune your RTC. Refer to Example 6 - Fine Tuning in the next section of this guide for more information.
bool setClockOutTimerFrequency(uint8_t clockOutTimerFrequency); - Sets the frequency of the square wave output from the Clock Out pin.
Available frequencies are 1Hz, 1024Hz and 32,768 Hz.
uint8_t getClockOutTimerFrequency(); - Returns the frequency set for the Clock Out.