⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lin_msgids.c

📁 此程序为DP256的SPI实验程序,已经通过实验证明
💻 C
📖 第 1 页 / 共 5 页
字号:
    #endif

   #if    LIN_MSG_26    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_26,
    #endif

   #if    LIN_MSG_27    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_27,
    #endif

   #if    LIN_MSG_28    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_28,
    #endif

   #if    LIN_MSG_29    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_29,
    #endif

   #if    LIN_MSG_2A    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_2A,
    #endif

   #if    LIN_MSG_2B    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_2B,
    #endif

   #if    LIN_MSG_2C    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_2C,
    #endif

   #if    LIN_MSG_2D    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_2D,
    #endif

   #if    LIN_MSG_2E    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_2E,
    #endif

   #if    LIN_MSG_2F    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_2F,
    #endif

   #if    LIN_MSG_30    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_30,
    #endif

   #if    LIN_MSG_31    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_31,
    #endif

   #if    LIN_MSG_32    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_32,
    #endif

   #if    LIN_MSG_33    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_33,
    #endif

   #if    LIN_MSG_34    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_34,
    #endif

   #if    LIN_MSG_35    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_35,
    #endif

   #if    LIN_MSG_36    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_36,
    #endif

   #if    LIN_MSG_37    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_37,
    #endif

   #if    LIN_MSG_38    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_38,
    #endif

   #if    LIN_MSG_39    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_39,
    #endif

   #if    LIN_MSG_3A    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_3A,
    #endif

   #if    LIN_MSG_3B    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_3B,
    #endif

   #if    LIN_MSG_3C    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_3C,
    #endif

   #if    LIN_MSG_3D    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_3D,
    #endif

   #if    LIN_MSG_3E    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_3E,
    #endif

   #if    LIN_MSG_3F    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_3F,
    #endif

};

//#endif /* defined(SLAVE) */


/* Configured messages buffer list */
/* In fact, we don't use different buf for each message, we only one buf for all messages */

L_U8PC LIN_MsgBuf[] =
{
    #ifdef LIN_MSG_NONE
        (L_U8P)0
    #endif

   #if    LIN_MSG_0    != LIN_MSG_IGNORE
        LIN_Buf_0,
    #endif

   #if    LIN_MSG_1    != LIN_MSG_IGNORE
        LIN_Buf_1,
    #endif

   #if    LIN_MSG_2    != LIN_MSG_IGNORE
        LIN_Buf_2,
    #endif

   #if    LIN_MSG_3    != LIN_MSG_IGNORE
        LIN_Buf_3,
    #endif

   #if    LIN_MSG_4    != LIN_MSG_IGNORE
        LIN_Buf_4,
    #endif

   #if    LIN_MSG_5    != LIN_MSG_IGNORE
        LIN_Buf_5,
    #endif

   #if    LIN_MSG_6    != LIN_MSG_IGNORE
        LIN_Buf_6,
    #endif

   #if    LIN_MSG_7    != LIN_MSG_IGNORE
        LIN_Buf_7,
    #endif

   #if    LIN_MSG_8    != LIN_MSG_IGNORE
        LIN_Buf_8,
    #endif

   #if    LIN_MSG_9    != LIN_MSG_IGNORE
        LIN_Buf_9,
    #endif

   #if    LIN_MSG_A    != LIN_MSG_IGNORE
        LIN_Buf_A,
    #endif

   #if    LIN_MSG_B    != LIN_MSG_IGNORE
        LIN_Buf_B,
    #endif

   #if    LIN_MSG_C    != LIN_MSG_IGNORE
        LIN_Buf_C,
    #endif

   #if    LIN_MSG_D    != LIN_MSG_IGNORE
        LIN_Buf_D,
    #endif

   #if    LIN_MSG_E    != LIN_MSG_IGNORE
        LIN_Buf_E,
    #endif

   #if    LIN_MSG_F    != LIN_MSG_IGNORE
        LIN_Buf_F,
    #endif

   #if    LIN_MSG_10    != LIN_MSG_IGNORE
        LIN_Buf_10,
    #endif

   #if    LIN_MSG_11    != LIN_MSG_IGNORE
        LIN_Buf_11,
    #endif

   #if    LIN_MSG_12    != LIN_MSG_IGNORE
        LIN_Buf_12,
    #endif

   #if    LIN_MSG_13    != LIN_MSG_IGNORE
        LIN_Buf_13,
    #endif

   #if    LIN_MSG_14    != LIN_MSG_IGNORE
        LIN_Buf_14,
    #endif

   #if    LIN_MSG_15    != LIN_MSG_IGNORE
        LIN_Buf_15,
    #endif

   #if    LIN_MSG_16    != LIN_MSG_IGNORE
        LIN_Buf_16,
    #endif

   #if    LIN_MSG_17    != LIN_MSG_IGNORE
        LIN_Buf_17,
    #endif

   #if    LIN_MSG_18    != LIN_MSG_IGNORE
        LIN_Buf_18,
    #endif

   #if    LIN_MSG_19    != LIN_MSG_IGNORE
        LIN_Buf_19,
    #endif

   #if    LIN_MSG_1A    != LIN_MSG_IGNORE
        LIN_Buf_1A,
    #endif

   #if    LIN_MSG_1B    != LIN_MSG_IGNORE
        LIN_Buf_1B,
    #endif

   #if    LIN_MSG_1C    != LIN_MSG_IGNORE
        LIN_Buf_1C,
    #endif

   #if    LIN_MSG_1D    != LIN_MSG_IGNORE
        LIN_Buf_1D,
    #endif

   #if    LIN_MSG_1E    != LIN_MSG_IGNORE
        LIN_Buf_1E,
    #endif

   #if    LIN_MSG_1F    != LIN_MSG_IGNORE
        LIN_Buf_1F,
    #endif

   #if    LIN_MSG_20    != LIN_MSG_IGNORE
        LIN_Buf_20,
    #endif

   #if    LIN_MSG_21    != LIN_MSG_IGNORE
        LIN_Buf_21,
    #endif

   #if    LIN_MSG_22    != LIN_MSG_IGNORE
        LIN_Buf_22,
    #endif

   #if    LIN_MSG_23    != LIN_MSG_IGNORE
        LIN_Buf_23,
    #endif

   #if    LIN_MSG_24    != LIN_MSG_IGNORE
        LIN_Buf_24,
    #endif

   #if    LIN_MSG_25    != LIN_MSG_IGNORE
        LIN_Buf_25,
    #endif

   #if    LIN_MSG_26    != LIN_MSG_IGNORE
        LIN_Buf_26,
    #endif

   #if    LIN_MSG_27    != LIN_MSG_IGNORE
        LIN_Buf_27,
    #endif

   #if    LIN_MSG_28    != LIN_MSG_IGNORE
        LIN_Buf_28,
    #endif

   #if    LIN_MSG_29    != LIN_MSG_IGNORE
        LIN_Buf_29,
    #endif

   #if    LIN_MSG_2A    != LIN_MSG_IGNORE
        LIN_Buf_2A,
    #endif

   #if    LIN_MSG_2B    != LIN_MSG_IGNORE
        LIN_Buf_2B,
    #endif

   #if    LIN_MSG_2C    != LIN_MSG_IGNORE
        LIN_Buf_2C,
    #endif

   #if    LIN_MSG_2D    != LIN_MSG_IGNORE
        LIN_Buf_2D,
    #endif

   #if    LIN_MSG_2E    != LIN_MSG_IGNORE
        LIN_Buf_2E,
    #endif

   #if    LIN_MSG_2F    != LIN_MSG_IGNORE
        LIN_Buf_2F,
    #endif

   #if    LIN_MSG_30    != LIN_MSG_IGNORE
        LIN_Buf_30,
    #endif

   #if    LIN_MSG_31    != LIN_MSG_IGNORE
        LIN_Buf_31,
    #endif

   #if    LIN_MSG_32    != LIN_MSG_IGNORE
        LIN_Buf_32,
    #endif

   #if    LIN_MSG_33    != LIN_MSG_IGNORE
        LIN_Buf_33,
    #endif

   #if    LIN_MSG_34    != LIN_MSG_IGNORE
        LIN_Buf_34,
    #endif

   #if    LIN_MSG_35    != LIN_MSG_IGNORE
        LIN_Buf_35,
    #endif

   #if    LIN_MSG_36    != LIN_MSG_IGNORE
        LIN_Buf_36,
    #endif

   #if    LIN_MSG_37    != LIN_MSG_IGNORE
        LIN_Buf_37,
    #endif

   #if    LIN_MSG_38    != LIN_MSG_IGNORE
        LIN_Buf_38,
    #endif

   #if    LIN_MSG_39    != LIN_MSG_IGNORE
        LIN_Buf_39,
    #endif

   #if    LIN_MSG_3A    != LIN_MSG_IGNORE
        LIN_Buf_3A,
    #endif

   #if    LIN_MSG_3B    != LIN_MSG_IGNORE
        LIN_Buf_3B,
    #endif

   #if    LIN_MSG_3C    != LIN_MSG_IGNORE
        LIN_Buf_3C,
    #endif

   #if    LIN_MSG_3D    != LIN_MSG_IGNORE
        LIN_Buf_3D,
    #endif

   #if    LIN_MSG_3E    != LIN_MSG_IGNORE
        LIN_Buf_3E,
    #endif

   #if    LIN_MSG_3F    != LIN_MSG_IGNORE
        LIN_Buf_3F,
    #endif

};


/* Size of configured messages tables */

#define LIN_LIST_SIZE   ( sizeof( LIN_MsgBuf ) / sizeof( LIN_MsgBuf[0] ) )

const L_U8  LIN_ListSize = LIN_LIST_SIZE;

/* Configured messages Status List */

L_U8    LIN_MsgStatus[LIN_LIST_SIZE];


/****** LIN Message Index LookupTable *****/
/* for Master [62]? -- OPTIMIZE */

const L_U8 LIN_Msg_Index [64] =
{

   #if    LIN_MSG_0    != LIN_MSG_IGNORE
     LIN_MSG_0
#else /* defined( LIN_MSG_0 ) */
     LIN_MSG_IGNORE
#endif /* defined( LIN_MSG_0 ) */

   #if    LIN_MSG_1    != LIN_MSG_IGNORE
   ,LIN_MSG_1
   #if    LIN_MSG_0    != LIN_MSG_IGNORE
       +1
   #endif

#else /* defined( LIN_MSG_1 ) */
     ,LIN_MSG_IGNORE
#endif /* defined( LIN_MSG_1 ) */

   #if    LIN_MSG_2    != LIN_MSG_IGNORE
   ,LIN_MSG_2
   #if    LIN_MSG_0    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_1    != LIN_MSG_IGNORE
       +1
   #endif

#else /* defined( LIN_MSG_2 ) */
     ,LIN_MSG_IGNORE
#endif /* defined( LIN_MSG_2 ) */

   #if    LIN_MSG_3    != LIN_MSG_IGNORE
   ,LIN_MSG_3
   #if    LIN_MSG_0    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_1    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_2    != LIN_MSG_IGNORE
       +1
   #endif

#else /* defined( LIN_MSG_3 ) */
     ,LIN_MSG_IGNORE
#endif /* defined( LIN_MSG_3 ) */

   #if    LIN_MSG_4    != LIN_MSG_IGNORE
   ,LIN_MSG_4
   #if    LIN_MSG_0    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_1    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_2    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_3    != LIN_MSG_IGNORE
       +1
   #endif

#else /* defined( LIN_MSG_4 ) */
     ,LIN_MSG_IGNORE
#endif /* defined( LIN_MSG_4 ) */

   #if    LIN_MSG_5    != LIN_MSG_IGNORE
   ,LIN_MSG_5
   #if    LIN_MSG_0    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_1    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_2    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_3    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_4    != LIN_MSG_IGNORE
       +1
   #endif

#else /* defined( LIN_MSG_5 ) */
     ,LIN_MSG_IGNORE
#endif /* defined( LIN_MSG_5 ) */

   #if    LIN_MSG_6    != LIN_MSG_IGNORE
   ,LIN_MSG_6
   #if    LIN_MSG_0    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_1    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_2    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_3    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_4    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_5    != LIN_MSG_IGNORE
       +1
   #endif

#else /* defined( LIN_MSG_6 ) */
     ,LIN_MSG_IGNORE
#endif /* defined( LIN_MSG_6 ) */

   #if    LIN_MSG_7    != LIN_MSG_IGNORE
   ,LIN_MSG_7
   #if    LIN_MSG_0    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_1    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_2    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_3    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_4    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_5    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_6    != LIN_MSG_IGNORE
       +1
   #endif

#else /* defined( LIN_MSG_7 ) */
     ,LIN_MSG_IGNORE
#endif /* defined( LIN_MSG_7 ) */

   #if    LIN_MSG_8    != LIN_MSG_IGNORE
   ,LIN_MSG_8
   #if    LIN_MSG_0    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_1    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_2    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_3    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_4    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_5    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_6    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_7    != LIN_MSG_IGNORE
       +1
   #endif

#else /* defined( LIN_MSG_8 ) */
     ,LIN_MSG_IGNORE
#endif /* defined( LIN_MSG_8 ) */

   #if    LIN_MSG_9    != LIN_MSG_IGNORE
   ,LIN_MSG_9
   #if    LIN_MSG_0    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_1    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_2    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_3    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_4    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_5    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_6    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_7    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_8    != LIN_MSG_IGNORE
       +1
   #endif

#else /* defined( LIN_MSG_9 ) */
     ,LIN_MSG_IGNORE
#endif /* defined( LIN_MSG_9 ) */

   #if    LIN_MSG_A    != LIN_MSG_IGNORE
   ,LIN_MSG_A
   #if    LIN_MSG_0    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_1    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_2    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_3    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_4    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_5    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_6    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_7    != LIN_MSG_IGNORE
       +1
   #endif

   #if    LIN_MSG_8    != LIN_MSG_IGNORE

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -