l_types.h
来自「MC68HC908GR60A LIN-BUS源码(编译环境:CodeWarrio」· C头文件 代码 · 共 45 行
H
45 行
/* ************************************************************************ *
* *
* Volcano Communications technologies AB *
* All rights reserved *
* *
* ************************************************************************ */
/* ************************************************************************ *
* File: l_types.h *
* Description: Contains the basic LIN data types that are target-specific *
* ************************************************************************ */
#ifndef __L_TYPES_H__
#define __L_TYPES_H__
/* Global macro definitions */
#define L_NULL ((void *)0)
#define L_TRUE ((l_bool)1)
#define L_FALSE ((l_bool)0)
/* Define the prefix for all library functions */
#define L_LIB_PREFIX
/* Following two macros may be defined by the user elsewhere */
#ifndef L_ROM
#define L_ROM
#endif
#ifndef L_RAM
#define L_RAM
#endif
/* definition of global data types */
typedef unsigned char l_bool;
typedef unsigned char l_u8;
typedef unsigned short l_u16;
typedef unsigned char l_ioctl_op;
typedef unsigned char l_irqmask;
typedef unsigned char* l_u8ram_handle;
/* This library is of the interrupt Rx type */
#define L_LIB_RX_IRQ
#endif /* __L_TYPES_H__ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?