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

Set CAN operation modes. More...

Macros

#define ARM_CAN_SET_FD_MODE   (1UL << ARM_CAN_CONTROL_Pos)
 Set FD operation mode; arg: 0 = disable, 1 = enable.
 
#define ARM_CAN_ABORT_MESSAGE_SEND   (2UL << ARM_CAN_CONTROL_Pos)
 Abort sending of CAN message; arg = object.
 
#define ARM_CAN_CONTROL_RETRANSMISSION   (3UL << ARM_CAN_CONTROL_Pos)
 Enable/disable automatic retransmission; arg: 0 = disable, 1 = enable (default state)
 
#define ARM_CAN_SET_TRANSCEIVER_DELAY   (4UL << ARM_CAN_CONTROL_Pos)
 Set transceiver delay; arg = delay in time quanta.
 

Description

Set CAN operation modes.

These controls set the CAN operation using the function ARM_CAN_Control.

Macro Definition Documentation

◆ ARM_CAN_SET_FD_MODE

#define ARM_CAN_SET_FD_MODE   (1UL << ARM_CAN_CONTROL_Pos)

Set FD operation mode; arg: 0 = disable, 1 = enable.

See also
ARM_CAN_Control

◆ ARM_CAN_ABORT_MESSAGE_SEND

#define ARM_CAN_ABORT_MESSAGE_SEND   (2UL << ARM_CAN_CONTROL_Pos)

Abort sending of CAN message; arg = object.

See also
ARM_CAN_Control

◆ ARM_CAN_CONTROL_RETRANSMISSION

#define ARM_CAN_CONTROL_RETRANSMISSION   (3UL << ARM_CAN_CONTROL_Pos)

Enable/disable automatic retransmission; arg: 0 = disable, 1 = enable (default state)

See also
ARM_CAN_Control

◆ ARM_CAN_SET_TRANSCEIVER_DELAY

#define ARM_CAN_SET_TRANSCEIVER_DELAY   (4UL << ARM_CAN_CONTROL_Pos)

Set transceiver delay; arg = delay in time quanta.

See also
ARM_CAN_Control