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

📄 lin_msgids.c

📁 此程序为DP256的SPI实验程序,已经通过实验证明
💻 C
📖 第 1 页 / 共 5 页
字号:
#if    LIN_MSG_4  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_4[LIN_MSG_REAL_LEN_4];
#endif

#if    LIN_MSG_5  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_5[LIN_MSG_REAL_LEN_5];
#endif

#if    LIN_MSG_6  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_6[LIN_MSG_REAL_LEN_6];
#endif

#if    LIN_MSG_7  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_7[LIN_MSG_REAL_LEN_7];
#endif

#if    LIN_MSG_8  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_8[LIN_MSG_REAL_LEN_8];
#endif

#if    LIN_MSG_9  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_9[LIN_MSG_REAL_LEN_9];
#endif

#if    LIN_MSG_A  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_A[LIN_MSG_REAL_LEN_A];
#endif

#if    LIN_MSG_B  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_B[LIN_MSG_REAL_LEN_B];
#endif

#if    LIN_MSG_C  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_C[LIN_MSG_REAL_LEN_C];
#endif

#if    LIN_MSG_D  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_D[LIN_MSG_REAL_LEN_D];
#endif

#if    LIN_MSG_E  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_E[LIN_MSG_REAL_LEN_E];
#endif

#if    LIN_MSG_F  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_F[LIN_MSG_REAL_LEN_F];
#endif

#if    LIN_MSG_10  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_10[LIN_MSG_REAL_LEN_10];
#endif

#if    LIN_MSG_11  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_11[LIN_MSG_REAL_LEN_11];
#endif

#if    LIN_MSG_12  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_12[LIN_MSG_REAL_LEN_12];
#endif

#if    LIN_MSG_13  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_13[LIN_MSG_REAL_LEN_13];
#endif

#if    LIN_MSG_14  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_14[LIN_MSG_REAL_LEN_14];
#endif

#if    LIN_MSG_15  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_15[LIN_MSG_REAL_LEN_15];
#endif

#if    LIN_MSG_16  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_16[LIN_MSG_REAL_LEN_16];
#endif

#if    LIN_MSG_17  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_17[LIN_MSG_REAL_LEN_17];
#endif

#if    LIN_MSG_18  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_18[LIN_MSG_REAL_LEN_18];
#endif

#if    LIN_MSG_19  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_19[LIN_MSG_REAL_LEN_19];
#endif

#if    LIN_MSG_1A  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_1A[LIN_MSG_REAL_LEN_1A];
#endif

#if    LIN_MSG_1B  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_1B[LIN_MSG_REAL_LEN_1B];
#endif

#if    LIN_MSG_1C  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_1C[LIN_MSG_REAL_LEN_1C];
#endif

#if    LIN_MSG_1D  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_1D[LIN_MSG_REAL_LEN_1D];
#endif

#if    LIN_MSG_1E  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_1E[LIN_MSG_REAL_LEN_1E];
#endif

#if    LIN_MSG_1F  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_1F[LIN_MSG_REAL_LEN_1F];
#endif

#if    LIN_MSG_20  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_20[LIN_MSG_REAL_LEN_20];
#endif

#if    LIN_MSG_21  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_21[LIN_MSG_REAL_LEN_21];
#endif

#if    LIN_MSG_22  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_22[LIN_MSG_REAL_LEN_22];
#endif

#if    LIN_MSG_23  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_23[LIN_MSG_REAL_LEN_23];
#endif

#if    LIN_MSG_24  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_24[LIN_MSG_REAL_LEN_24];
#endif

#if    LIN_MSG_25  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_25[LIN_MSG_REAL_LEN_25];
#endif

#if    LIN_MSG_26  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_26[LIN_MSG_REAL_LEN_26];
#endif

#if    LIN_MSG_27  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_27[LIN_MSG_REAL_LEN_27];
#endif

#if    LIN_MSG_28  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_28[LIN_MSG_REAL_LEN_28];
#endif

