STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
CAN Exported Types
Collaboration diagram for CAN Exported Types:

Data Structures

struct  CAN_InitTypeDef
 CAN init structure definition. More...
 
struct  CAN_FilterConfTypeDef
 CAN filter configuration structure definition. More...
 
struct  CanTxMsgTypeDef
 CAN Tx message structure definition. More...
 
struct  CanRxMsgTypeDef
 CAN Rx message structure definition. More...
 
struct  CAN_HandleTypeDef
 CAN handle Structure definition. More...
 
struct  CAN_FilterTypeDef
 CAN filter configuration structure definition. More...
 
struct  CAN_TxHeaderTypeDef
 CAN Tx message header structure definition. More...
 
struct  CAN_RxHeaderTypeDef
 CAN Rx message header structure definition. More...
 

Enumerations

enum  HAL_CAN_StateTypeDef {
  HAL_CAN_STATE_RESET = 0x00U , HAL_CAN_STATE_READY = 0x01U , HAL_CAN_STATE_BUSY = 0x02U , HAL_CAN_STATE_BUSY_TX = 0x12U ,
  HAL_CAN_STATE_BUSY_RX0 = 0x22U , HAL_CAN_STATE_BUSY_RX1 = 0x32U , HAL_CAN_STATE_BUSY_TX_RX0 = 0x42U , HAL_CAN_STATE_BUSY_TX_RX1 = 0x52U ,
  HAL_CAN_STATE_BUSY_RX0_RX1 = 0x62U , HAL_CAN_STATE_BUSY_TX_RX0_RX1 = 0x72U , HAL_CAN_STATE_TIMEOUT = 0x03U , HAL_CAN_STATE_ERROR = 0x04U
}
 HAL State structures definition. More...
 
enum  HAL_CAN_StateTypeDef {
  HAL_CAN_STATE_RESET = 0x00U , HAL_CAN_STATE_READY = 0x01U , HAL_CAN_STATE_LISTENING = 0x02U , HAL_CAN_STATE_SLEEP_PENDING = 0x03U ,
  HAL_CAN_STATE_SLEEP_ACTIVE = 0x04U , HAL_CAN_STATE_ERROR = 0x05U
}
 HAL State structures definition. More...
 

Detailed Description

Enumeration Type Documentation

◆ HAL_CAN_StateTypeDef [1/2]

#include <stm32f4xx_hal_can_legacy.h>

HAL State structures definition.

Enumerator
HAL_CAN_STATE_RESET 

CAN not yet initialized or disabled

HAL_CAN_STATE_READY 

CAN initialized and ready for use

HAL_CAN_STATE_BUSY 

CAN process is ongoing

HAL_CAN_STATE_BUSY_TX 

CAN process is ongoing

HAL_CAN_STATE_BUSY_RX0 

CAN process is ongoing

HAL_CAN_STATE_BUSY_RX1 

CAN process is ongoing

HAL_CAN_STATE_BUSY_TX_RX0 

CAN process is ongoing

HAL_CAN_STATE_BUSY_TX_RX1 

CAN process is ongoing

HAL_CAN_STATE_BUSY_RX0_RX1 

CAN process is ongoing

HAL_CAN_STATE_BUSY_TX_RX0_RX1 

CAN process is ongoing

HAL_CAN_STATE_TIMEOUT 

CAN in Timeout state

HAL_CAN_STATE_ERROR 

CAN error state

Definition at line 51 of file stm32f4xx_hal_can_legacy.h.

◆ HAL_CAN_StateTypeDef [2/2]

#include <stm32f4xx_hal_can.h>

HAL State structures definition.

Enumerator
HAL_CAN_STATE_RESET 

CAN not yet initialized or disabled

HAL_CAN_STATE_READY 

CAN initialized and ready for use

HAL_CAN_STATE_LISTENING 

CAN receive process is ongoing

HAL_CAN_STATE_SLEEP_PENDING 

CAN sleep request is pending

HAL_CAN_STATE_SLEEP_ACTIVE 

CAN sleep mode is active

HAL_CAN_STATE_ERROR 

CAN error state

Definition at line 46 of file stm32f4xx_hal_can.h.