CMSIS-Driver  
Peripheral Interface for Middleware and Application Code
 
Loading...
Searching...
No Matches
CAN Unit Events

Callback unit events notified via ARM_CAN_SignalUnitEvent. More...

Macros

#define ARM_CAN_EVENT_UNIT_INACTIVE   (0U)
 Unit entered Inactive state.
 
#define ARM_CAN_EVENT_UNIT_ACTIVE   (1U)
 Unit entered Error Active state.
 
#define ARM_CAN_EVENT_UNIT_WARNING   (2U)
 Unit entered Error Warning state (one or both error counters >= 96)
 
#define ARM_CAN_EVENT_UNIT_PASSIVE   (3U)
 Unit entered Error Passive state.
 
#define ARM_CAN_EVENT_UNIT_BUS_OFF   (4U)
 Unit entered Bus-off state.
 

Description

Callback unit events notified via ARM_CAN_SignalUnitEvent.

The CAN driver generates callback unit events that are notified via the function ARM_CAN_SignalUnitEvent.

The following callback notification unit events are generated:

Macro Definition Documentation

◆ ARM_CAN_EVENT_UNIT_INACTIVE

#define ARM_CAN_EVENT_UNIT_INACTIVE   (0U)

Unit entered Inactive state.

See also
ARM_CAN_SignalUnitEvent

◆ ARM_CAN_EVENT_UNIT_ACTIVE

#define ARM_CAN_EVENT_UNIT_ACTIVE   (1U)

Unit entered Error Active state.

See also
ARM_CAN_SignalUnitEvent

◆ ARM_CAN_EVENT_UNIT_WARNING

#define ARM_CAN_EVENT_UNIT_WARNING   (2U)

Unit entered Error Warning state (one or both error counters >= 96)

See also
ARM_CAN_SignalUnitEvent

◆ ARM_CAN_EVENT_UNIT_PASSIVE

#define ARM_CAN_EVENT_UNIT_PASSIVE   (3U)

Unit entered Error Passive state.

See also
ARM_CAN_SignalUnitEvent

◆ ARM_CAN_EVENT_UNIT_BUS_OFF

#define ARM_CAN_EVENT_UNIT_BUS_OFF   (4U)

Unit entered Bus-off state.

See also
ARM_CAN_SignalUnitEvent