English
Language : 

DS80C390_00 Datasheet, PDF (86/155 Pages) Dallas Semiconductor – High-Speed Microcontroller User’s Guide Supplement
DS80C390 High-Speed Microcontroller User’s Guide Supplement
CAN 1 Interrupt Register (C1IR)
7
6
5
4
3
2
1
0
SFR E5h
R-0
R-0
R-0
R-0
R-0
R-0
R-0
R-0
R=Unrestricted Read, W=Unrestricted Write, -n=Value after Reset
C1IR.7-0
Bit 7-5
CAN 1 Interrupt Indicator 7-0 This register indicates the status of the
interrupt source associated with the CAN 1 module. Reading this register
after the generation of a CAN 1 Interrupt will identify the interrupt source as
shown in the table below. This register is cleared to 00h following a reset.
C1IR.7-0
00h
01h
02h
03h
04h
05h
06h
07h
08h
09h
0Ah
0Bh
0Ch
0Dh
0Eh
0Fh
10h
Priority
N/A
1 (highest)
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 (lowest)
Interrupt Source
No Pending Interrupt
Change in the CAN 1 Status Register
Message 15
Message 1
Message 2
Message 3
Message 4
Message 5
Message 6
Message 7
Message 8
Message 9
Message 10
Message 11
Message 12
Message 13
Message 14
The C1IR value will not change unless the previous interrupt source has been
acknowledged and removed (i.e., software read of the C1S register or clearing of
the appropriate INTRQ bit), even if the new interrupt has a higher priority. If two
enabled interrupt sources become active simultaneously, the interrupt of higher
priority will be reflected in the C1IR value.
The CAN 1 interrupt source into the interrupt logic is active whenever C1IR is not
equal to 00h. Changes in the C1IR value from 00h to a non-zero state, indicate the
first interrupt source detected by the CAN module following the non-active
interrupt state. The C1IR interrupt values displayed in C1IR will remain in place
until the respective interrupt source is removed, independent of other higher (or
lower) priority interrupts that become active prior to clearing the currently
displayed interrupt source.
When the current CAN interrupt source is cleared, C1IR will change to
reflect the next active interrupt with the highest priority. The Status Change
interrupt will be asserted if there has been a change in the CAN 1 Status
Register (if enabled by the appropriate ERIE and/or STIE bit) and the CAN
Status Interrupt state is set. A message center interrupt will be indicated if the
86 of 155