📄 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
#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 + -