Second/Minute/Hour Registers - Fujitsu MB90390 Series Hardware Manual

Table of Contents

Advertisement

15.2.3

Second/Minute/Hour Registers

The Second/Minute/Hour registers stores the time information. It is a binary
representation of the second, minute and hour.
Reading these registers simply returns the counter values. These registers are write
accessible however, the written data is loaded in the counters after the UPDT bit is set
to "1". These registers and counter are initialized by reset.
■ Second/Minute/Hour Registers
Figure 15.2-5 Configuration of the Second/Minute/Hour Registers
Second register
Address:
00354D
H
Initial value:
Hour Register/
Minute Register
Address:
00354E
H
00354F
H
Initial value:
R/W
:
Readable and writable
X
:
Undefined value
-
:
Undefined
Notes:
Since there are three byte-registers, make sure the obtained values from the registers are
consistent.
i.e. Obtained value of "1 hour, 59 minute, 59 second" could be "0 hour 59 minute, 59 second" or "1
hour, 0 minute, 0 second" or "2 hour, 0 minute, 0 second".
Also when the operation clock of the MCU is the half of the oscillation clock (When the PLL is
stopped), the read values from these registers may be corrupt. This is due to the synchronization of
the read operation and the count operation. Therefore it is recommended to use a second interrupt
to trigger the read instructions.
WTSR
bit
15
14
13
12
11
-
-
S5
S4
S3
-
-
R/W
R/W
R/W R/W R/W
X
X
X
X
X
WTHR
15
14
13
12
11
bit
-
-
-
H4
H3
-
-
-
R/W
R/W R/W
X
X
X
X
X
10
9
8
S2
S1
S0
R/W
X
X
X
10
9
8
7
6
H0
H2
H1
-
-
R/W
R/W
-
-
X
X
X
X
X
CHAPTER 15 WATCH TIMER
WTMR
5
4
3
2
1
M5
M4
M3
M2
M1
R/W
R/W
R/W
R/W
R/W
R/W
X
X
X
X
X
0
M0
X
245

Advertisement

Table of Contents
loading

Table of Contents