R01UH0092EJ0110 Rev.1.10
Page 690 of 807
Jul 31, 2012
M16C/64C Group
30. Flash Memory
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
Write command code xx70h
to X address
Read X address
Start
Read status register
command completed
Write command code xx50h
to X address
Start
Clear status register
command completed
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...