Download Print this page

Renesas M16C/50 Series User Manual page 719

Advertisement

M16C/5L Group, M16C/56 Group
26.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 26.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 26.17 Read Status Register Command
26.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 26.18 Clear Status Register Command
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
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
26. Flash Memory
Page 682 of 803

Advertisement

loading