CAN_FilterInitTypeDef Struct Reference
[CAN_Exported_Types]

CAN filter init structure definition. More...

#include <stm32f10x_can.h>

Data Fields

FunctionalState CAN_FilterActivation
uint16_t CAN_FilterFIFOAssignment
uint16_t CAN_FilterIdHigh
uint16_t CAN_FilterIdLow
uint16_t CAN_FilterMaskIdHigh
uint16_t CAN_FilterMaskIdLow
uint8_t CAN_FilterMode
uint8_t CAN_FilterNumber
uint8_t CAN_FilterScale

Detailed Description

CAN filter init structure definition.

Definition at line 92 of file stm32f10x_can.h.


Field Documentation

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

Definition at line 123 of file stm32f10x_can.h.

Referenced by CAN_Config(), CAN_FilterInit(), CAN_Interrupt(), and CAN_Polling().

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

Definition at line 112 of file stm32f10x_can.h.

Referenced by CAN_Config(), CAN_FilterInit(), CAN_Interrupt(), and CAN_Polling().

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

Definition at line 94 of file stm32f10x_can.h.

Referenced by CAN_Config(), CAN_FilterInit(), CAN_Interrupt(), and CAN_Polling().

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

Definition at line 98 of file stm32f10x_can.h.

Referenced by CAN_Config(), CAN_FilterInit(), CAN_Interrupt(), and CAN_Polling().

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

Definition at line 102 of file stm32f10x_can.h.

Referenced by CAN_Config(), CAN_FilterInit(), CAN_Interrupt(), and CAN_Polling().

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

Definition at line 107 of file stm32f10x_can.h.

Referenced by CAN_Config(), CAN_FilterInit(), CAN_Interrupt(), and CAN_Polling().

Specifies the filter mode to be initialized. This parameter can be a value of CAN_filter_mode

Definition at line 117 of file stm32f10x_can.h.

Referenced by CAN_Config(), CAN_FilterInit(), CAN_Interrupt(), and CAN_Polling().

Specifies the filter which will be initialized. It ranges from 0 to 13.

Definition at line 115 of file stm32f10x_can.h.

Referenced by CAN_Config(), CAN_FilterInit(), CAN_Interrupt(), and CAN_Polling().

Specifies the filter scale. This parameter can be a value of CAN_filter_scale

Definition at line 120 of file stm32f10x_can.h.

Referenced by CAN_Config(), CAN_FilterInit(), CAN_Interrupt(), and CAN_Polling().


The documentation for this struct was generated from the following file:
STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32