ADSP-BF50x Blackfin Processor Hardware Reference
17-23
CAN Module
Mailbox Interrupts
Each of the 32 mailboxes in the CAN module may generate a receive or
transmit interrupt, depending on the mailbox configuration. To enable a
mailbox to generate an interrupt, set the corresponding
MBIMn
bit in
CAN_MBIMx
.
If a mailbox is configured as a receive mailbox, the corresponding receive
interrupt flag is set (
MBRIFn
=
1
in
CAN_MBRIFx
) after a received message is
stored in mailbox n (
RMPn
=
1
in
CAN_RMPx
). If the automatic remote frame
handling feature is used, the receive interrupt flag is set after the requested
data frame is stored in the mailbox. If any
MBRIFn
bits are set in
CAN_MBRIFx
, the
MBRIRQ
interrupt output is raised in
CAN_INTR
. In order to
clear the
MBRIRQ
interrupt request, all of the set
MBRIFn
bits must be
cleared by software by writing a 1 to those set bit locations in
CAN_MBRIFx
.
If a mailbox is configured as a transmit mailbox, the corresponding trans-
mit interrupt flag is set (
MBTIFn
=
1
in
CAN_MBTIFx
) after the message in
mailbox n is sent correctly (
TAn
=
1
in
CAN_TAx
). The
TAn
bits maintain
state even after the corresponding mailbox n is disabled (
MCn
= 0). If the
automatic remote frame handling feature is used, the transmit interrupt
flag is set after the requested data frame is sent from the mailbox. If any
MBTIFn
bits are set in
CAN_MBTIFx
, the
MBTIRQ
interrupt output is raised in
CAN_INTR
. In order to clear the
MBTIRQ
interrupt request, all of the set
MBTIFn
bits must be cleared by software by writing a 1 to those set bit loca-
tions in
CAN_MBTIFx
.
Global CAN Status Interrupt
The global CAN status interrupt logic is implemented with three regis-
ters—the global CAN interrupt mask register (
CAN_GIM
), where each
interrupt source can be enabled or disabled separately; the global CAN
interrupt status register (
CAN_GIS
); and the global CAN interrupt flag reg-
ister (
CAN_GIF
). The interrupt mask bits only affect the content of the
global CAN interrupt flag register (
CAN_GIF
). If the mask bit is not set, the
corresponding flag bit is not set when the event occurs. The interrupt
Содержание EZ-KIT Lite ADSP-BF506F
Страница 50: ...Contents l ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 92: ...Development Tools 1 30 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 110: ...Interface Overview 3 12 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 132: ...Unique Information for the ADSP BF50x Processor 4 22 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 236: ...Internal Flash Memory Control Registers 6 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 342: ...Unique Information for the ADSP BF50x Processor 7 106 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 484: ...Unique Information for the ADSP BF50x Processor 10 60 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 493: ...ADSP BF50x Blackfin Processor Hardware Reference 11 9 Core Timer Unique Information for the ADSP BF50x Processor None ...
Страница 494: ...Unique Information for the ADSP BF50x Processor 11 10 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 506: ...Unique Information for the ADSP BF50x Processor 12 12 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 544: ...Unique Information for the ADSP BF50x Processor 13 38 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 650: ...Programming Examples 15 56 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 712: ...Unique Information for the ADSP BF50x Processor 16 62 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 804: ...Programming Examples 17 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 972: ...Unique Information for the ADSP BF50x Processor 20 38 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 1194: ...Programming Examples 24 90 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 1256: ...ACM Registers A 50 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 1264: ...Boundary Scan Architecture B 8 ADSP BF50x Blackfin Processor Hardware Reference ...