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

📄 linmsgid.c

📁 飞思卡尔车身控制技术研讨会资料 里面有LIN的主从节点源程序
💻 C
📖 第 1 页 / 共 5 页
字号:
    #ifdef LIN_MSG_19
        LINBuffer19,
    #endif

    #ifdef LIN_MSG_1A
        LINBuffer1A,
    #endif

    #ifdef LIN_MSG_1B
        LINBuffer1B,
    #endif

    #ifdef LIN_MSG_1C
        LINBuffer1C,
    #endif

    #ifdef LIN_MSG_1D
        LINBuffer1D,
    #endif

    #ifdef LIN_MSG_1E
        LINBuffer1E,
    #endif

    #ifdef LIN_MSG_1F
        LINBuffer1F,
    #endif

    #ifdef LIN_MSG_20
        LINBuffer20,
    #endif

    #ifdef LIN_MSG_21
        LINBuffer21,
    #endif

    #ifdef LIN_MSG_22
        LINBuffer22,
    #endif

    #ifdef LIN_MSG_23
        LINBuffer23,
    #endif

    #ifdef LIN_MSG_24
        LINBuffer24,
    #endif

    #ifdef LIN_MSG_25
        LINBuffer25,
    #endif

    #ifdef LIN_MSG_26
        LINBuffer26,
    #endif

    #ifdef LIN_MSG_27
        LINBuffer27,
    #endif

    #ifdef LIN_MSG_28
        LINBuffer28,
    #endif

    #ifdef LIN_MSG_29
        LINBuffer29,
    #endif

    #ifdef LIN_MSG_2A
        LINBuffer2A,
    #endif

    #ifdef LIN_MSG_2B
        LINBuffer2B,
    #endif

    #ifdef LIN_MSG_2C
        LINBuffer2C,
    #endif

    #ifdef LIN_MSG_2D
        LINBuffer2D,
    #endif

    #ifdef LIN_MSG_2E
        LINBuffer2E,
    #endif

    #ifdef LIN_MSG_2F
        LINBuffer2F,
    #endif

    #ifdef LIN_MSG_30
        LINBuffer30,
    #endif

    #ifdef LIN_MSG_31
        LINBuffer31,
    #endif

    #ifdef LIN_MSG_32
        LINBuffer32,
    #endif

    #ifdef LIN_MSG_33
        LINBuffer33,
    #endif

    #ifdef LIN_MSG_34
        LINBuffer34,
    #endif

    #ifdef LIN_MSG_35
        LINBuffer35,
    #endif

    #ifdef LIN_MSG_36
        LINBuffer36,
    #endif

    #ifdef LIN_MSG_37
        LINBuffer37,
    #endif

    #ifdef LIN_MSG_38
        LINBuffer38,
    #endif

    #ifdef LIN_MSG_39
        LINBuffer39,
    #endif

    #ifdef LIN_MSG_3A
        LINBuffer3A,
    #endif

    #ifdef LIN_MSG_3B
        LINBuffer3B,
    #endif

    #ifdef LIN_MSG_3C
        LINBuffer3C,
    #endif

    #ifdef LIN_MSG_3D
        LINBuffer3D,
    #endif

    #ifdef LIN_MSG_3E
        LINBuffer3E,
    #endif

    #ifdef LIN_MSG_3F
        LINBuffer3F,
    #endif
};


/* Size of configured messages tables */

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

#if defined (S08DZ60)
const LINStatusType  LinListSize = LIN_LIST_SIZE;
#endif /* defined (S08DZ60) */

/* Configured messages Status List */

LINStatusType    LinMsgStatus[LIN_LIST_SIZE];

#if defined (S08DZ60)
/****** LinLookupTable *****/
/* for Master [62]? -- OPTIM */

