STM32F439xx HAL User Manual
Data Fields
CAN_FilterTypeDef Struct Reference

CAN filter configuration structure definition. More...

#include <stm32f4xx_hal_can.h>

Data Fields

uint32_t FilterIdHigh
uint32_t FilterIdLow
uint32_t FilterMaskIdHigh
uint32_t FilterMaskIdLow
uint32_t FilterFIFOAssignment
uint32_t FilterBank
uint32_t FilterMode
uint32_t FilterScale
uint32_t FilterActivation
uint32_t SlaveStartFilterBank

Detailed Description

CAN filter configuration structure definition.

Definition at line 118 of file stm32f4xx_hal_can.h.


Field Documentation

Enable or disable the filter. This parameter can be set to ENABLE or DISABLE.

Definition at line 153 of file stm32f4xx_hal_can.h.

Referenced by HAL_CAN_ConfigFilter().

Specifies the filter bank which will be initialized. For single CAN instance(14 dedicated filter banks), this parameter must be a number between Min_Data = 0 and Max_Data = 13. For dual CAN instances(28 filter banks shared), this parameter must be a number between Min_Data = 0 and Max_Data = 27.

Definition at line 141 of file stm32f4xx_hal_can.h.

Referenced by HAL_CAN_ConfigFilter().

Specifies the FIFO (0 or 1U) which will be assigned to the filter. This parameter can be a value of CAN Filter FIFO

Definition at line 138 of file stm32f4xx_hal_can.h.

Referenced by HAL_CAN_ConfigFilter().

Specifies the filter identification number (MSBs for a 32-bit configuration, first one for a 16-bit configuration). This parameter must be a number between Min_Data = 0x0000 and Max_Data = 0xFFFF.

Definition at line 120 of file stm32f4xx_hal_can.h.

Referenced by HAL_CAN_ConfigFilter().

Specifies the filter identification number (LSBs for a 32-bit configuration, second one for a 16-bit configuration). This parameter must be a number between Min_Data = 0x0000 and Max_Data = 0xFFFF.

Definition at line 124 of file stm32f4xx_hal_can.h.

Referenced by HAL_CAN_ConfigFilter().

Specifies the filter mask number or identification number, according to the mode (MSBs for a 32-bit configuration, first one for a 16-bit configuration). This parameter must be a number between Min_Data = 0x0000 and Max_Data = 0xFFFF.

Definition at line 128 of file stm32f4xx_hal_can.h.

Referenced by HAL_CAN_ConfigFilter().

Specifies the filter mask number or identification number, according to the mode (LSBs for a 32-bit configuration, second one for a 16-bit configuration). This parameter must be a number between Min_Data = 0x0000 and Max_Data = 0xFFFF.

Definition at line 133 of file stm32f4xx_hal_can.h.

Referenced by HAL_CAN_ConfigFilter().

Specifies the filter mode to be initialized. This parameter can be a value of CAN Filter Mode

Definition at line 147 of file stm32f4xx_hal_can.h.

Referenced by HAL_CAN_ConfigFilter().

Specifies the filter scale. This parameter can be a value of CAN Filter Scale

Definition at line 150 of file stm32f4xx_hal_can.h.

Referenced by HAL_CAN_ConfigFilter().

Select the start filter bank for the slave CAN instance. For single CAN instances, this parameter is meaningless. For dual CAN instances, all filter banks with lower index are assigned to master CAN instance, whereas all filter banks with greater index are assigned to slave CAN instance. This parameter must be a number between Min_Data = 0 and Max_Data = 27.

Definition at line 156 of file stm32f4xx_hal_can.h.

Referenced by HAL_CAN_ConfigFilter().


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