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

📄 lin_msgidsa.c

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

#ifdef LIN_MSG_2E
    L_U8 LIN_Buf_2E[LIN_MSG_REAL_LEN_2E];
#endif

#ifdef LIN_MSG_2F
    L_U8 LIN_Buf_2F[LIN_MSG_REAL_LEN_2F];
#endif

#ifdef LIN_MSG_30
    L_U8 LIN_Buf_30[LIN_MSG_REAL_LEN_30];
#endif

#ifdef LIN_MSG_31
    L_U8 LIN_Buf_31[LIN_MSG_REAL_LEN_31];
#endif

#ifdef LIN_MSG_32
    L_U8 LIN_Buf_32[LIN_MSG_REAL_LEN_32];
#endif

#ifdef LIN_MSG_33
    L_U8 LIN_Buf_33[LIN_MSG_REAL_LEN_33];
#endif

#ifdef LIN_MSG_34
    L_U8 LIN_Buf_34[LIN_MSG_REAL_LEN_34];
#endif

#ifdef LIN_MSG_35
    L_U8 LIN_Buf_35[LIN_MSG_REAL_LEN_35];
#endif

#ifdef LIN_MSG_36
    L_U8 LIN_Buf_36[LIN_MSG_REAL_LEN_36];
#endif

#ifdef LIN_MSG_37
    L_U8 LIN_Buf_37[LIN_MSG_REAL_LEN_37];
#endif

#ifdef LIN_MSG_38
    L_U8 LIN_Buf_38[LIN_MSG_REAL_LEN_38];
#endif

#ifdef LIN_MSG_39
    L_U8 LIN_Buf_39[LIN_MSG_REAL_LEN_39];
#endif

#ifdef LIN_MSG_3A
    L_U8 LIN_Buf_3A[LIN_MSG_REAL_LEN_3A];
#endif

#ifdef LIN_MSG_3B
    L_U8 LIN_Buf_3B[LIN_MSG_REAL_LEN_3B];
#endif

#ifdef LIN_MSG_3C
    L_U8 LIN_Buf_3C[LIN_MSG_REAL_LEN_3C];
#endif

#ifdef LIN_MSG_3D
    L_U8 LIN_Buf_3D[LIN_MSG_REAL_LEN_3D];
#endif

#ifdef LIN_MSG_3E
    L_U8 LIN_Buf_3E[LIN_MSG_REAL_LEN_3E];
#endif

