User manual
Pmod CAN Reference Manual
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Page 4 of 8
CANINTE 0x2B
Bit Name
Bit Number
Bit Description
Bit Values
Functional Description
MERRE
[7]
Message Error Interrupt Enable Bit
0¹
1-Interrupt on error during
message reception or
transmission/0-Disabled
WAKIE
[6]
Wake-up Interrupt Enable Bit
0¹
1-Interrupt on CAN bus
activity/0-Disabled
ERRIE
[5]
Error Interrupt Enable Bit
0¹
1-Interrupt on EFLG error
condition change/0-Disabled
TX2IE
[4]
Transmit Buffer 2 Empty Interrupt
Enable Bit
0¹
1-Interrupt on TXB2
becoming empty/0-Disabled
TX1IE
[3]
Transmit Buffer 1 Empty Interrupt
Enable Bit
0¹
1-Interrupt on TXB1
becoming empty/0-Disabled
TX0IE
[2]
Transmit Buffer 0 Empty Interrupt
Enable Bit
0¹
1-Interrupt on TXB0
becoming empty/0-Disabled
RX1IE
[1]
Receive Buffer 1 Full Interrupt
Enable Bit
0¹
1-Interrupt when message
received in RXB1/0-Disabled
RX0IE
[0]
Receive Buffer 0 Full Interrupt
Enable Bit
0¹
1-Interrupt when message
received in RXB0/0-Disabled
¹ – This is the default value on power-up or reset
2.2.2 CANINTF
The CANINTF register (page 51) holds the flags of all the interrupts that are enabled through the CANINTE register.
If an interrupt flag is set, it must be cleared by the system board to reset the interrupt condition.
CANINTF 0x2C
Bit Name
Bit Number
Bit Description
Bit
Values
Functional Description
MERRF
[7]
Message Error Interrupt Flag Bit
0¹
1-Interrupt pending/0-No
interrupt pending
WAKIF
[6]
Wake-up Interrupt Flag Bit
0¹
1-Interrupt pending/0-No
interrupt pending
ERRIF
[5]
Error Interrupt Flag Bit
0¹
1-Interrupt pending/0-No
interrupt pending
TX2IF
[4]
Transmit Buffer 2 Empty Interrupt
Flag Bit
0¹
1-Interrupt pending/0-No
interrupt pending
TX1IF
[3]
Transmit Buffer 1 Empty Interrupt
Flag Bit
0¹
1-Interrupt pending/0-No
interrupt pending
TX0IF
[2]
Transmit Buffer 0 Empty Interrupt
Flag Bit
0¹
1-Interrupt pending/0-No
interrupt pending
RX1IF
[1]
Receive Buffer 1 Full Interrupt Flag
Bit
0¹
1-Interrupt pending/0-No
interrupt pending
RX0IF
[0]
Receive Buffer 0 Full Interrupt Flag
Bit
0¹
1-Interrupt pending/0-No
interrupt pending
¹ – This is the default value on power-up or reset
2.2.3 CANSTAT
The CANSTAT register (page 54) provides the status of the CAN controller and the source of the interrupt flag.








