Controller area network (bxCAN)
4.1.6 CAN_FilterInitTypeDef
CAN_FilterInitTypeDef is defined in the stm32f30x_can.h
Data Fields
uint16_t CAN_FilterIdHigh
uint16_t CAN_FilterIdLow
uint16_t CAN_FilterMaskIdHigh
uint16_t CAN_FilterMaskIdLow
uint16_t CAN_FilterFIFOAssignment
uint8_t CAN_FilterNumber
uint8_t CAN_FilterMode
uint8_t CAN_FilterScale
FunctionalState CAN_FilterActivation
Field Documentation
uint16_t CAN_FilterInitTypeDef::CAN_FilterIdHigh
Specifies the filter identification number (MSBs for a 32-bit configuration, first
one for a 16-bit configuration). This parameter can be a value between 0x0000
and 0xFFFF
uint16_t CAN_FilterInitTypeDef::CAN_FilterIdLow
Specifies the filter identification number (LSBs for a 32-bit configuration, second
one for a 16-bit configuration). This parameter can be a value between 0x0000
and 0xFFFF
uint16_t CAN_FilterInitTypeDef::CAN_FilterMaskIdHigh
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 can be a value between 0x0000 and 0xFFFF
uint16_t CAN_FilterInitTypeDef::CAN_FilterMaskIdLow
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 can be a value between 0x0000 and 0xFFFF
uint16_t CAN_FilterInitTypeDef::CAN_FilterFIFOAssignment
Specifies the FIFO (0 or 1) which will be assigned to the filter. This parameter
can be a value of CAN_filter_FIFO
uint8_t CAN_FilterInitTypeDef::CAN_FilterNumber
Specifies the filter which will be initialized. It ranges from 0 to 13.
uint8_t CAN_FilterInitTypeDef::CAN_FilterMode
Specifies the filter mode to be initialized. This parameter can be a value of
CAN_filter_mode
uint8_t CAN_FilterInitTypeDef::CAN_FilterScale
Specifies the filter scale. This parameter can be a value of CAN_filter_scale
FunctionalState CAN_FilterInitTypeDef::CAN_FilterActivation
Enable or disable the filter. This parameter can be set either to ENABLE or
DISABLE.