#ifdef LIN_MSG_3F
    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

    #ifdef LIN_MSG_0
       0x80,
   #endif

    #ifdef LIN_MSG_1
       0xC1,
   #endif

    #ifdef LIN_MSG_2
       0x42,
   #endif

    #ifdef LIN_MSG_3
       0x3,
   #endif

    #ifdef LIN_MSG_4
       0xC4,
   #endif

    #ifdef LIN_MSG_5
       0x85,
   #endif

    #ifdef LIN_MSG_6
       0x6,
   #endif

    #ifdef LIN_MSG_7
       0x47,
   #endif

    #ifdef LIN_MSG_8
       0x8,
   #endif

    #ifdef LIN_MSG_9
       0x49,
   #endif

    #ifdef LIN_MSG_A
       0xCA,
   #endif

    #ifdef LIN_MSG_B
       0x8B,
   #endif

    #ifdef LIN_MSG_C
       0x4C,
   #endif

    #ifdef LIN_MSG_D
       0xD,
   #endif

    #ifdef LIN_MSG_E
       0x8E,
   #endif

    #ifdef LIN_MSG_F
       0xCF,
   #endif

    #ifdef LIN_MSG_10
       0x50,
   #endif

    #ifdef LIN_MSG_11
       0x11,
   #endif

    #ifdef LIN_MSG_12
       0x92,
   #endif

    #ifdef LIN_MSG_13
       0xD3,
   #endif

    #ifdef LIN_MSG_14
       0x14,
   #endif

    #ifdef LIN_MSG_15
       0x55,
   #endif

    #ifdef LIN_MSG_16
       0xD6,
   #endif

    #ifdef LIN_MSG_17
       0x97,
   #endif

    #ifdef LIN_MSG_18
       0xD8,
   #endif

    #ifdef LIN_MSG_19
       0x99,
   #endif

    #ifdef LIN_MSG_1A
       0x1A,
   #endif

    #ifdef LIN_MSG_1B
       0x5B,
   #endif

    #ifdef LIN_MSG_1C
       0x9C,
   #endif

    #ifdef LIN_MSG_1D
       0xDD,
   #endif

    #ifdef LIN_MSG_1E
       0x5E,
   #endif

    #ifdef LIN_MSG_1F
       0x1F,
   #endif

    #ifdef LIN_MSG_20
       0x20,
   #endif

    #ifdef LIN_MSG_21
       0x61,
   #endif

    #ifdef LIN_MSG_22
       0xE2,
   #endif

    #ifdef LIN_MSG_23
       0xA3,
   #endif

    #ifdef LIN_MSG_24
       0x64,
   #endif

    #ifdef LIN_MSG_25
       0x25,
   #endif

    #ifdef LIN_MSG_26
       0xA6,
   #endif

    #ifdef LIN_MSG_27
       0xE7,
   #endif

    #ifdef LIN_MSG_28
       0xA8,
   #endif

    #ifdef LIN_MSG_29
       0xE9,
   #endif

    #ifdef LIN_MSG_2A
       0x6A,
   #endif

    #ifdef LIN_MSG_2B
       0x2B,
   #endif

    #ifdef LIN_MSG_2C
       0xEC,
   #endif

    #ifdef LIN_MSG_2D
       0xAD,
   #endif

    #ifdef LIN_MSG_2E
       0x2E,
   #endif

    #ifdef LIN_MSG_2F
       0x6F,
   #endif

    #ifdef LIN_MSG_30
       0xF0,
   #endif

    #ifdef LIN_MSG_31
       0xB1,
   #endif

    #ifdef LIN_MSG_32
       0x32,
   #endif

    #ifdef LIN_MSG_33
       0x73,
   #endif

    #ifdef LIN_MSG_34
       0xB4,
   #endif

    #ifdef LIN_MSG_35
       0xF5,
   #endif

    #ifdef LIN_MSG_36
       0x76,
   #endif

    #ifdef LIN_MSG_37
       0x37,
   #endif

    #ifdef LIN_MSG_38
       0x78,
   #endif

    #ifdef LIN_MSG_39
       0x39,
   #endif

    #ifdef LIN_MSG_3A
       0xBA,
   #endif

    #ifdef LIN_MSG_3B
       0xFB,
   #endif

    #ifdef LIN_MSG_3C
       0x3C,
   #endif

    #ifdef LIN_MSG_3D
       0x7D,
   #endif

    #ifdef LIN_MSG_3E
       0xFE,
   #endif

    #ifdef LIN_MSG_3F
       0xBF,
   #endif

};


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

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

   #ifdef LIN_MSG_0
        LIN_MSG_REAL_LEN_0,
    #endif

   #ifdef LIN_MSG_1
        LIN_MSG_REAL_LEN_1,
    #endif

   #ifdef LIN_MSG_2
        LIN_MSG_REAL_LEN_2,
    #endif

   #ifdef LIN_MSG_3
        LIN_MSG_REAL_LEN_3,
    #endif

   #ifdef LIN_MSG_4
        LIN_MSG_REAL_LEN_4,
    #endif

   #ifdef LIN_MSG_5
        LIN_MSG_REAL_LEN_5,
    #endif

   #ifdef LIN_MSG_6
        LIN_MSG_REAL_LEN_6,
    #endif

   #ifdef LIN_MSG_7
        LIN_MSG_REAL_LEN_7,
    #endif

   #ifdef LIN_MSG_8
        LIN_MSG_REAL_LEN_8,
    #endif

   #ifdef LIN_MSG_9
        LIN_MSG_REAL_LEN_9,
    #endif

   #ifdef LIN_MSG_A
        LIN_MSG_REAL_LEN_A,
    #endif

   #ifdef LIN_MSG_B
        LIN_MSG_REAL_LEN_B,
    #endif

   #ifdef LIN_MSG_C
        LIN_MSG_REAL_LEN_C,
    #endif

   #ifdef LIN_MSG_D
        LIN_MSG_REAL_LEN_D,
    #endif

   #ifdef LIN_MSG_E
        LIN_MSG_REAL_LEN_E,
    #endif

   #ifdef LIN_MSG_F
        LIN_MSG_REAL_LEN_F,
    #endif

   #ifdef LIN_MSG_10
        LIN_MSG_REAL_LEN_10,
    #endif

   #ifdef LIN_MSG_11
        LIN_MSG_REAL_LEN_11,
    #endif

   #ifdef LIN_MSG_12
        LIN_MSG_REAL_LEN_12,
    #endif

   #ifdef LIN_MSG_13
        LIN_MSG_REAL_LEN_13,
    #endif

   #ifdef LIN_MSG_14
        LIN_MSG_REAL_LEN_14,
    #endif

   #ifdef LIN_MSG_15
        LIN_MSG_REAL_LEN_15,
    #endif

   #ifdef LIN_MSG_16
        LIN_MSG_REAL_LEN_16,
    #endif

   #ifdef LIN_MSG_17
        LIN_MSG_REAL_LEN_17,
    #endif

   #ifdef LIN_MSG_18
        LIN_MSG_REAL_LEN_18,
    #endif

   #ifdef LIN_MSG_19
        LIN_MSG_REAL_LEN_19,
    #endif

   #ifdef LIN_MSG_1A
        LIN_MSG_REAL_LEN_1A,
    #endif

   #ifdef LIN_MSG_1B
        LIN_MSG_REAL_LEN_1B,
    #endif

   #ifdef LIN_MSG_1C
        LIN_MSG_REAL_LEN_1C,
    #endif

   #ifdef LIN_MSG_1D
        LIN_MSG_REAL_LEN_1D,
    #endif

   #ifdef LIN_MSG_1E
        LIN_MSG_REAL_LEN_1E,
    #endif

   #ifdef LIN_MSG_1F
        LIN_MSG_REAL_LEN_1F,
    #endif

   #ifdef LIN_MSG_20
        LIN_MSG_REAL_LEN_20,
    #endif

   #ifdef LIN_MSG_21
        LIN_MSG_REAL_LEN_21,
    #endif

   #ifdef LIN_MSG_22
        LIN_MSG_REAL_LEN_22,
    #endif

   #ifdef LIN_MSG_23
        LIN_MSG_REAL_LEN_23,
    #endif

   #ifdef LIN_MSG_24
        LIN_MSG_REAL_LEN_24,
    #endif

   #ifdef LIN_MSG_25
        LIN_MSG_REAL_LEN_25,
    #endif

   #ifdef LIN_MSG_26
        LIN_MSG_REAL_LEN_26,
    #endif

   #ifdef LIN_MSG_27
        LIN_MSG_REAL_LEN_27,
    #endif

   #ifdef LIN_MSG_28
        LIN_MSG_REAL_LEN_28,
    #endif

   #ifdef LIN_MSG_29
        LIN_MSG_REAL_LEN_29,
    #endif

   #ifdef LIN_MSG_2A
        LIN_MSG_REAL_LEN_2A,
    #endif

   #ifdef LIN_MSG_2B
        LIN_MSG_REAL_LEN_2B,
    #endif

   #ifdef LIN_MSG_2C
        LIN_MSG_REAL_LEN_2C,
    #endif

   #ifdef LIN_MSG_2D
        LIN_MSG_REAL_LEN_2D,
    #endif

   #ifdef LIN_MSG_2E
        LIN_MSG_REAL_LEN_2E,
    #endif

   #ifdef LIN_MSG_2F
        LIN_MSG_REAL_LEN_2F,
    #endif

   #ifdef LIN_MSG_30
        LIN_MSG_REAL_LEN_30,
    #endif

   #ifdef LIN_MSG_31
        LIN_MSG_REAL_LEN_31,
    #endif

   #ifdef LIN_MSG_32
        LIN_MSG_REAL_LEN_32,
    #endif

   #ifdef LIN_MSG_33
        LIN_MSG_REAL_LEN_33,
    #endif

   #ifdef LIN_MSG_34
        LIN_MSG_REAL_LEN_34,
    #endif

   #ifdef LIN_MSG_35
        LIN_MSG_REAL_LEN_35,
    #endif

   #ifdef LIN_MSG_36
        LIN_MSG_REAL_LEN_36,
    #endif

   #ifdef LIN_MSG_37
        LIN_MSG_REAL_LEN_37,
    #endif

   #ifdef LIN_MSG_38
        LIN_MSG_REAL_LEN_38,
    #endif

   #ifdef LIN_MSG_39
        LIN_MSG_REAL_LEN_39,
    #endif

   #ifdef LIN_MSG_3A
        LIN_MSG_REAL_LEN_3A,
    #endif

   #ifdef LIN_MSG_3B
        LIN_MSG_REAL_LEN_3B,
    #endif

   #ifdef LIN_MSG_3C
        LIN_MSG_REAL_LEN_3C,
    #endif

   #ifdef LIN_MSG_3D
        LIN_MSG_REAL_LEN_3D,
    #endif

   #ifdef LIN_MSG_3E
        LIN_MSG_REAL_LEN_3E,
    #endif

   #ifdef LIN_MSG_3F
        LIN_MSG_REAL_LEN_3F,
    #endif

};

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