#if    LIN_MSG_29  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_29[LIN_MSG_REAL_LEN_29];
#endif

#if    LIN_MSG_2A  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_2A[LIN_MSG_REAL_LEN_2A];
#endif

#if    LIN_MSG_2B  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_2B[LIN_MSG_REAL_LEN_2B];
#endif

#if    LIN_MSG_2C  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_2C[LIN_MSG_REAL_LEN_2C];
#endif

#if    LIN_MSG_2D  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_2D[LIN_MSG_REAL_LEN_2D];
#endif

#if    LIN_MSG_2E  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_2E[LIN_MSG_REAL_LEN_2E];
#endif

#if    LIN_MSG_2F  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_2F[LIN_MSG_REAL_LEN_2F];
#endif

#if    LIN_MSG_30  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_30[LIN_MSG_REAL_LEN_30];
#endif

#if    LIN_MSG_31  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_31[LIN_MSG_REAL_LEN_31];
#endif

#if    LIN_MSG_32  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_32[LIN_MSG_REAL_LEN_32];
#endif

#if    LIN_MSG_33  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_33[LIN_MSG_REAL_LEN_33];
#endif

#if    LIN_MSG_34  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_34[LIN_MSG_REAL_LEN_34];
#endif

#if    LIN_MSG_35  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_35[LIN_MSG_REAL_LEN_35];
#endif

#if    LIN_MSG_36  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_36[LIN_MSG_REAL_LEN_36];
#endif

#if    LIN_MSG_37  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_37[LIN_MSG_REAL_LEN_37];
#endif

#if    LIN_MSG_38  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_38[LIN_MSG_REAL_LEN_38];
#endif

#if    LIN_MSG_39  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_39[LIN_MSG_REAL_LEN_39];
#endif

#if    LIN_MSG_3A  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_3A[LIN_MSG_REAL_LEN_3A];
#endif

#if    LIN_MSG_3B  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_3B[LIN_MSG_REAL_LEN_3B];
#endif

#if    LIN_MSG_3C  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_3C[LIN_MSG_REAL_LEN_3C];
#endif

#if    LIN_MSG_3D  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_3D[LIN_MSG_REAL_LEN_3D];
#endif

#if    LIN_MSG_3E  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_3E[LIN_MSG_REAL_LEN_3E];
#endif

#if    LIN_MSG_3F  != LIN_MSG_IGNORE
    L_U8 LIN_Buf_3F[LIN_MSG_REAL_LEN_3F];
#endif



/****** Message Data Tables *****/

//#if defined(SLAVE)

/* Configured messages Id -- only for Slave node */

