|
MC9S12XD64MAA Datasheet, PDF (1046/1348 Pages) Freescale Semiconductor, Inc – ATD Input Enable Register 0 | |||
|
◁ |
Chapter 25 2 Kbyte EEPROM Module (S12XEETX2KV1)
Table 25-6. ESTAT Field Descriptions
Field
Description
7
CBEIF
6
CCIF
5
PVIOL
4
ACCERR
2
BLANK
1
FAIL
Command Buffer Empty Interrupt Flag â The CBEIF ï¬ag indicates that the address, data, and command
buffers are empty so that a new command write sequence can be started. The CBEIF ï¬ag is cleared by writing
a 1 to CBEIF. Writing a 0 to the CBEIF ï¬ag has no effect on CBEIF. Writing a 0 to CBEIF after writing an aligned
word to the EEPROM address space but before CBEIF is cleared will abort a command write sequence and
cause the ACCERR ï¬ag to be set. Writing a 0 to CBEIF outside of a command write sequence will not set the
ACCERR ï¬ag. The CBEIF ï¬ag is used together with the CBEIE bit in the ECNFG register to generate an interrupt
request (see Figure 25-24).
0 Buffers are full.
1 Buffers are ready to accept a new command.
Command Complete Interrupt Flag â The CCIF ï¬ag indicates that there are no more commands pending. The
CCIF ï¬ag is cleared when CBEIF is clear and sets automatically upon completion of all active and pending
commands. The CCIF ï¬ag does not set when an active commands completes and a pending command is
fetched from the command buffer. Writing to the CCIF ï¬ag has no effect on CCIF. The CCIF ï¬ag is used together
with the CCIE bit in the ECNFG register to generate an interrupt request (see Figure 25-24).
0 Command in progress.
1 All commands are completed.
Protection Violation Flag â The PVIOL ï¬ag indicates an attempt was made to program or erase an address
in a protected area of the EEPROM memory during a command write sequence. The PVIOL ï¬ag is cleared by
writing a 1 to PVIOL. Writing a 0 to the PVIOL ï¬ag has no effect on PVIOL. While PVIOL is set, it is not possible
to launch a command or start a command write sequence.
0 No failure.
1 A protection violation has occurred.
Access Error Flag â The ACCERR ï¬ag indicates an illegal access has occurred to the EEPROM memory
caused by either a violation of the command write sequence (see Section 25.4.1.2, âCommand Write
Sequenceâ), issuing an illegal EEPROM command (see Table 25-8), launching the sector erase abort command
terminating a sector erase operation early (see Section 25.4.2.5, âSector Erase Abort Commandâ) or the
execution of a CPU STOP instruction while a command is executing (CCIF = 0). The ACCERR ï¬ag is cleared by
writing a 1 to ACCERR. Writing a 0 to the ACCERR ï¬ag has no effect on ACCERR. While ACCERR is set, it is
not possible to launch a command or start a command write sequence. If ACCERR is set by an erase verify
operation, any buffered command will not launch.
0 No access error detected.
1 Access error has occurred.
Flag Indicating the Erase Verify Operation Status â When the CCIF ï¬ag is set after completion of an erase
verify command, the BLANK ï¬ag indicates the result of the erase verify operation. The BLANK ï¬ag is cleared by
the EEPROM module when CBEIF is cleared as part of a new valid command write sequence. Writing to the
BLANK ï¬ag has no effect on BLANK.
0 EEPROM block veriï¬ed as not erased.
1 EEPROM block veriï¬ed as erased.
Flag Indicating a Failed EEPROM Operation â The FAIL ï¬ag will set if the erase verify operation fails
(EEPROM block veriï¬ed as not erased). The FAIL ï¬ag is cleared by writing a 1 to FAIL. Writing a 0 to the FAIL
ï¬ag has no effect on FAIL.
0 EEPROM operation completed without error.
1 EEPROM operation failed.
1048
MC9S12XDP512 Data Sheet, Rev. 2.21
Freescale Semiconductor
|
▷ |