/* Configured messages buffer list */

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

    #ifdef LIN_MSG_0
        LIN_Buf_0,
    #endif

    #ifdef LIN_MSG_1
        LIN_Buf_1,
    #endif

    #ifdef LIN_MSG_2
        LIN_Buf_2,
    #endif

    #ifdef LIN_MSG_3
        LIN_Buf_3,
    #endif

    #ifdef LIN_MSG_4
        LIN_Buf_4,
    #endif

    #ifdef LIN_MSG_5
        LIN_Buf_5,
    #endif

    #ifdef LIN_MSG_6
        LIN_Buf_6,
    #endif

    #ifdef LIN_MSG_7
        LIN_Buf_7,
    #endif

    #ifdef LIN_MSG_8
        LIN_Buf_8,
    #endif

    #ifdef LIN_MSG_9
        LIN_Buf_9,
    #endif

    #ifdef LIN_MSG_A
        LIN_Buf_A,
    #endif

    #ifdef LIN_MSG_B
        LIN_Buf_B,
    #endif

    #ifdef LIN_MSG_C
        LIN_Buf_C,
    #endif

    #ifdef LIN_MSG_D
        LIN_Buf_D,
    #endif

    #ifdef LIN_MSG_E
        LIN_Buf_E,
    #endif

    #ifdef LIN_MSG_F
        LIN_Buf_F,
    #endif

    #ifdef LIN_MSG_10
        LIN_Buf_10,
    #endif

    #ifdef LIN_MSG_11
        LIN_Buf_11,
    #endif

    #ifdef LIN_MSG_12
        LIN_Buf_12,
    #endif

    #ifdef LIN_MSG_13
        LIN_Buf_13,
    #endif

    #ifdef LIN_MSG_14
        LIN_Buf_14,
    #endif

    #ifdef LIN_MSG_15
        LIN_Buf_15,
    #endif

    #ifdef LIN_MSG_16
        LIN_Buf_16,
    #endif

    #ifdef LIN_MSG_17
        LIN_Buf_17,
    #endif

    #ifdef LIN_MSG_18
        LIN_Buf_18,
    #endif

    #ifdef LIN_MSG_19
        LIN_Buf_19,
    #endif

    #ifdef LIN_MSG_1A
        LIN_Buf_1A,
    #endif

    #ifdef LIN_MSG_1B
        LIN_Buf_1B,
    #endif

    #ifdef LIN_MSG_1C
        LIN_Buf_1C,
    #endif

    #ifdef LIN_MSG_1D
        LIN_Buf_1D,
    #endif

    #ifdef LIN_MSG_1E
        LIN_Buf_1E,
    #endif

    #ifdef LIN_MSG_1F
        LIN_Buf_1F,
    #endif

    #ifdef LIN_MSG_20
        LIN_Buf_20,
    #endif

    #ifdef LIN_MSG_21
        LIN_Buf_21,
    #endif

    #ifdef LIN_MSG_22
        LIN_Buf_22,
    #endif

    #ifdef LIN_MSG_23
        LIN_Buf_23,
    #endif

    #ifdef LIN_MSG_24
        LIN_Buf_24,
    #endif

    #ifdef LIN_MSG_25
        LIN_Buf_25,
    #endif

    #ifdef LIN_MSG_26
        LIN_Buf_26,
    #endif

    #ifdef LIN_MSG_27
        LIN_Buf_27,
    #endif

    #ifdef LIN_MSG_28
        LIN_Buf_28,
    #endif

    #ifdef LIN_MSG_29
        LIN_Buf_29,
    #endif

    #ifdef LIN_MSG_2A
        LIN_Buf_2A,
    #endif

    #ifdef LIN_MSG_2B
        LIN_Buf_2B,
    #endif

    #ifdef LIN_MSG_2C
        LIN_Buf_2C,
    #endif

    #ifdef LIN_MSG_2D
        LIN_Buf_2D,
    #endif

    #ifdef LIN_MSG_2E
        LIN_Buf_2E,
    #endif

    #ifdef LIN_MSG_2F
        LIN_Buf_2F,
    #endif

    #ifdef LIN_MSG_30
        LIN_Buf_30,
    #endif

    #ifdef LIN_MSG_31
        LIN_Buf_31,
    #endif

    #ifdef LIN_MSG_32
        LIN_Buf_32,
    #endif

    #ifdef LIN_MSG_33
        LIN_Buf_33,
    #endif

    #ifdef LIN_MSG_34
        LIN_Buf_34,
    #endif

⌨️ 快捷键说明

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