const L_U8 LIN_MsgId[] =
{
    #ifdef LIN_MSG_NONE
        x00
    #endif

    #if    LIN_MSG_0    != LIN_MSG_IGNORE
       0x80,
   #endif

    #if    LIN_MSG_1    != LIN_MSG_IGNORE
       0xC1,
   #endif

    #if    LIN_MSG_2    != LIN_MSG_IGNORE
       0x42,
   #endif

    #if    LIN_MSG_3    != LIN_MSG_IGNORE
       0x3,
   #endif

    #if    LIN_MSG_4    != LIN_MSG_IGNORE
       0xC4,
   #endif

    #if    LIN_MSG_5    != LIN_MSG_IGNORE
       0x85,
   #endif

    #if    LIN_MSG_6    != LIN_MSG_IGNORE
       0x6,
   #endif

    #if    LIN_MSG_7    != LIN_MSG_IGNORE
       0x47,
   #endif

    #if    LIN_MSG_8    != LIN_MSG_IGNORE
       0x8,
   #endif

    #if    LIN_MSG_9    != LIN_MSG_IGNORE
       0x49,
   #endif

    #if    LIN_MSG_A    != LIN_MSG_IGNORE
       0xCA,
   #endif

    #if    LIN_MSG_B    != LIN_MSG_IGNORE
       0x8B,
   #endif

    #if    LIN_MSG_C    != LIN_MSG_IGNORE
       0x4C,
   #endif

    #if    LIN_MSG_D    != LIN_MSG_IGNORE
       0xD,
   #endif

    #if    LIN_MSG_E    != LIN_MSG_IGNORE
       0x8E,
   #endif

    #if    LIN_MSG_F    != LIN_MSG_IGNORE
       0xCF,
   #endif

    #if    LIN_MSG_10    != LIN_MSG_IGNORE
       0x50,
   #endif

    #if    LIN_MSG_11    != LIN_MSG_IGNORE
       0x11,
   #endif

    #if    LIN_MSG_12    != LIN_MSG_IGNORE
       0x92,
   #endif

    #if    LIN_MSG_13    != LIN_MSG_IGNORE
       0xD3,
   #endif

    #if    LIN_MSG_14    != LIN_MSG_IGNORE
       0x14,
   #endif

    #if    LIN_MSG_15    != LIN_MSG_IGNORE
       0x55,
   #endif

    #if    LIN_MSG_16    != LIN_MSG_IGNORE
       0xD6,
   #endif

    #if    LIN_MSG_17    != LIN_MSG_IGNORE
       0x97,
   #endif

    #if    LIN_MSG_18    != LIN_MSG_IGNORE
       0xD8,
   #endif

    #if    LIN_MSG_19    != LIN_MSG_IGNORE
       0x99,
   #endif

    #if    LIN_MSG_1A    != LIN_MSG_IGNORE
       0x1A,
   #endif

    #if    LIN_MSG_1B    != LIN_MSG_IGNORE
       0x5B,
   #endif

    #if    LIN_MSG_1C    != LIN_MSG_IGNORE
       0x9C,
   #endif

    #if    LIN_MSG_1D    != LIN_MSG_IGNORE
       0xDD,
   #endif

    #if    LIN_MSG_1E    != LIN_MSG_IGNORE
       0x5E,
   #endif

    #if    LIN_MSG_1F    != LIN_MSG_IGNORE
       0x1F,
   #endif

    #if    LIN_MSG_20    != LIN_MSG_IGNORE
       0x20,
   #endif

    #if    LIN_MSG_21    != LIN_MSG_IGNORE
       0x61,
   #endif

    #if    LIN_MSG_22    != LIN_MSG_IGNORE
       0xE2,
   #endif

    #if    LIN_MSG_23    != LIN_MSG_IGNORE
       0xA3,
   #endif

    #if    LIN_MSG_24    != LIN_MSG_IGNORE
       0x64,
   #endif

    #if    LIN_MSG_25    != LIN_MSG_IGNORE
       0x25,
   #endif

    #if    LIN_MSG_26    != LIN_MSG_IGNORE
       0xA6,
   #endif

    #if    LIN_MSG_27    != LIN_MSG_IGNORE
       0xE7,
   #endif

    #if    LIN_MSG_28    != LIN_MSG_IGNORE
       0xA8,
   #endif

    #if    LIN_MSG_29    != LIN_MSG_IGNORE
       0xE9,
   #endif

    #if    LIN_MSG_2A    != LIN_MSG_IGNORE
       0x6A,
   #endif

    #if    LIN_MSG_2B    != LIN_MSG_IGNORE
       0x2B,
   #endif

    #if    LIN_MSG_2C    != LIN_MSG_IGNORE
       0xEC,
   #endif

    #if    LIN_MSG_2D    != LIN_MSG_IGNORE
       0xAD,
   #endif

    #if    LIN_MSG_2E    != LIN_MSG_IGNORE
       0x2E,
   #endif

    #if    LIN_MSG_2F    != LIN_MSG_IGNORE
       0x6F,
   #endif

    #if    LIN_MSG_30    != LIN_MSG_IGNORE
       0xF0,
   #endif

    #if    LIN_MSG_31    != LIN_MSG_IGNORE
       0xB1,
   #endif

    #if    LIN_MSG_32    != LIN_MSG_IGNORE
       0x32,
   #endif

    #if    LIN_MSG_33    != LIN_MSG_IGNORE
       0x73,
   #endif

    #if    LIN_MSG_34    != LIN_MSG_IGNORE
       0xB4,
   #endif

    #if    LIN_MSG_35    != LIN_MSG_IGNORE
       0xF5,
   #endif

    #if    LIN_MSG_36    != LIN_MSG_IGNORE
       0x76,
   #endif

    #if    LIN_MSG_37    != LIN_MSG_IGNORE
       0x37,
   #endif

    #if    LIN_MSG_38    != LIN_MSG_IGNORE
       0x78,
   #endif

    #if    LIN_MSG_39    != LIN_MSG_IGNORE
       0x39,
   #endif

    #if    LIN_MSG_3A    != LIN_MSG_IGNORE
       0xBA,
   #endif

    #if    LIN_MSG_3B    != LIN_MSG_IGNORE
       0xFB,
   #endif

    #if    LIN_MSG_3C    != LIN_MSG_IGNORE
       0x3C,
   #endif

    #if    LIN_MSG_3D    != LIN_MSG_IGNORE
       0x7D,
   #endif

    #if    LIN_MSG_3E    != LIN_MSG_IGNORE
       0xFE,
   #endif

    #if    LIN_MSG_3F    != LIN_MSG_IGNORE
       0xBF,
   #endif

};


