ld2_slave.h

来自「MC68HC908QY4 LIN-BUS源码(编译环境:CodeWarriorV」· C头文件 代码 · 共 49 行

H
49
字号
/* ************************************************************************ */
/*                                                                          */
/*                  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_u8 ld2_flags;
} ld2_ram_slave;


typedef struct 
{
#ifndef SINGLE_INTERFACE_LIBRARY
  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;
#endif
  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;


#endif /* __LD2_SLAVE_H__ */

⌨️ 快捷键说明

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