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

📄 lin_defs.h

📁 芯科原厂所有c8051fxx程序的例子。
💻 H
字号:
// Copyright (c) 2006 SILICON LABORATORIES, INC.
//
// FILE NAME   : LIN_Ders.h
// TARGET MCU  : C8051F52xA-53xA
// DESCRIPTION : Contains typedefs used by the LIN API.
//

#ifndef  _LIN_DEFS_H_
#define  _LIN_DEFS_H_

//-----------------------------------------------------------------------------
// Constants
//-----------------------------------------------------------------------------
#define  LIN_MASTER  0
#define  LIN_SLAVE   1

#define  LIN_SLAVE_ID_0    0
#define  LIN_SLAVE_ID_1    1
#define  LIN_SLAVE_ID_2    2

//-----------------------------------------------------------------------------
// Typedefs
//-----------------------------------------------------------------------------
#ifndef  _FALSE_
#define  FALSE    0
#endif   // _FALSE_

#ifndef  _TRUE_
#define  TRUE     1
#endif   // _TRUE_

#ifndef _L_BOOL_
#define _L_BOOL_
typedef bit l_bool;
#endif   // _L_BOOL_

#ifndef _L_U8_
#define _L_U8_
typedef unsigned char l_u8;
#endif   // _L_U8_

#ifndef _L_U16_
#define _L_U16_
typedef unsigned int l_u16;
#endif   // _L_U16_

#ifndef _L_IRQ_MASK_
#define _L_IRQ_MASK_
typedef bit l_irqmask;
#endif   // _L_IRQ_MASK_

#endif   // _LIN_DEFS_H_

⌨️ 快捷键说明

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