/* Configured messages length -- only for Slave node */

const L_U8 LIN_MsgLen[] =
{
    #ifdef LIN_MSG_NONE
          0
    #endif

   #if    LIN_MSG_0    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_0,
    #endif

   #if    LIN_MSG_1    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_1,
    #endif

   #if    LIN_MSG_2    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_2,
    #endif

   #if    LIN_MSG_3    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_3,
    #endif

   #if    LIN_MSG_4    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_4,
    #endif

   #if    LIN_MSG_5    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_5,
    #endif

   #if    LIN_MSG_6    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_6,
    #endif

   #if    LIN_MSG_7    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_7,
    #endif

   #if    LIN_MSG_8    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_8,
    #endif

   #if    LIN_MSG_9    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_9,
    #endif

   #if    LIN_MSG_A    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_A,
    #endif

   #if    LIN_MSG_B    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_B,
    #endif

   #if    LIN_MSG_C    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_C,
    #endif

   #if    LIN_MSG_D    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_D,
    #endif

   #if    LIN_MSG_E    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_E,
    #endif

   #if    LIN_MSG_F    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_F,
    #endif

   #if    LIN_MSG_10    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_10,
    #endif

   #if    LIN_MSG_11    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_11,
    #endif

   #if    LIN_MSG_12    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_12,
    #endif

   #if    LIN_MSG_13    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_13,
    #endif

   #if    LIN_MSG_14    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_14,
    #endif

   #if    LIN_MSG_15    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_15,
    #endif

   #if    LIN_MSG_16    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_16,
    #endif

   #if    LIN_MSG_17    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_17,
    #endif

   #if    LIN_MSG_18    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_18,
    #endif

   #if    LIN_MSG_19    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_19,
    #endif

   #if    LIN_MSG_1A    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_1A,
    #endif

   #if    LIN_MSG_1B    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_1B,
    #endif

   #if    LIN_MSG_1C    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_1C,
    #endif

   #if    LIN_MSG_1D    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_1D,
    #endif

   #if    LIN_MSG_1E    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_1E,
    #endif

   #if    LIN_MSG_1F    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_1F,
    #endif

   #if    LIN_MSG_20    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_20,
    #endif

   #if    LIN_MSG_21    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_21,
    #endif

   #if    LIN_MSG_22    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_22,
    #endif

   #if    LIN_MSG_23    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_23,
    #endif

   #if    LIN_MSG_24    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_24,
    #endif

   #if    LIN_MSG_25    != LIN_MSG_IGNORE
        LIN_MSG_REAL_LEN_25,

⌨️ 快捷键说明

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