341
Writing to TCNT
15
8
7
0
Address:
H'5FFFFB8
H'5A
Write data
Writing to TCSR
15
8
7
0
Address:
H'5FFFFB8
H'A5
Write data
Figure 12.2 Writing to TCNT and TCSR
Writing to RSTCSR: RSTCSR must be written by a word access to address H'5FFFFFBA. It
cannot be written by byte transfer instructions. Procedures for writing 0 in WOVF (bit 7) and for
writing to RSTE (bit 6) and RSTS (bit 5) are different, as shown in figure 12.3. To write 0 in the
WOVF bit, the write data must be H'A5 in the upper byte and H'00 in the lower byte. This clears
the WOVF bit to 0. The RSTE and RSTS bits are not affected. To write to the RSTE and RSTS
bits, the upper byte must be H'5A and the lower byte must be the write data. The values of bits 6
and 5 of the lower byte are transferred to the RSTE and RSTS bits, respectively. The WOVF bit is
not affected.
Writing 0 to the WOVF bit
15
8
7
0
Address:
H'5FFFFBA
H'A5
H'00
Writing to the RSTE and RSTS bits
15
8
7
0
Address:
H'5FFFFBA
H'5A
Write data
Figure 12.3 Writing to RSTCSR
Reading from TCNT, TCSR, and RSTCSR: TCNT, TCSR, and RSTCSR are read like other
registers. Use byte transfer instructions. The read addresses are H'5FFFFB8 for TCSR,
H'5FFFFB9 for TCNT, and H'5FFFFBB for RSTCSR.
Summary of Contents for HD6417032
Page 21: ......
Page 35: ...xiv ...
Page 85: ...50 ...
Page 101: ...66 ...
Page 129: ...94 ...
Page 135: ...100 ...
Page 343: ...308 ...
Page 369: ...334 ...
Page 383: ...348 ...
Page 475: ...440 ...
Page 525: ...490 CK RAS CAS TRp TRc TRcc tRASD1 tRASD2 tCASD3 tCASD2 TRr tCSR Figure 20 18 Self Refresh ...
Page 578: ...543 CK RAS CAS TRp TRc TRcc tRASD1 tRASD2 tCASD3 tCASD2 TRr tCSR Figure 20 62 Self Refresh ...
Page 689: ...654 ...