Real time clock module, Rtc functionality – Digi NS9215 User Manual

Page 459

Advertising
background image

459

Real Time Clock Module

C

H

A

P

T

E

R

1

4

T

he Real Time Clock (RTC) module tracks the time of the day to an accuracy of

10 milliseconds and provides calendar functionality that tracks day, month, and
year.

RTC functionality

RTC monitors these time periods:

Year from 1900-2999

Month from 1-12

Date from 1-28, 29, 30, or 31, as a function of year and month

Day of week from 1-7

Hour from 0-23, or from 1-12 with the AM/PM flag set

Minute from 0-59

Second from 0.00-59.99

RTC functionality also provides an alarm register that allows comparison of month,
date, hour, minute, second, and hundredth-second. Each item can be masked,
allowing an alarm to be generated at a particular time and date on a monthly basis.
An interrupt can be generated on the alarm event.

Event detection finds and generates interrupts on rollover conditions, including
rollovers into a new month, date, hour, minute, second, or hundredth-second.

Advertising