Preliminary
www.ti.com
Registers
15.3.5 Month Register (MONTHS_REG)
The MONTHS_REG is used to set the month in the year value of the current date. Months are stored
as BCD format. In BCD format, the decimal numbers 0 through 9 are encoded with their binary
equivalent.
NOTE:
Usual notation is taken for month value:
•
01 => January
•
02 => February
•
...
•
12 => December
Figure 15-10. Month Register (MONTHS_REG)
31
16
Reserved
R-0
15
5
4
3
0
Reserved
MONTH1
MONTH0
R-0
R/W-0
R/W-1
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 15-9. Month Register (MONTHS_REG) Field Descriptions
Bit
Field
Value
Description
31-5
Reserved
0
Reserved
4
MONTH1
0-1h
2nd digit of months, Range is 0 to 1
3-0
MONTH0
0-9h
1st digit of months, Range is 0 to 9
15.3.6 Year Register (YEARS_REG)
The YEARS_REG is used to program the year value of the current date. The year value is represented
by only the last 2 digits and is stored as BCD format. In BCD format, the decimal numbers 0 through 9
are encoded with their binary equivalent. The year 1979 is programmed as 79 with YEAR0 set as 9 and
YEAR1 set as 7.
Figure 15-11. Year Register (YEARS_REG)
31
16
Reserved
R-0
15
8
7
4
3
0
Reserved
YEAR1
YEAR0
R-0
R/W-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 15-10. Year Register (YEARS_REG) Field Descriptions
Bit
Field
Value
Description
31-8
Reserved
0
Reserved
7-4
YEAR1
0-9h
2nd digit of years, Range is 0 to 9
3-0
YEAR0
0-9h
1st digit of years, Range is 0 to 9
1547
SPRUGX9 – 15 April 2011
Real-Time Clock (RTC)
© 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...