
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
Serial Data Link Module SDLM
User’s Manual
22-9
V2.2, 2004-01
SDLM_X, V2.0
22.2.3
Interrupt Handling
The SDLM module can generate the interrupts on the following events:
•
Protocol related interrupt conditions (combined to interrupt SDLM_I0):
– End of frame detected
– Break received
– Arbitration lost
– CRC error detected
– Error detected
•
Data receive/transmit interrupt conditions (combined to interrupt SDLM_I1):
– Message transmitted
– Message received
– Header received
Figure 22-6
Interrupt Structure of SDLM
SHORTH
1
Bus Shorted High
SHORTL
Bus Shorted Low
COL
Collision Detected
FORMAT
Format Error
CRCER
CRC Error
ARL
Arbitration Lost
BREAK
Break Received
ENDF
End of Frame
HEADER
Header Received
MSGREC
Message Received
MSGTRA
Message Transmitted
ERRIE
CRCIE
SDLM_I0
Interrupt Request Flags
ARLIE
BRKIE
ENDFIE
HDIE
RECIE
TRAIE
1
Reset by
ERRST
ARLRST
BRKRST
BUSRST
RXRST
TXRST
SDLM_I1
1