master.id

来自「飞思卡尔车身控制技术研讨会资料 里面有LIN的主从节点源程序」· ID 代码 · 共 72 行

ID
72
字号
#ifndef LINMSGID_H
#define LINMSGID_H
/******************************************************************************
*                                                                     
*       Copyright (C) 2005 Freescale Semiconductor, Inc.              
*       All Rights Reserved								              
*														              
* Filename:     master.id                
*														              
* Revision:      										              
*														              
* Functions:    Message Identifier configuration for LINS08 LINkits Master sample
*         
* Description:  
*
* Notes:        
*
******************************************************************************/

#define LIN_MSG_17  LIN_SEND

/* EY16 Slave IDs */
#define LIN_MSG_21  LIN_RECEIVE
#define LIN_MSG_22  LIN_RECEIVE
#define LIN_MSG_23  LIN_RECEIVE
#define LIN_MSG_20  LIN_RECEIVE

/* GR60 Slave IDs */
#define LIN_MSG_29  LIN_RECEIVE
#define LIN_MSG_2A  LIN_RECEIVE
#define LIN_MSG_2B  LIN_RECEIVE
#define LIN_MSG_28  LIN_RECEIVE

/* QY4 Slave IDs */
#define LIN_MSG_19  LIN_RECEIVE
#define LIN_MSG_1A  LIN_RECEIVE
#define LIN_MSG_1B  LIN_RECEIVE
#define LIN_MSG_18  LIN_RECEIVE

/* Reserved Slave IDs */
#define LIN_MSG_11  LIN_RECEIVE
#define LIN_MSG_12  LIN_RECEIVE
#define LIN_MSG_13  LIN_RECEIVE
#define LIN_MSG_10  LIN_RECEIVE


#define LIN_MSG_17_LEN	2       /* standard length */

#define LIN_MSG_21_LEN	2       
#define LIN_MSG_22_LEN	2       
#define LIN_MSG_23_LEN	2       
#define LIN_MSG_20_LEN	2


#define LIN_MSG_29_LEN	2       
#define LIN_MSG_2A_LEN	2       
#define LIN_MSG_2B_LEN	2       
#define LIN_MSG_28_LEN	2

#define LIN_MSG_19_LEN	2       
#define LIN_MSG_1A_LEN	2       
#define LIN_MSG_1B_LEN	2       
#define LIN_MSG_18_LEN	2

#define LIN_MSG_11_LEN	2       
#define LIN_MSG_12_LEN	2       
#define LIN_MSG_13_LEN	2       
#define LIN_MSG_10_LEN	2

#endif /* defined(LINMSGID_H)*/

⌨️ 快捷键说明

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