STM32H735xx HAL User Manual
Data Fields
FDCAN_ProtocolStatusTypeDef Struct Reference

FDCAN Protocol Status structure definition. More...

#include <stm32h7xx_hal_fdcan.h>

Data Fields

uint32_t LastErrorCode
uint32_t DataLastErrorCode
uint32_t Activity
uint32_t ErrorPassive
uint32_t Warning
uint32_t BusOff
uint32_t RxESIflag
uint32_t RxBRSflag
uint32_t RxFDFflag
uint32_t ProtocolException
uint32_t TDCvalue

Detailed Description

FDCAN Protocol Status structure definition.

Definition at line 388 of file stm32h7xx_hal_fdcan.h.


Field Documentation

Specifies the FDCAN module communication state. This parameter can be a value of FDCAN communication state

Definition at line 397 of file stm32h7xx_hal_fdcan.h.

Referenced by HAL_FDCAN_GetProtocolStatus().

Specifies the FDCAN module Bus_Off status. This parameter can be:

  • 0 : The FDCAN is not in Bus_Off state
  • 1 : The FDCAN is in Bus_Off state

Definition at line 410 of file stm32h7xx_hal_fdcan.h.

Referenced by HAL_FDCAN_GetProtocolStatus().

Specifies the type of the last error that occurred in the data phase of a CAN FD format frame with its BRS flag set. This parameter can be a value of FDCAN protocol error code

Definition at line 393 of file stm32h7xx_hal_fdcan.h.

Referenced by HAL_FDCAN_GetProtocolStatus().

Specifies the FDCAN module error status. This parameter can be:

  • 0 : The FDCAN is in Error_Active state
  • 1 : The FDCAN is in Error_Passive state

Definition at line 400 of file stm32h7xx_hal_fdcan.h.

Referenced by HAL_FDCAN_GetProtocolStatus().

Specifies the type of the last error that occurred on the FDCAN bus. This parameter can be a value of FDCAN protocol error code

Definition at line 390 of file stm32h7xx_hal_fdcan.h.

Referenced by HAL_FDCAN_GetProtocolStatus().

Specifies the FDCAN module Protocol Exception status. This parameter can be:

  • 0 : No protocol exception event occurred since last read access
  • 1 : Protocol exception event occurred

Definition at line 430 of file stm32h7xx_hal_fdcan.h.

Referenced by HAL_FDCAN_GetProtocolStatus().

Specifies BRS flag of last received CAN FD message. This parameter can be:

  • 0 : Last received CAN FD message did not have its BRS flag set
  • 1 : Last received CAN FD message had its BRS flag set

Definition at line 420 of file stm32h7xx_hal_fdcan.h.

Referenced by HAL_FDCAN_GetProtocolStatus().

Specifies ESI flag of last received CAN FD message. This parameter can be:

  • 0 : Last received CAN FD message did not have its ESI flag set
  • 1 : Last received CAN FD message had its ESI flag set

Definition at line 415 of file stm32h7xx_hal_fdcan.h.

Referenced by HAL_FDCAN_GetProtocolStatus().

Specifies if CAN FD message (FDF flag set) has been received since last protocol status. This parameter can be:

  • 0 : no CAN FD message received
  • 1 : CAN FD message received

Definition at line 425 of file stm32h7xx_hal_fdcan.h.

Referenced by HAL_FDCAN_GetProtocolStatus().

Specifies the Transmitter Delay Compensation Value. This parameter can be a number between 0 and 127

Definition at line 435 of file stm32h7xx_hal_fdcan.h.

Referenced by HAL_FDCAN_GetProtocolStatus().

Specifies the FDCAN module warning status. This parameter can be:

  • 0 : error counters (RxErrorCnt and TxErrorCnt) are below the Error_Warning limit of 96
  • 1 : at least one of error counters has reached the Error_Warning limit of 96

Definition at line 405 of file stm32h7xx_hal_fdcan.h.

Referenced by HAL_FDCAN_GetProtocolStatus().


The documentation for this struct was generated from the following file: