#include "RSCAN_Table.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  */

    {0x00000541ul, 0xFFFFFFFFUL, 0x00000000UL, CANFD0_CH2_RX_SELECT},
    {0x00000401ul, 0xFFFFFFFFUL, 0x00000000UL, CANFD0_CH4_RX_SELECT},
    {0x0000050Aul, 0xFFFFFFFFUL, 0x00000000UL, CANFD0_CH4_RX_SELECT},
    {0x00000530ul, 0xFFFFFFFFUL, 0x00000000UL, CANFD0_CH4_RX_SELECT},
    {0x00000385ul, 0xFFFFFFFFUL, 0x00000000UL, CANFD0_CH4_RX_SELECT},
    {0x0000069bul, 0xFFFFFFFFUL, 0x00000000UL, CANFD0_CH4_RX_SELECT},
    {0x0000028Aul, 0xFFFFFFFFUL, 0x00000000UL, CANFD0_CH4_RX_SELECT},
    {0x0000028Eul, 0xFFFFFFFFUL, 0x00000000UL, CANFD0_CH4_RX_SELECT},
    {0x000002DEul, 0xFFFFFFFFUL, 0x00000000UL, CANFD0_CH4_RX_SELECT},
    {0x00000517ul, 0xFFFFFFFFUL, 0x00000000UL, CANFD0_CH4_RX_SELECT},
    {0x00000709ul, 0xFFFFFFFFUL, 0x00000000UL, CANFD0_CH4_RX_SELECT},

};
