English
Language : 

PT7C4337 Datasheet, PDF (12/25 Pages) List of Unclassifed Manufacturers – Real-time Clock Module (I2C Bus)
Data Sheet
PT7C4337
Real-time Clock Module (I2C Bus)
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Alarm Function
Related register
Addr.
(hex)
Function
00 Seconds
01 Minutes
02 Hours
03 Days of the week
Register definition
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
0
S40
S20
S10
S8
S4
0
M40
M20
M10
M8
M4
H20 or
0
12, /24
H10
H8
H4
A, /P
0
0
0
0
0
W4
Bit 1
S2
M2
H2
W2
Bit 0
S1
M1
H1
W1
04 Dates
0
0
D20
D10
D8
D4
D2
D1
07 Alarm 1: Seconds
A1M1
S40
S20
S10
S8
S4
S2
S1
08 Alarm 1: Minutes
09 Alarm 1: Hours
0A Alarm 1: Day, Date
0B Alarm 2: Minutes
0C Alarm 2: Hours
0D Alarm 2: Day, Date
0E Control
A1M2 M40
M20
M10
H20 or
A1M3 12, /24
H10
A, /P
Day,
0,
0,
A1M4
/Date
D20
D10
A2M2 M40
M20
M10
H20 or
A2M3 12, /24
H10
A, /P
Day,
0,
0,
A2M4
/Date
D20
D10
/ETIME
0
0
RS2
M8
M4
H8
H4
0,
W4,
D8
D4
M8
M4
H8
H4
0,
W4,
D8
D4
RS1 INTCN
0F Status
OSF
0
0
0
0
0
Note: Alarm function does not support different hour system adopted in time and alarm register.
M2
H2
W2,
D2
M2
H2
W2,
D2
A2IE
A2F
M1
H1
W1,
D1
M1
H1
W1,
D1
A1IE
A1F
The PT7C4337 contains two time-of-day/date alarms. The alarms can be programmed (by the INTCN bit of the control register)
to operate in two different modes - each alarm can drive its own separate interrupt output or both alarms can drive a common
interrupt output. Bit 7 of each of the time-of-day/date alarm registers are mask bits.
When all of the mask bits for each alarm are logic 0, an alarm only occurs when the values in the timekeeping registers 00h ~ 04h
match the values stored in the time-of-day/date alarm registers. The alarms can also be programmed to repeat every second,
minute, hour, day, or date. Table 2 and Table 3 shows the possible settings.
The Day, /Date bits (bit 6 of the alarm day/date registers) control whether the alarm value stored in bits 0 ~ 5 of that register
reflects the day of the week or the date of the month. If the bit is written to logic 0, the alarm is the result of a match with date of
the month. If the bit is written to logic 1, the alarm is the result of a match with day of the week.
When the PT7C4337 register values match alarm register settings, the corresponding alarm flag (A1F or A2F) bit is set to logic 1.
If the corresponding alarm interrupt enable (A1IE or A2IE) is also set to logic 1, the alarm condition activates one of the interrupt
output (INTA or SQW/INTB) signals. The match is tested on the once-per-second update of the time and date registers.
PT0205(02/07)
12
Ver: 1