Defines | Enumerations
CAN Transmit Macro Definitions

Macro defines for TXBnCTRL - CAN Transmit Buffer n Control Register. More...

Defines

#define TXBCTRL_ABTF   ((uint8_t)(6))
 Message Aborted Flag bit - message aborted or completed transmission successfully.
#define TXBCTRL_MLOA   ((uint8_t)(5))
 Message Lost Arbitration bit - message los arbitration while being sent.
#define TXBCTRL_TXERR   ((uint8_t)(4))
 Transmission Error Detected Bit - a bus error occurred while transmission.
#define TXBCTRL_TXREQ   ((uint8_t)(3))
 Message Transmit Request bit - currently pending transmission.
#define TXBCTRL_TXP   ((uint8_t)(0))
 CAN Transmit Buffer Priority.

Enumerations

enum  TXB_CONTROL_TXP { TXBCTRL_TXP_LOWEST_MSG_PRIORITY = 0, TXBCTRL_TXP_LOW_INTERMEDIATE_MSG_PRIORITY, TXP_HIGH_INTERMEDIATE_MSG_PRIORITY, TXP_HIGHEST_MSG_PRIORITY }

Detailed Description

Macro defines for TXBnCTRL - CAN Transmit Buffer n Control Register.

Address: 30h, 40h, 50h

Author:
AZ
Attention:
Read-only registers!

Define Documentation

#define TXBCTRL_ABTF   ((uint8_t)(6))

Message Aborted Flag bit - message aborted or completed transmission successfully.

Attention:
Read-only!
#define TXBCTRL_MLOA   ((uint8_t)(5))

Message Lost Arbitration bit - message los arbitration while being sent.

Attention:
Read-only!
#define TXBCTRL_TXERR   ((uint8_t)(4))

Transmission Error Detected Bit - a bus error occurred while transmission.

Attention:
Read-only!

Enumeration Type Documentation

Enumerator:
TXBCTRL_TXP_LOWEST_MSG_PRIORITY 

Lowest Message Priority

TXBCTRL_TXP_LOW_INTERMEDIATE_MSG_PRIORITY 

Low Intermediate Message Priority

TXP_HIGH_INTERMEDIATE_MSG_PRIORITY 

High Intermediate Message Priority

TXP_HIGHEST_MSG_PRIORITY 

Highest Message Priority

 All Classes Files Functions Enumerations Enumerator Defines