?? l_types.h
字號:
/* ************************************************************************ *
* *
* 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 const
#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 + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -