?? stddefs.h
字號:
/******************************************************************************
(c) Copyright Motorola Semiconductors Hong Kong Limited 1995-2000
ALL RIGHTS RESERVED
******************************************************************************
Project Name : Personal Portable System Manager, PPSM
Project No. : PDAPSM031
Title : Definitions of integer types
File Name : stddefs.h
Created On : 03/28/95
Modifications : 02/07/00 EC - Added logic to support configurable
interrupt (VZ-011)
Release : 12/15/00 PPSM v3.22
**********************************************************************/
#ifndef STDDEFS_INCLUDED
#define STDDEFS_INCLUDED
/* Typedefs for integer types */
typedef unsigned char U8; /* unsigned 8 bit data */
typedef unsigned short U16; /* unsigned 16 bit data */
typedef unsigned int U32; /* unsigned 32 bit data */
typedef char S8; /* signed 8 bit data */
typedef short S16; /* signed 16 bit data */
typedef int S32; /* signed 32 bit data */
typedef U8 * P_U8; /* unsigned 8 bit data */
typedef U16 * P_U16; /* unsigned 16 bit data */
typedef U32 * P_U32; /* unsigned 32 bit data */
typedef S8 * P_S8; /* signed 8 bit data */
typedef S16 * P_S16; /* signed 16 bit data */
typedef S32 * P_S32; /* signed 32 bit data */
typedef U16 TEXT; /* 16-bit text data */
typedef P_U16 P_TEXT; /* 16-bit text data */
typedef S16 STATUS; /* status word is a signed short */
typedef void * P_VOID; /* pointer to void */
/*** ADD VZ-011 ... ***/
#if defined(VZ328)
typedef void (* PFIRPTHANDLER)(P_U32); /*** ADD VZ-011 ***/
#endif
/*** ... ADD VZ-011 ***/
/* point structure */
typedef struct
{
U16 x; /* x point */
U16 y; /* y point */
} POINT, *P_POINT;
/* area structure */
typedef struct
{
POINT top; /* Top left corner */
POINT bottom; /* Bottom right corner */
} AREA, *P_AREA;
/* point structure */
typedef struct
{
S16 x; /* x point */
S16 y; /* y point */
} SPOINT, *P_SPOINT;
/* area structure */
typedef struct
{
SPOINT top; /* Top left corner */
SPOINT bottom; /* Bottom right corner */
} SAREA, *P_SAREA;
/* Beep information */
typedef struct
{
U32 frequency; /* Beeper's frequency */
U32 duration; /* Beeper's duration */
} BEEPINFO;
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -