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

📄 ld2_slave.h

📁 MC68HC908GR60A LIN-BUS源码(编译环境:CodeWarriorV3.1)
💻 H
字号:
/* ************************************************************************ */
/*                                                                          */
/*                  Volcano Communications Technologies AB                  */
/*                            All rights reserved                           */
/*                                                                          */
/* ************************************************************************ */

/* **************************************************************************
 *         File: ld2_slave.h
 *  Description: ld2_slave is the internal driver for the diagnostic 
 *               support function for slave nodes. It does not represent 
 *               a customer API. As a matter of fact, a slave node does
 *               not have a diagnostic API at all.
 *
 */
#ifndef __LD2_SLAVE_H__
#define __LD2_SLAVE_H__

#include <l_types.h>
#include <l_core.h>


typedef struct
{
  l_bool busy;
} ld2_ram_slave;


typedef struct 
{
  l_ifc_slave_handle ifc;
  ld2_ram_slave*     ram;
  l_u8ram_handle     srf;              /* fg_buffer for the slave response frame */
  l_u8ram_handle     PID_list;
  l_u16              *MID_list;  
  l_u16              supplier_id;
  l_u16              function_id;
  l_flag             srf_frame_flag;  
  l_u8               variant;
  l_u8               PID_num;
} ld2_ifc_slave;

typedef const ld2_ifc_slave* ld2_ifc_slave_handle;


/*****************************************************************************
 * Properties that shall be declared by the application and are used by LTP.
 */
extern l_u8 LD_SERIAL[];

#endif /* __LD2_SLAVE_H__ */

⌨️ 快捷键说明

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