Preliminary
Registers
www.ti.com
15.3.7 Day of the Week Register (WEEKS_REG)
The WEEKS_REG is used to program the day of the week value of the current date. The day of the
week is stored as BCD format. In BCD format, the decimal numbers 0 through 9 are encoded with their
binary equivalent.
NOTE:
Sunday is treated as 0, Monday 1, and ending at Saturday with 6.
Figure 15-12. Day of the Week Register (WEEKS_REG)
31
16
Reserved
R-0
15
3
2
0
Reserved
WEEK
R-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 15-11. Day of the Week (WEEKS_REG) Field Descriptions
Bit
Field
Value
Description
31-3
Reserved
0
Reserved
2-0
WEEK
0-6h
1st digit of days in a week, Range from 0 (Sunday) to 6 (Saturday)
15.3.8 Alarm Second Register (ALARM_SECONDS_REG)
The ALARM_SECONDS_REG is used to program the second value for the alarm interrupt. Seconds
are stored as BCD format. In BCD format, the decimal numbers 0 through 9 are encoded with their
binary equivalent.
Figure 15-13. Alarm Second Register (ALARM_SECONDS_REG)
31
16
Reserved
R-0
15
7
6
4
3
0
Reserved
ALARMSEC1
ALARMSEC0
R-0
R/W-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 15-12. Alarm Second Register (ALARM_SECONDS_REG) Field Descriptions
Bit
Field
Value
Description
31-7
Reserved
0
Reserved
6-4
ALARMSEC1
0-5h
2nd digit of seconds, Range is 0 to 5
3-0
ALARMSEC0
0-9h
1st digit of seconds, Range is 0 to 9
1548
Real-Time Clock (RTC)
SPRUGX9 – 15 April 2011
© 2011, Texas Instruments Incorporated
Содержание TMS320C6A816 Series
Страница 2: ...Preliminary 2 SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 92: ...92 Read This First SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1122: ...1122 Multichannel Audio Serial Port McASP SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1562: ...1562 Real Time Clock RTC SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1658: ...1658 Timers SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1750: ...1750 UART IrDA CIR Module SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1984: ...1984 Universal Serial Bus USB SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...