?? std.h
字號:
/*************************************************************************/
/* */
/* FILE NAME VERSION */
/* */
/* std.h KS32C50100 : version 1.0 */
/* */
/* COMPONENT */
/* */
/* */
/* DESCRIPTION */
/* */
/* Target Board Specific routines. */
/* */
/* AUTHOR */
/* */
/* */
/* DATA STRUCTURES */
/* */
/* */
/* FUNCTIONS */
/* */
/* */
/* DEPENDENCIES */
/* */
/*************************************************************************/
/* Define data types for ks32c6x00 */
#ifndef _BSP_STD_H_
#define _BSP_STD_H_
#define S8 signed char
#define S16 signed short
#define S32 signed long
#define U8 unsigned char
#define U16 unsigned short
#define U32 unsigned long
#define REG8 volatile unsigned char
#define REG16 volatile unsigned short
#define REG32 volatile unsigned long
#define BYTE U8
#define UINT16 U16
/*
* Setup the current limits and size type defs for the defined processor.
* This will define constants for the sizes of integral types, with
* minimums and maximum values allowed for the define.
* Note: mins and maxs will be different for different processors.
* Size (Bytes) Alignment (Bytes)
*/
/* size casting */
typedef char int8; /* 1 1 */
typedef unsigned char uint8; /* 1 1 */
typedef short int int16; /* 2 2 */
typedef unsigned short uint16; /* 2 2 */
typedef long int int32; /* 4 4 */
typedef unsigned long uint32; /* 4 4 */
/* generic names for size types */
typedef signed char schar; /* 1 1 */
typedef unsigned char uchar; /* 1 1 */
typedef short int sshort; /* 2 2 */
typedef unsigned short ushort; /* 2 2 */
typedef unsigned int uint; /* 2 2 */
typedef short sint; /* 2 2 */
typedef long int slint; /* 4 4 */
typedef long int slong; /* 4 4 */
typedef unsigned long ulint; /* 4 4 */
typedef unsigned long ulong; /* 4 4 */
typedef short std_Boolean;
/* max/mins */
#define USHORT_MAX 65535 /* The maximum value of a uint16 variable. */
#ifndef NULL
#define NULL 0
#endif
#endif /* _BSP_ H_*/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -