Interrupt Control; Table 3.1 List Of Interrupt Factors - Toshiba TXZ+ Series Reference Manual

Hide thumbs Also See for TXZ+ Series:
Table of Contents

Advertisement

Interrupt Control

The CAN controller has the following interrupt factors. And these interrupt factors are divided into three groups
and each group has one interrupt output.
CANx transmission completion interrupt (INTCANxTXD)
It occurs at the completion of transmission.
CANx reception completion interrupt (INTCANxRXD)
It occurs at the completion of reception.
CANx global interrupt (INTCANxGLB)
It occurs by eight factors other than those above.
Transmit interrupt
Receive interrupt
Warning level interrupt
Error passive interrupt
Bus off interrupt
Time stamp overflow interrupt
Transmit abort interrupt
Receive message lost interrupt
Wake-up interrupt
Remote frame receive interrupt
For mailbox interrupts, there are two interrupt output lines separated from global interrupts. These are the mailbox
reception completion interrupt (INTCANxRXD) and the mailbox transmission completion interrupt
(INTCANxTXD), which are dependent on mailbox settings.
There are two interrupt flag registers and one interrupt mask register. One interrupt flag register is for the mailbox
receive interrupt flag register [CANxMBRIF] and one for the mailbox transmission interrupt flag register
[CANxMBTIF]. In addition, there is the mailbox interrupt mask register [CANxMBIM] for setting whether to
enable or disable each mailbox interrupt. The [CANxMBIM] register is used both for transmission and receive
mailboxes.
Figure 3.5 shows the block diagram of CAN interrupt signal.

Table 3.1 List of Interrupt factors

Factors
A message has been transmitted successfully.
A message has been received successfully.
At least one of the two error counters is greater than or
equal to 97.
CANx enters the error passive mode.
CANx enters the bus off mode.
-
-
-
After wake-up from sleep mode, this interrupt will be
generated.
-
18 / 52
TXZ+ Family
CAN Controller
Group
INTCANxTXD
INTCANxRXD
INTCANxGLB
2020-10-01
Rev. 1.0

Advertisement

Table of Contents
loading

Table of Contents