canConfig.filterList = g_canFilterTab;//赋值过滤器设置list
#define CAN_MAX_FILTER_NUM 16 ///< CAN max filter number
CAN_FilterControl g_canFilterTab[CAN_MAX_FILTER_NUM] =
{
{ 0, 0, 0x00000000, 0x00000000},
{ 1, 0, 0x00000000, 0x00000000},
{ 2, 0, 0x00000000, 0x00000000},
{ 3, 0, 0x00000000, 0x00000000},
{ 4, 0, 0x00000000, 0x00000000},
{ 5, 0, 0x00000000, 0x00000000},
{ 6, 0, 0x00000000, 0x00000000},
{ 7, 0, 0x00000000, 0x00000000},
{ 8, 0, 0x00000000, 0x00000000},
{ 9, 0, 0x00000000, 0x00000000},
{10, 0, 0x00000000, 0x00000000},
{11, 0, 0x00000000, 0x00000000},
{12, 0, 0x00000000, 0x00000000},
{13, 0, 0x00000000, 0x00000000},
{14, 0, 0x00000000, 0x00000000},
{15, 0, 0x00000000, 0x00000000},
};
// {15, 0, 0x00000000, 0x00000000}, // 15, 0, 0x00000000, 0x00000000 这4个元素对应了什么? 这样一个过滤列表?不懂哎,有清楚的朋友么? |