Renesas M16C/64C User Manual page 723

Table of Contents

Advertisement

M16C/64C Group
30.8.6.2
Read Status Register Command
The read status register command is used to read the status register.
By writing the command code xx70h in the first bus cycle, the status register can be read in the
second bus cycle. (Refer to 30.8.7 "Status Register"). To read the status register, read an even
address in program ROM 1, program ROM 2, or the data flash.
Do not execute this command in EW1 mode.
Figure 30.17 Read Status Register Command
30.8.6.3
Clear Status Register Command
The clear status register command is used to clear the status register.
By writing the command code xx50h, bits FMR07 and FMR06 in the FMR0 register (SR5 and SR4 in
the status register) become 00b.
Figure 30.18 Clear Status Register Command
R01UH0092EJ0110 Rev.1.10
Jul 31, 2012
Start
Write command code xx70h
to X address
Read X address
Read status register
command completed
Start
Write command code xx50h
to X address
Clear status register
command completed
30. Flash Memory
Page 690 of 807

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/60 seriesM16c series

Table of Contents