I want to communicate with many S32K144EVB through FlexCAN. I found a main.c file in which they have done the same thing, but i am not able to understand why he took
/*-----------ID Filter table-----------------*/
flexcan_id_table_t filterTable[16]={};
uint16_t IDlist[16] = {0x402,0x403,0x404,0x408,0x410,0x420,0x430,0x440,0x448,0x449,0x44A,0x44B,0x44C,0x44F,0x450,0};
uint16_t IDmask[10] = {0x7FF,0x7FF,0x7FC,0x7F8,0x7F0,0x7F0,0x7F0,0x7F8,0x7FF,0x7FF};
means he took filter array having 16 filter id, but the masking array only RXIMR0-RXIMR9
please assist me.
we have RXIMR0-RXIMR63, so why should we didn`t use 16 for 16 filter id.
PS:- Also attaching main.c file for the reference.