
STK17TA8
April 2005
Document Control #ML0025 rev 1.1
20
Register Map Detail
Timekeeping – Years
0x1FFFF
D7
D6
D5
D4
D3
D2
D1
D0
10s Years
Years
Contains the lower two BCD digits of the year. Lower nibble contains the value for years; upper
nibble contains the value for 10s of years. Each nibble operates from 0 to 9. The range for the
register is 0-99.
Timekeeping – Months
0x1FFFE
D7
D6
D5
D4
D3
D2
D1
D0
0
10s Month
Months
Contains the BCD digits of the month. Lower nibble contains the lower digit and operates from 0 to
9; upper nibble (one bit) contains the upper digit and operates from 0 to 1. The range for the
register is 1-12.
Timekeeping – Date
0x1FFFD
D7
D6
D5
D4
D3
D2
D1
D0
0
10s Day of month
Day of month
Contains the BCD digits for the date of the month. Lower nibble contains the lower digit and
operates from 0 to 9; upper nibble contains the upper digit and operates from 0 to 3. The range for
the register is 1-31. Leap years are automatically adjusted for.
Timekeeping – Day
0x1FFFC
D7
D6
D5
D4
D3
D2
D1
D0
0
Day of week
Lower nibble contains a value that correlates to day of the week. Day of the week is a ring counter
that counts from 1 to 7 then returns to 1. The user must assign meaning to the day value, as the
day is not integrated with the date.
Timekeeping – Hours
0x1FFFB
D7
D6
D5
D4
D3
D2
D1
D0
12/24
0
10s Hours
Hours
Contains the BCD value of hours in 24 hour format. Lower nibble contains the lower digit and
operates from 0 to 9; upper nibble (two bits) contains the upper digit and operates from 0 to 2. The
range for the register is 0-23.
Timekeeping – Minutes
0x1FFFA
D7
D6
D5
D4
D3
D2
D1
D0
0
10s Minutes
Minutes
Contains the BCD value of minutes. Lower nibble contains the lower digit and operates from 0 to 9;
upper nibble contains the upper minutes digit and operates from 0 to 5. The range for the register
is 0-59.
Timekeeping – Seconds
0x1FFF9
D7
D6
D5
D4
D3
D2
D1
D0
0
10s Seconds
Seconds
Contains the BCD value of seconds. Lower nibble contains the lower digit and operates from 0 to
9; upper nibble contains the upper digit and operates from 0 to 5. The range for the register is 0-
59.