English
Language : 

SH7032 Datasheet, PDF (152/687 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
Section 8 Bus State Controller (BSC)
8.2.11 Notes on Register Access
RCR, RTCSR, RTCNT, and RTCOR differ from other registers in being more difficult to write.
Data requires a password when it is written. This prevents data from being mistakenly overwritten
by program overruns and so on.
Writing to RCR, RTCSR, RTCNT, and RTCOR: Use only word transfer instructions. It is not
possible to write with byte transfer instructions. As figure 8.2 shows, when writing to RCR, place
H'5A in the upper byte and the write data in the lower byte. When writing to RTCSR, place H'A5
in the upper byte and the write data in the lower byte. When writing to RTCNT, place H'69 in the
upper byte and the write data in the lower byte. When writing to RTCOR, place H'96 in the upper
byte and the write data in the lower byte. These transfers write data in the lower byte of the
respective registers. If the upper byte differs from the above passwords, no writing occurs.
15
RCR
15
RTCSR
15
RTCNT
15
RTCOR
H'5A
H'A5
H'69
H'96
87
0
Write data
87
0
Write data
87
0
Write data
87
0
Write data
Figure 8.2 Writing to RCR, RTCSR, RTCNT, and RTCOR
Reading from RCR, RTCSR, RTCNT, and RTCOR: These registers are read like other
registers. They can be read by byte and word transfer instructions. If read by word transfer, the
value of the upper eight bits is H'00.
Rev. 7.00 Jan 31, 2006 page 126 of 658
REJ09B0272-0700