Time And Calendar Register Values; Register Descriptions - Texas Instruments OMAP5910 Technical Reference Manual

Dual-core
Hide thumbs Also See for OMAP5910:
Table of Contents

Advertisement

Real-Time Clock

7.13.1 Register Descriptions

Table 7–123. Time and Calendar Register Values
7.13.2 Register Access
7-170
All the time and calendar information is available in dedicated registers, which
are called time and calendar registers. Time and calendar register values are
written in binary coded decimal (BCD) code (see Table 7–123).
Time Unit
Range
Year
00 to 99
Month
01 to 12
Day
01 to 31
Week
00 to 06
Hour
00 to 23
Minutes
00 to 59
Seconds
00 to 59
There are three types of registers:
-
Time and calendar registers/alarm
-
General
-
Compensation
These three types have their own access constraints.
Access Period Violation
Disable all incoming interrupts during the register read processs
to prevent process interruption and possible violation of the
authorized 15-µs access period.
Remarks
Leap year: year divisible by 4
Common year: other year
01 to 31 for months 1, 3, 5, 7, 8, 10, 12
01 to 30 for months 4, 6, 9 ,11
01 to 29 for month 2 (leap year)
01 to 28 for month 2 (common year)
Weekday
00 to 23 in 24-hour mode
01 to 12 in AM/PM mode

Advertisement

Table of Contents
loading

Table of Contents