English
Language : 

HD6475328-CP10 Datasheet, PDF (254/459 Pages) Hitachi Semiconductor – original Hitachi CMOS microcomputer unit (MCU)
Bit 2
CKS2
0
0
0
0
1
1
1
1
Bit 1
CKS1
0
0
1
1
0
0
1
1
Bit 0
CKS0
0
1
0
1
0
1
0
1
Clock Source
ø/2
ø/32
ø/64
ø/128
ø/256
ø/512
ø/2048
ø/4096
Description
Overflow Interval (ø = 10MHz)
51.2µs (Initial value)
819.2µs
1.6ms
3.3ms
6.6ms
13.1ms
52.4ms
104.9ms
13.2.3 Notes on Register Access
The watchdog timer’s TCNT and TCSR registers differ from other registers in being more difficult
to write. The procedures for writing and reading these registers are given below.
1. Writing to TCNT and TCSR: These registers must be written by word access. Programs
cannot write to them by byte access. The word must contain the write data and a password.
The watchdog timer’s TCNT and TCSR registers both have the same write address. The write
data must be contained in the lower byte of the word written at this address. The upper byte
must contain H'5A (password for TCNT) or H'A5 (password for TCSR). See figure 13-2.
The result of the access depicted in figure 13-2 is to transfer the write data from the lower byte
to the TCNT or TCSR.
Write to TCNT
15
H'FFEC
H'5A
87
0
Write data
Write to TCSR
15
H'FFEC
H'A5
87
0
Write data
Figure 13-2 Writing to TCNT and TCSR
239