const LINMsgIdType LinLookupTable [64] = 
{

#if defined( LIN_MSG_00 )
     LIN_MSG_00
#else /* defined( LIN_MSG_00 ) */
     LIN_IGNORE
#endif /* defined( LIN_MSG_00 ) */

#if defined( LIN_MSG_01 )
    , LIN_MSG_01
#if defined( LIN_MSG_00 )
    +1
#endif
#else /* defined( LIN_MSG_01 ) */
    , LIN_IGNORE
#endif /* defined( LIN_MSG_01 ) */

#if defined( LIN_MSG_02 )
    , LIN_MSG_02
#if defined( LIN_MSG_00 )
    +1
#endif
#if defined( LIN_MSG_01 )
    +1
#endif
#else /* defined( LIN_MSG_02 ) */
    , LIN_IGNORE
#endif /* defined( LIN_MSG_02 ) */

#if defined( LIN_MSG_03 )
    , LIN_MSG_03
#if defined( LIN_MSG_00 )
    +1
#endif
#if defined( LIN_MSG_01 )
    +1
#endif
#if defined( LIN_MSG_02 )
    +1
#endif
#else /* defined( LIN_MSG_03 ) */
    , LIN_IGNORE
#endif /* defined( LIN_MSG_03 ) */

#if defined( LIN_MSG_04 )
    , LIN_MSG_04
#if defined( LIN_MSG_00 )
    +1
#endif
#if defined( LIN_MSG_01 )
    +1
#endif
#if defined( LIN_MSG_02 )
    +1
#endif
#if defined( LIN_MSG_03 )
    +1
#endif
#else /* defined( LIN_MSG_04 ) */
    , LIN_IGNORE
#endif /* defined( LIN_MSG_04 ) */

#if defined( LIN_MSG_05 )
    , LIN_MSG_05
#if defined( LIN_MSG_00 )
    +1
#endif
#if defined( LIN_MSG_01 )
    +1
#endif
#if defined( LIN_MSG_02 )
    +1
#endif
#if defined( LIN_MSG_03 )
    +1
#endif
#if defined( LIN_MSG_04 )
    +1
#endif
#else /* defined( LIN_MSG_05 ) */
    , LIN_IGNORE
#endif /* defined( LIN_MSG_05 ) */

#if defined( LIN_MSG_06 )
    , LIN_MSG_06
#if defined( LIN_MSG_00 )
    +1
#endif
#if defined( LIN_MSG_01 )
    +1
#endif
#if defined( LIN_MSG_02 )
    +1
#endif
#if defined( LIN_MSG_03 )
    +1
#endif
#if defined( LIN_MSG_04 )
    +1
#endif
#if defined( LIN_MSG_05 )
    +1
#endif
#else /* defined( LIN_MSG_06 ) */
    , LIN_IGNORE
#endif /* defined( LIN_MSG_06 ) */

#if defined( LIN_MSG_07 )
    , LIN_MSG_07
#if defined( LIN_MSG_00 )
    +1
#endif
#if defined( LIN_MSG_01 )
    +1
#endif
#if defined( LIN_MSG_02 )
    +1
#endif
#if defined( LIN_MSG_03 )
    +1
#endif
#if defined( LIN_MSG_04 )
    +1
#endif
#if defined( LIN_MSG_05 )
    +1
#endif
#if defined( LIN_MSG_06 )
    +1
#endif
#else /* defined( LIN_MSG_07 ) */
    , LIN_IGNORE
#endif /* defined( LIN_MSG_07 ) */

#if defined( LIN_MSG_08 )
    , LIN_MSG_08
#if defined( LIN_MSG_00 )
    +1
#endif
#if defined( LIN_MSG_01 )
    +1
#endif
#if defined( LIN_MSG_02 )
    +1
#endif
#if defined( LIN_MSG_03 )
    +1
#endif
#if defined( LIN_MSG_04 )
    +1
#endif
#if defined( LIN_MSG_05 )
    +1
#endif
#if defined( LIN_MSG_06 )
    +1
#endif
#if defined( LIN_MSG_07 )
    +1
#endif
#else /* defined( LIN_MSG_08 ) */
    , LIN_IGNORE
#endif /* defined( LIN_MSG_08 ) */

#if defined( LIN_MSG_09 )
    , LIN_MSG_09
#if defined( LIN_MSG_00 )
    +1
#endif
#if defined( LIN_MSG_01 )
    +1
#endif
#if defined( LIN_MSG_02 )
    +1
#endif
#if defined( LIN_MSG_03 )
    +1
#endif
#if defined( LIN_MSG_04 )
    +1
#endif
#if defined( LIN_MSG_05 )
    +1
#endif
#if defined( LIN_MSG_06 )
    +1
#endif
#if defined( LIN_MSG_07 )
    +1
#endif
#if defined( LIN_MSG_08 )
    +1
#endif
#else /* defined( LIN_MSG_09 ) */
    , LIN_IGNORE
#endif /* defined( LIN_MSG_09 ) */

#if defined( LIN_MSG_0A )
    , LIN_MSG_0A
#if defined( LIN_MSG_00 )
    +1
#endif
#if defined( LIN_MSG_01 )
    +1
#endif
#if defined( LIN_MSG_02 )
    +1
#endif
#if defined( LIN_MSG_03 )
    +1
#endif
#if defined( LIN_MSG_04 )
    +1
#endif
#if defined( LIN_MSG_05 )
    +1
#endif
#if defined( LIN_MSG_06 )
    +1
#endif
#if defined( LIN_MSG_07 )
    +1
#endif
#if defined( LIN_MSG_08 )
    +1
#endif
#if defined( LIN_MSG_09 )
    +1
#endif
#else /* defined( LIN_MSG_0A ) */
    , LIN_IGNORE
#endif /* defined( LIN_MSG_0A ) */

#if defined( LIN_MSG_0B )
    , LIN_MSG_0B
#if defined( LIN_MSG_00 )
    +1
#endif
#if defined( LIN_MSG_01 )
    +1
#endif
#if defined( LIN_MSG_02 )
    +1
#endif
#if defined( LIN_MSG_03 )
    +1
#endif
#if defined( LIN_MSG_04 )
    +1
#endif
#if defined( LIN_MSG_05 )
    +1
#endif
#if defined( LIN_MSG_06 )
    +1
#endif
#if defined( LIN_MSG_07 )
    +1
#endif
#if defined( LIN_MSG_08 )
    +1
#endif
#if defined( LIN_MSG_09 )
    +1
#endif
#if defined( LIN_MSG_0A )
    +1
#endif
#else /* defined( LIN_MSG_0B ) */
    , LIN_IGNORE
#endif /* defined( LIN_MSG_0B ) */

#if defined( LIN_MSG_0C )
    , LIN_MSG_0C
#if defined( LIN_MSG_00 )
    +1
#endif
#if defined( LIN_MSG_01 )
    +1
#endif
#if defined( LIN_MSG_02 )
    +1
#endif
#if defined( LIN_MSG_03 )
    +1
#endif
#if defined( LIN_MSG_04 )
    +1
#endif
#if defined( LIN_MSG_05 )
    +1
#endif
#if defined( LIN_MSG_06 )
    +1
#endif
#if defined( LIN_MSG_07 )
    +1
#endif
#if defined( LIN_MSG_08 )
    +1
#endif
#if defined( LIN_MSG_09 )
    +1
#endif
#if defined( LIN_MSG_0A )
    +1
#endif
#if defined( LIN_MSG_0B )
    +1
#endif
#else /* defined( LIN_MSG_0C ) */
    , LIN_IGNORE
#endif /* defined( LIN_MSG_0C ) */

#if defined( LIN_MSG_0D )
    , LIN_MSG_0D
#if defined( LIN_MSG_00 )
    +1
#endif
#if defined( LIN_MSG_01 )
    +1
#endif
#if defined( LIN_MSG_02 )
    +1
#endif
#if defined( LIN_MSG_03 )
    +1
#endif
#if defined( LIN_MSG_04 )
    +1
#endif
#if defined( LIN_MSG_05 )
    +1
#endif
#if defined( LIN_MSG_06 )
    +1
#endif
#if defined( LIN_MSG_07 )
    +1
#endif
#if defined( LIN_MSG_08 )
    +1
#endif
#if defined( LIN_MSG_09 )
    +1
#endif
#if defined( LIN_MSG_0A )
    +1
#endif
#if defined( LIN_MSG_0B )
    +1
#endif
#if defined( LIN_MSG_0C )
    +1
#endif
#else /* defined( LIN_MSG_0D ) */
    , LIN_IGNORE
#endif /* defined( LIN_MSG_0D ) */

#if defined( LIN_MSG_0E )
    , LIN_MSG_0E
#if defined( LIN_MSG_00 )
    +1
#endif
#if defined( LIN_MSG_01 )
    +1
#endif
#if defined( LIN_MSG_02 )
    +1
#endif
#if defined( LIN_MSG_03 )
    +1
#endif
#if defined( LIN_MSG_04 )
    +1
#endif
#if defined( LIN_MSG_05 )
    +1
#endif
#if defined( LIN_MSG_06 )
    +1
#endif
#if defined( LIN_MSG_07 )
    +1
#endif
#if defined( LIN_MSG_08 )
    +1
#endif
#if defined( LIN_MSG_09 )
    +1
#endif
#if defined( LIN_MSG_0A )
    +1
#endif
#if defined( LIN_MSG_0B )
    +1
#endif
#if defined( LIN_MSG_0C )
    +1
#endif
#if defined( LIN_MSG_0D )
    +1
#endif
#else /* defined( LIN_MSG_0E ) */
    , LIN_IGNORE
#endif /* defined( LIN_MSG_0E ) */

#if defined( LIN_MSG_0F )
    , LIN_MSG_0F
#if defined( LIN_MSG_00 )
    +1
#endif
#if defined( LIN_MSG_01 )
    +1
#endif
#if defined( LIN_MSG_02 )
    +1
#endif
#if defined( LIN_MSG_03 )
    +1
#endif
#if defined( LIN_MSG_04 )
    +1
#endif
#if defined( LIN_MSG_05 )
    +1
#endif
#if defined( LIN_MSG_06 )
    +1
#endif
#if defined( LIN_MSG_07 )
    +1
#endif
#if defined( LIN_MSG_08 )
    +1
#endif
#if defined( LIN_MSG_09 )
    +1
#endif
#if defined( LIN_MSG_0A )
    +1
#endif
#if defined( LIN_MSG_0B )
    +1
#endif
#if defined( LIN_MSG_0C )
    +1
#endif
#if defined( LIN_MSG_0D )
    +1
#endif
#if defined( LIN_MSG_0E )
    +1
#endif
#else /* defined( LIN_MSG_0F ) */
    , LIN_IGNORE
#endif /* defined( LIN_MSG_0F ) */

#if defined( LIN_MSG_10 )
    , LIN_MSG_10
#if defined( LIN_MSG_00 )
    +1
#endif
#if defined( LIN_MSG_01 )
    +1
#endif
#if defined( LIN_MSG_02 )
    +1
#endif
#if defined( LIN_MSG_03 )
    +1
#endif
#if defined( LIN_MSG_04 )
    +1
#endif
#if defined( LIN_MSG_05 )
    +1
#endif
#if defined( LIN_MSG_06 )
    +1
#endif
#if defined( LIN_MSG_07 )
    +1
#endif
#if defined( LIN_MSG_08 )
    +1
#endif
#if defined( LIN_MSG_09 )
    +1
#endif
#if defined( LIN_MSG_0A )
    +1
#endif
#if defined( LIN_MSG_0B )
    +1
#endif
#if defined( LIN_MSG_0C )
    +1
#endif
#if defined( LIN_MSG_0D )
    +1
#endif
#if defined( LIN_MSG_0E )
    +1
#endif
#if defined( LIN_MSG_0F )
    +1
#endif
#else /* defined( LIN_MSG_10 ) */
    , LIN_IGNORE
#endif /* defined( LIN_MSG_10 ) */

#if defined( LIN_MSG_11 )
    , LIN_MSG_11
#if defined( LIN_MSG_00 )
    +1
#endif
#if defined( LIN_MSG_01 )
    +1
#endif
#if defined( LIN_MSG_02 )
    +1
#endif
#if defined( LIN_MSG_03 )
    +1
#endif
#if defined( LIN_MSG_04 )
    +1
#endif
#if defined( LIN_MSG_05 )
    +1
#endif
#if defined( LIN_MSG_06 )
    +1
#endif
#if defined( LIN_MSG_07 )
    +1
#endif
#if defined( LIN_MSG_08 )
    +1
#endif
#if defined( LIN_MSG_09 )
    +1
#endif
#if defined( LIN_MSG_0A )
    +1
#endif
#if defined( LIN_MSG_0B )
    +1
#endif
#if defined( LIN_MSG_0C )
    +1
#endif
#if defined( LIN_MSG_0D )
    +1
#endif
#if defined( LIN_MSG_0E )
    +1
#endif
#if defined( LIN_MSG_0F )
    +1
#endif
#if defined( LIN_MSG_10 )
    +1
#endif
#else /* defined( LIN_MSG_11 ) */
    , LIN_IGNORE
#endif /* defined( LIN_MSG_11 ) */

#if defined( LIN_MSG_12 )
    , LIN_MSG_12
#if defined( LIN_MSG_00 )
    +1
#endif
#if defined( LIN_MSG_01 )
    +1
#endif
#if defined( LIN_MSG_02 )
    +1
#endif
#if defined( LIN_MSG_03 )
    +1
#endif

⌨️ 快捷键说明

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