libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
CAN Interrupt Status Register

CAN Interrupt Status Register bit definitions. More...

Collaboration diagram for CAN Interrupt Status Register:

Macros

#define CAN_ISR_DOI   BIT24
 DOI: Data Overflow Interrupt. More...
 
#define CAN_ISR_BEI   BIT25
 BEI: Bus Error Interrupt. More...
 
#define CAN_ISR_TI   BIT26
 TI: Transmit Interrupt. More...
 
#define CAN_ISR_RI   BIT27
 RI: Receive Interrupt. More...
 
#define CAN_ISR_EPI   BIT28
 EPI: Error Passive Interrupt. More...
 
#define CAN_ISR_EWI   BIT29
 EWI: Error Warning Interrupt. More...
 
#define CAN_ISR_ALI   BIT30
 ALI: Arbitration Lost Interrupt. More...
 
#define CAN_ISR_ACKNOWLEDGE(can_base, isr)   CAN_ISR_SR_CMR_MR_SET(can_base, ((isr) & 0x7F000000))
 This is a helper to acknowledge an ISR. More...
 

Detailed Description

CAN Interrupt Status Register bit definitions.

Macro Definition Documentation

◆ CAN_ISR_ACKNOWLEDGE

#define CAN_ISR_ACKNOWLEDGE (   can_base,
  isr 
)    CAN_ISR_SR_CMR_MR_SET(can_base, ((isr) & 0x7F000000))

This is a helper to acknowledge an ISR.

Definition at line 156 of file can.h.

◆ CAN_ISR_ALI

#define CAN_ISR_ALI   BIT30

ALI: Arbitration Lost Interrupt.

Definition at line 154 of file can.h.

◆ CAN_ISR_BEI

#define CAN_ISR_BEI   BIT25

BEI: Bus Error Interrupt.

Definition at line 144 of file can.h.

◆ CAN_ISR_DOI

#define CAN_ISR_DOI   BIT24

DOI: Data Overflow Interrupt.

Definition at line 142 of file can.h.

◆ CAN_ISR_EPI

#define CAN_ISR_EPI   BIT28

EPI: Error Passive Interrupt.

Definition at line 150 of file can.h.

◆ CAN_ISR_EWI

#define CAN_ISR_EWI   BIT29

EWI: Error Warning Interrupt.

Definition at line 152 of file can.h.

◆ CAN_ISR_RI

#define CAN_ISR_RI   BIT27

RI: Receive Interrupt.

Definition at line 148 of file can.h.

◆ CAN_ISR_TI

#define CAN_ISR_TI   BIT26

TI: Transmit Interrupt.

Definition at line 146 of file can.h.