ROHS MC9S08QE128 Reference Manual page 75

Table of Contents

Advertisement

4.6.2.5
Flash Status Register (FSTAT)
The FSTAT register defines the operational status of the flash module.
FCCF, FPVIOL, and FACCERR are readable and writable, FCCF and FBLANK are readable and not
7
R
FCBEF
W
Reset
1
writable, remaining bits read 0 and are not writable.
Field
7
Flash Command Buffer Empty Flag — The FCBEF flag indicates that the command buffer is empty so that a
FCBEF
new command write sequence can be started when performing burst programming. Writing a 0 to the FCBEF
flag has no effect on FCBEF. Writing a 0 to FCBEF after writing an aligned address to the flash array memory,
but before FCBEF is cleared, will abort a command write sequence and cause the FACCERR flag to be set.
Writing a 0 to FCBEF outside of a command write sequence will not set the FACCERR flag. The FCBEF flag is
cleared by writing a 1 to FCBEF.
0 Command buffers are full.
1 Command buffers are ready to accept a new command.
6
Flash Command Complete Interrupt Flag — The FCCF flag indicates that there are no more commands
FCCF
pending. The FCCF flag is cleared when FCBEF is cleared and sets automatically upon completion of all active
and pending commands. The FCCF flag does not set when an active program command completes and a
pending burst program command is fetched from the command buffer. Writing to the FCCF flag has no effect on
FCCF.
0 Command in progress.
1 All commands are completed.
5
Flash Protection Violation Flag —The FPVIOL flag indicates an attempt was made to program or erase an
FPVIOL
address in a protected area of the flash memory or flash IFR during a command write sequence. Writing a 0 to
the FPVIOL flag has no effect on FPVIOL. The FPVIOL flag is cleared by writing a 1 to FPVIOL. While FPVIOL
is set, it is not possible to launch a command or start a command write sequence.
0 No protection violation detected.
1 Protection violation has occurred.
Freescale Semiconductor
6
5
FCCF
FPVIOL
1
0
= Unimplemented or Reserved
Figure 4-14. Flash Status Register (FSTAT)
Table 4-19. FSTAT Field Descriptions
MC9S08QE128 MCU Series Reference Manual, Rev. 2
4
3
0
FACCERR
0
0
Description
Chapter 4 Memory
2
1
FBLANK
0
0
0
0
0
0
75

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for ROHS MC9S08QE128

This manual is also suitable for:

Mc9s08qe96Mc9s08qe64

Table of Contents