📄 mcore.h
字号:
/*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
* File: plib.h
* Type Definitions file for simple data types
* common to all device driver function code
*
* $RCSfile: mcore.h,v $
* $Revision: 1.2 $
* $Date: 2000/06/23 19:35:18 $
* $Author: jeffk $
*
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*/
/*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
* *
* (C) Copyright 1998 Motorola, Inc. All Rights Reserved. *
* *
* This file contains copyrighted material. Use of this *
* file is restricted by the provisions of Motorola's *
* Software License Agreement. *
* *
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*/
#if !defined(_CORE_H)
#define _CORE_H
/* Device Driver Library Derived Integer Data Types */
typedef unsigned char UINT8;
typedef signed char INT8;
typedef unsigned short int UINT16;
typedef signed short int INT16;
typedef unsigned long int UINT32;
typedef signed long int INT32;
#if !defined(NULL)
#define NULL 0
#endif
#define SET_REG_BITS( reg, bitno, bitlen, value ) \
reg &=~( ((1 << bitlen) - 1) << (bitno) ); /* clear */ \
reg |= ( (value) << (bitno) ); /* assign */
#endif /* !defined(_CORE_H) */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -