![Freescale Semiconductor MPC5632M Manual Download Page 708](http://html.mh-extra.com/html/freescale-semiconductor/mpc5632m/mpc5632m_manual_2330659708.webp)
MPC563XM Reference Manual, Rev. 1
708
Freescale Semiconductor
Preliminary—Subject to Change Without Notice
will be cleared only if such an event occur and no
set
event occurs at the same time. That behavior is
summarized in
.
Each flag source has its respective overrun bit. It is asserted whenever the respective flag is already high
and a new flag
set
event occurs, unless a simultaneous flag
clear
). The
only way to clear the overrun bit is writing to the correspondent Overrun Clear bit (see
one of these conditions:
•
FLAG is off (row B of
•
no simultaneous
set
);
•
simultaneous
clear
FLAG event occurs (row D of
That behavior is summarized in
Below are pictured some examples of the flag, flag overrun and respective clear signals behavior.
describes the general behavior of a flag set event followed by a flag clear event. In this case
the flag overrun bit is not shown since this bit remains cleared.
Figure 22-78. FLAG Set and Clear
Table 22-23. FLAG Truth Table
set
event
clear
event
FLAG register
(current cycle)
FLAG register
(next cycle)
1
x
x
1
0
1
x
0
0
0
Q
Q
Table 22-24. Flag OVERRUN Truth Table
FLAG register
Flag
set
event
Flag
clear
event
Overrun
clear
event
Flag OVERRUN
register (current
cycle)
Flag OVERRUN
register
(next cycle)
A
1
1
0
x
x
1
B
0
x
x
1
x
0
C
x
0
x
1
x
0
D
x
x
1
1
x
0
E
0
x
x
0
Q
Q
F
x
0
x
0
Q
Q
G
x
x
1
0
Q
Q
clk
flag_set_event
flag_reg
flag_clr_event