Mcan_Hal_ErrorCounterStatusType

Module: HAL (AM13E230X) API / CAN HAL API

CAN Error Counter Status Type. More…

#include <Mcan_Hal.h>

Public Attributes

Name

uint8

TransmitErrorCounter
Transmit error counter (0-255, MCAN_ECR.TEC)

uint8

ReceiveErrorCounter
Receive error counter (0-127, MCAN_ECR.REC)

boolean

ReceiveErrorPassive
Receive error passive status - TRUE if REC >= 128 (MCAN_ECR.RP)

uint8

ErrorLoggingCounter
CAN Error Logging counter (0-255, MCAN_ECR.CEL); cleared on read.

Detailed Description

struct Mcan_Hal_ErrorCounterStatusType;

CAN Error Counter Status Type.

Error counter status containing TX/RX error counts and error passive status.

Public Attributes Documentation

variable TransmitErrorCounter

uint8 TransmitErrorCounter;

Transmit error counter (0-255, MCAN_ECR.TEC)

variable ReceiveErrorCounter

uint8 ReceiveErrorCounter;

Receive error counter (0-127, MCAN_ECR.REC)

variable ReceiveErrorPassive

boolean ReceiveErrorPassive;

Receive error passive status - TRUE if REC >= 128 (MCAN_ECR.RP)

variable ErrorLoggingCounter

uint8 ErrorLoggingCounter;

CAN Error Logging counter (0-255, MCAN_ECR.CEL); cleared on read.