MG32F157 Standard Peripherals Firmware Library
|
CAN Filter Config structure definition. More...
#include <mg32f157_can.h>
Data Fields | |
uint8_t | Filter_Mode |
uint8_t | Filter_FrameFormat |
uint8_t | Filter1_Type |
uint8_t | Filter1_RTRCmd |
uint32_t | Filter1_Code |
uint32_t | Filter1_Mask |
uint8_t | Filter2_Type |
uint8_t | Filter2_RTRCmd |
uint32_t | Filter2_Code |
uint32_t | Filter2_Mask |
CAN Filter Config structure definition.
uint32_t Filter1_Code |
Specifies CAN Filter1 Code. It ranges from 0x0 to 0xFFFFFFFF.
uint32_t Filter1_Mask |
Specifies CAN Filter1 Mask. It ranges from 0x0 to 0xFFFFFFFF.
uint8_t Filter1_RTRCmd |
Specifies whether the filter1 filters RTR bits. This parameter can be set either to ENABLE or DISABLE.
uint8_t Filter1_Type |
Specifies CAN Filter1 Type, remote frame or data frame. This parameter can be a value of CAN_Filter_Type
uint32_t Filter2_Code |
Specifies CAN Filter2 Code. It ranges from 0x0 to 0xFFFFFFFF.
uint32_t Filter2_Mask |
Specifies CAN Filter2 Mask. It ranges from 0x0 to 0xFFFFFFFF.
uint8_t Filter2_RTRCmd |
Specifies whether the filter1 filters RTR bits. This parameter can be set either to ENABLE or DISABLE.
uint8_t Filter2_Type |
Specifies CAN Filter2 Type, remote frame or data frame. This parameter can be a value of CAN_Filter_Type
uint8_t Filter_FrameFormat |
Specifies CAN Filter1 Format, Standard Frame or Extended Frame This parameter can be a value of CAN_Filter_FrameFormat
uint8_t Filter_Mode |
Specifies CAN Filter Mode, dual filter or single filter This parameter can be a value of CAN_Filter_Mode