Torwards
AT8563
These bits represent the current day value coded in BCD format; value = 01 to
31.
AT8563 compensates for leap years by adding a 29th day to February if the year
counter contains a value which is exactly divisible by 4, including the year ‘00’.
b5..0 <days>
Table 14 Weekdays register bits description
Description
06H
Symbol
b7..3
-
not implemented
These bits represent the current weekday value 0 to 6, whose
meaning is customized by users. However, we recommend a way
to specify the weekday number, see Table 15.
These bits may be re-assigned by the user.
b2..0 <weekdays>
Table 15 Suggested Weekday assignments
Day
Bit 2 Bit 1 Bit 0
Sunday
Monday
0
0
0
0
1
1
1
0
0
1
1
0
0
1
0
1
0
1
0
1
0
Tuesday
Wednesday
Thursday
Friday
Saturday
Table 16 Months/Century register bits description
07H
Symbol
Description
Century bit. C = 0; indicates the century is 20xx.
C = 1; indicates the century is 19xx. ‘xx’ indicates the value held in the
Years register; see Table 18.
This bit is toggled when the Years register overflows from 99 to 00.
These bits may be re-assigned by the user
b7
C
-
b6..5
not implemented
These bits represents the current month value coded in BCD format;
value = 01 to 12; see Table 17.
b4..0 <months>
Table 17 Month assignments
Month
Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
January
February
March
April
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
1
1
0
0
1
1
0
1
0
1
0
May
June
•
8
•
深圳市宏达科技有限公司 Mobile:13530382140 曾先生