English
Language : 

M16C6K7 Datasheet, PDF (280/285 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Rev.1.0
Standard Serial I/O Mode
Mitsubishi microcomputers
M16C / 6K7 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Status register
Status register indicates if the operation to the flash memory ends successfully or in error. It can be read by
issuing the read status register command (7016). The status register can be cleared by issuing the clear
status register command (5016).
Table EE-3 shows the definition of each bit of the register.
After reset, status register outputs “8016”.
Table EE-3 Status register (SRD)
Symbol
SR7 (D7)
SR6 (D6)
SR5 (D5)
SR4 (D4)
SR3 (D3)
SR2 (D2)
SR1 (D1)
SR0 (D0)
Status
Sequencer status
Reserved
Erase status
Program status
Reserved
Reserved
Reserved
Reserved
Definition
"1"
"0"
Ready
Busy
-
-
Terminated in error Terminated normally
Terminated in error Terminated normally
-
-
-
-
-
-
-
-
Sequencer status (SR7)
After power-on, the sequencer status is set to “1” (ready).
The bit is set to “0” (busy) during program and erase operations and is set to “1” upon the completion of these
operations.
Erase status (SR5)
Erase status indicates the status of erase operation. When erase error occurs, it is set to “1”.
The bit becomes “0” when it is cleared.
Program status (SR4)
Program status indicates the status of program operation. When program error occurs, it is set to “1”.
The bit becomes “0” when it is cleared.
279