Download MPC555 Interrupts

Transcript
Table 27 QSMCM Interrupt Sources
Source
Level Setting
Enable Control
Status Decoding
SPCR2[SPIFIE]
SPSR[SPIF]
SPCR3[HMIE]
SPSR[MODF]
SPI mode fault flag due to SS
being asserted by external
device when in master mode.
HALTA
SPCR3[HMIE]
SPSR[HALTA]
Halt acknowledge flag in
response to halt bit being set for
the SPI function.
TI1
SCC1R1[TIE]
SC1SR[TDRE]
Transmit data register is empty
interrupt. Signal that more data
can be setup to be sent.
TCI1
SCC1R1[TCIE]
SC1SR[TC]
Transmit complete interrupt
(when the final serial bit is shifted
out)
SPIF
MODF
QSPI_IL[ILQSPI]
Function Notes
SPI has reached the end of
queue marker
RI1
SCC1R1[RIE]
SC1SR[RDRF]
Receive data register full
interrupt. Thus data ready to be
read, receive errors are also set
at this point but do not cause an
interrupt
ILI1
SCC1R1[ILIE]
SC1SR[IDLE]
Idle line (short or long) is
detected
SCC2R1[TIE]
SC2SR[TDRE]
Transmit data register is empty
interrupt. Signal that more data
can be setup to be sent.
SCC2R1[TCIE]
SC2SR[TC]
Transmit complete interrupt
(when the final serial bit is shifted
out)
TI2
TCI2
QDSCI_IL[ILSCI1]
RI2
SCC2R1[RIE]
SC2SR[RDRF]
Receive data register full
interrupt. Thus data ready to be
read, receive errors are also set
at this point but do not cause an
interrupt
ILI2
SCC2R1[ILIE]
SC2SR[IDLE]
Idle line (short or long) is
detected
QTHF
QSCI1CR[QTHFI]
QSCI1SR[QTHF]
SCI1 Receive queue top-half full
QBHF
QSCI1CR[QBHFI]
QSCI1SR[QBHF]
SCI1 Receive queue bottom-half
full
QTHE
QSCI1CR[QTHEI]
QSCI1SR[QTHE]
SCI1 Transmitter queue top-half
is empty
QBHE
QSCI1CR[QBHEI]
QSCI1SR[QBHE]
SCI1 Transmitter queue bottomhalf is empty
In total, there are 125 separate interrupt sources with 16 individual levels presented by the USIU module. There are 32 possible by the UIMB3 module.
MPC555 Interrupts
Rev. 0, 26 July 2001
MOTOROLA
51