Micro Crystal
Ultra Small Real-Time Clock Module with SPI-Bus Interface
RV-8063-C7
October 2018
14/58
Rev. 1.1
TIME AND DATE REGISTERS
3.3.
04h - Seconds
This register holds the count of seconds, in two binary coded decimal (BCD) digits. Values will be from 00 to 59.
Address
Function
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
04h
Seconds
OS
40
20
10
8
4
2
1
Reset
1
0
0
0
0
0
0
0
Bit
Symbol
Value
Description
7
OS
Oscillator Stop (see OSCILLATOR STOP FLAG)
0
Clock integrity is guaranteed.
1
Clock integrity is not guaranteed; oscillator has stopped or has been
interrupted.
– Default value
6:0
Seconds
00 to 59
Holds the count of seconds, coded in BCD format.
05h - Minutes
This register holds the count of minutes, in two binary coded decimal (BCD) digits. Values will be from 00 to 59.
Address
Function
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
05h
Minutes
X
40
20
10
8
4
2
1
Reset
0
0
0
0
0
0
0
0
Bit
Symbol
Value
Description
7
X
0
Unused
6:0
Minutes
00 to 59
Holds the count of minutes, coded in BCD format.
06h
– Hours
This register holds the count of hours, in two binary coded decimal (BCD) digits. If the 12_24 bit is cleared (default)
(see CONTROL REGISTERS, 00h - Control1) the values will be from 0 to 23. If the 12_24 bit is set, the hour
values will range from 1 to 12 and the AMPM bit will be 0 for AM hours and 1 for PM hours.
Address
Function
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
06h
Hours (24 hour mode)
– default value
X
X
20
10
8
4
2
1
Hours (12 hour mode)
AMPM
10
8
4
2
1
Reset
0
0
0
0
0
0
0
0
Hours (24 hour mode), 12_24 = 0
– default value
Bit
Symbol
Value
Description
7:6
X
0
Unused
5:0
Hours (24 hour mode)
– default value
0 to 23
Holds the count of hours, coded in BCD format.
Hours (12 hour mode), 12_24 = 1
Bit
Symbol
Value
Description
7:6
X
0
Unused
5
AMPM
0
AM hours.
1
PM hours.
4:0
Hours (12 hour mode)
1 to 12
Holds the count of hours, coded in BCD format.