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

📄 ld2_master.h

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

/* **************************************************************************
 *         File: ld2_master.h
 *  Description: ld2_master is the internal driver for the diagnostic 
 *               support function for master nodes. It does not represent 
 *               a customer API.
 */


#ifndef __L_D_MASTER_H__
#define __L_D_MASTER_H__

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

typedef enum 
{
  ld2_ready,
  ld2_mrf_transmit,
  ld2_srf_response
} ld2_state_master;


typedef struct 
{
  l_u8*             data;
  ld2_state_master  state;
  l_u8              response_status;
  l_bool            response;
} ld2_ram_master;


typedef struct
{
  l_ifc_master_handle   ifc;
  l_master_frame_handle mrf;        /* master request frame */
  l_master_frame_handle srf;        /* request frame */
  ld2_ram_master* ram;
} ld2_ifc_master, *ld2_ifc_master_handle;

#endif /* __L_D_MASTER_H__ */

⌨️ 快捷键说明

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