#include "RSCAN_Table.h"
#include "Diag_ID_Def.h"

#define CANFD0_CH0_RX_SELECT 0x00000400UL
#define CANFD0_CH1_RX_SELECT 0x00002000UL
#define CANFD0_CH2_RX_SELECT 0x00010000UL
#define CANFD0_CH3_RX_SELECT 0x00080000UL
#define CANFD0_CH4_RX_SELECT 0x00400000UL
#define CANFD0_CH5_RX_SELECT 0x02000000UL

const RSCANFD_Filter_st_t CANFD_RX_RULE_TABLE_LIST [ CANFD0_RX_RULE_SIZE ] = {
    /* CAN 0 reception rules */
    /*   ID   , MASK  ,   LEN  */

    // {0x541ul, 0xFFFFFFFFUL, 0x00000000UL, CANFD0_CH2_RX_SELECT},
    // {(0x80000000UL | 0x10FF4117ul), 0xFFFFFFFFUL, 0x00000000UL, CANFD0_CH4_RX_SELECT},
    // {(0x80000000UL | 0x18FEAE17ul), 0xFFFFFFFFUL, 0x00000000UL, CANFD0_CH4_RX_SELECT},
    // {(0x80000000UL | 0x10FF1017ul), 0xFFFFFFFFUL, 0x00000000UL, CANFD0_CH4_RX_SELECT},
    // {(0x80000000UL | 0x18FEC1EEul), 0xFFFFFFFFUL, 0x00000000UL, CANFD0_CH4_RX_SELECT},
    


       {(                    0x000UL), 0x00000000UL, 0x00000008UL, CANFD0_CH4_RX_SELECT},
 //   {(0x80000000UL | DIAG_ID_Rx_PHY), 0xFFFFFFFFUL, 0x00000008UL, CANFD0_CH4_RX_SELECT},

};
