|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PT0322(08/09)
Ver: 2
7
Data Sheet
PT7C4311
Real-time Clock Module (I
2C Bus)
3.
Time Counter
Time digit display (in BCD code):
Second digits: Range from 00 to 59 and carried to minute digits when incremented from 59 to 00.
Minute digits: Range from 00 to 59 and carried to hour digits when incremented from 59 to 00.
Hour digits: See description on the /12, 24 bit. Carried to day and day-of-the-week digits when incremented from 11 p.m. to
12 a.m. or 23 to 00.
Addr.
(hex)
Description
D7
D6
D5
D4
D3
D2
D1
D0
Seconds
ST
S40
S20
S10
S8
S4
S2
S1
00
(default)
0
Undefined Undefined Undefined Undefined Undefined Undefined Undefined
Minutes
×*2
M40
M20
M10
M8
M4
M2
M1
01
(default)
0
Undefined Undefined Undefined Undefined Undefined Undefined Undefined
Hours
CEB*3
CB*3
H20
H10
H8
H4
H2
H1
02
(default)
0
Undefined Undefined Undefined Undefined Undefined Undefined
* Note 1: ST bit: Stop oscillation and time count chain.
* Note 2: Do not care.
* Note 3: Century Enable Bit and Century Bit.
4.
Days of the week Counter
The day counter is a divide-by-7 counter that counts from 01 to 07 and up 07 before starting again from 01. Values that
correspond to the day of week are user defined but must be sequential (i.e., if 1 equals Sunday, then 2 equals Monday, and so on).
Illogical time and date entries result in undefined operation.
Addr.
(hex)
Description
D7
D6
D5
D4
D3
D2
D1
D0
Days of the week
×
W4
W2
W1
03
(default)
Undefined Undefined Undefined
Undefined
Undefined Undefined Undefined Undefined
5.
Calendar Counter
The data format is BCD format.
Day digits: Range from 1 to 31 (for January, March, May, July, August, October and December).
Range from 1 to 30 (for April, June, September and November).
Range from 1 to 29 (for February in leap years).
Range from 1 to 28 (for February in ordinary years).
Carried to month digits when cycled to 1.
Month digits: Range from 1 to 12 and carried to year digits when cycled to 1.
Year digits: Range from 00 to 99 and 00, 04, 08, … , 92 and 96 are counted as leap years.
Addr.
(hex)
Description
D7
D6
D5
D4
D3
D2
D1
D0
Dates (01-31)
×
D20
D10
D8
D4
D2
D1
04
(default)
Undefined Undefined Undefined Undefined Undefined Undefined Undefined Undefined
Months (01-12)
×
M10
M8
M4
M2
M1
05
(default)
Undefined Undefined Undefined Undefined Undefined Undefined Undefined Undefined
Years (00-99)
Y80
Y40
Y20
Y10
Y8
Y4
Y2
Y1
06
(default)
Undefined Undefined Undefined Undefined Undefined Undefined Undefined Undefined