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

📄 errors.h

📁 dragon ball vz328 上的一个例子程序。 用于做手持仪表用。
💻 H
字号:
/******************************************************************************

 (c) Copyright Motorola Semiconductors Hong Kong Limited 1995-2000
 ALL RIGHTS RESERVED

******************************************************************************
 Project Name  : Personal Portable System Manager, PPSM
 Project No.   : PDAPSM031
 Title         : Error codes
 File Name     : errors.h
 Created On    : 03/28/95
 Modifications : 
 Release       : 02/29/00 PPSM v3.20
**********************************************************************/
#ifndef ERRORS_INCLUDED
#define ERRORS_INCLUDED


/* System Error Code */
#define PPSM_OK         0x0000
#define PPSM_ERROR      0x0001
#define PPSM_ERR_NO_MEMORY  0x4001

/* PocSec Tools Error Code */
#define PPSM_ERR_BEEP       0x0101
#define PPSM_ERR_BEEP_FREQ  0x0102
#define PPSM_ERR_BEEP_TEMPO 0x0103
#define PPSM_ERR_PEN_SIZE   0x0104
#define PPSM_ERR_ENCODE     0x0105
#define PPSM_ERR_DECODE     0x0106
#define PPSM_ERR_SPEED      0x0107
#define PPSM_ERR_VER        0x0108
#define PPSM_ERR_TEXT_FONT  0x0109
#define PPSM_ERR_TEXT_STYLE 0x010A
#define PPSM_ERR_TEXT_GREY  0x010B

/* PPSM Tools Error */
#define PPSM_ERR_TOP_X      0x0201
#define PPSM_ERR_TOP_Y      0x0202
#define PPSM_ERR_BOTTOM_X   0x0203
#define PPSM_ERR_BOTTOM_Y   0x0204
#define PPSM_ERR_AREA_CODE  0x0205
#define PPSM_ERR_AREA_ID    0x0206
#define PPSM_ERR_ICON_TYPE  0x0207
#define PPSM_ERR_ACTIVE_PUSH    0x0208
#define PPSM_ERR_ACTIVE_POP 0x0209
#define PPSM_ERR_SKBD_X_POS 0x020A
#define PPSM_ERR_SKBD_Y_POS 0x020B
#define PPSM_ERR_SKBD_USED  0x020C
#define PPSM_ERR_SKBD_CLOSE 0x020D
#define PPSM_ERR_DB_ADD     0x020E
#define PPSM_ERR_DB_DBID    0x020F
#define PPSM_ERR_DB_READNO  0x0210
#define PPSM_ERR_DB_RECID   0x0211
#define PPSM_ERR_DB_FDID    0x0212
#define PPSM_ERR_DB_TYPE    0x0213
#define PPSM_ERR_DB_SFLAG   0x0214
#define PPSM_ERR_TEXT_CR    0x0215
#define PPSM_ERR_TEXT_ID    0x0216
#define PPSM_ERR_TEXT_X     0x0217
#define PPSM_ERR_TEXT_Y     0x0218
#define PPSM_ERR_TEXT_WIDTH 0x0219
#define PPSM_ERR_TEXT_HEIGHT    0x021A
#define PPSM_ERR_TEXT_SIZE  0x021E
#define PPSM_ERR_TEXT_CUR   0x021F

#define PPSM_ERR_COORDINATE 0x0220
#define PPSM_ERR_BITMAP     0x0221
#define PPSM_ERR_SUSPEND_FLAG   0x0222

#define PPSM_NO_MATCH       0x0223
#define PPSM_ERR_NUM_FMT    0x0224

#define PPSM_ERR_TASK_ID    0x0225

/* icon error code */
#define PPSM_ERR_TASK_WIDTH 0x0226
#define PPSM_ERR_TASK_HEIGHT    0x0227
#define PPSM_ERR_TASK_FLAG  0x0228
#define PPSM_ERR_HARD_COORD 0x0229
#define PPSM_ERR_HARD_ID    0x022A

#define PPSM_ERR_AREA_SUSPENDED 0x022B

/* Addition error for softkey in PPSM v3.1 */
#define PPSM_ERR_SKBD_XSIZE 0x022C
#define PPSM_ERR_SKBD_YSIZE 0x022D
#define PPSM_ERR_SKBD_NOSCREEN  0x022E

/* Input Pad Error Code */
#define PPSM_ERR_INPUT_PAD_OPENED   0x0301
#define PPSM_ERR_INPUT_PAD_CLOSED   0x0302
#define PPSM_ERR_INPUT_PAD_X_POS    0x0303
#define PPSM_ERR_INPUT_PAD_Y_POS    0x0304
#define PPSM_ERR_INPUT_PAD_WIDTH    0x0305
#define PPSM_ERR_INPUT_PAD_HEIGHT   0x0306
#define PPSM_ERR_INPUT_PAD_NOSCREEN 0x0307


/* Touch Panel Error Code */
#define PPSM_ERR_PEN_INIT   0x0401
#define PPSM_ERR_PEN_GET    0x0402
#define PPSM_ERR_PEN_RATE   0x0403

/* LCD Display Error Code */
#define PPSM_ERR_CLEAR      0x0801
#define PPSM_ERR_GREY       0x0802
#define PPSM_ERR_X_POS      0x0803
#define PPSM_ERR_Y_POS      0x0804
#define PPSM_ERR_WIDTH      0x0805
#define PPSM_ERR_HEIGHT     0x0806
#define PPSM_ERR_LCD_INIT   0x0807
#define PPSM_ERR_LCD_X      0x0808
#define PPSM_ERR_LCD_Y      0x0809
#define PPSM_ERR_LCD_GREY   0x080A
#define PPSM_ERR_LCD_SIZE   0x080B
#define PPSM_ERR_LCD_MEM    0x080C
#define PPSM_ERR_LCD_FONT   0x080D
#define PPSM_ERR_LCD_STYLE  0x080E
#define PPSM_ERR_LCD_RADIUS 0x080F
#define PPSM_ERR_LCD_XLENGTH    0x0810
#define PPSM_ERR_LCD_YLENGTH    0x0811
#define PPSM_ERR_LCD_ADDRESS    0x0812
#define PPSM_ERR_PAN_INIT   0x0813
#define PPSM_ERR_PAN_ADDRESS    0x0814
#define PPSM_ERR_PAN_WIDTH  0x0815
#define PPSM_ERR_PAN_HEIGHT 0x0816

/*  Draw structure Error Code */
#define PPSM_ERR_DRAW_INIT  0x0820
#define PPSM_ERR_DOT_WIDTH  0x0821
#define PPSM_ERR_FILL_PATTERN   0x0822
#define PPSM_ERR_FILL_SPACE 0x0823
#define PPSM_ERR_COLOUR     0x0824

/*  Cursor structure Error Code */
#define PPSM_ERR_CURSOR_INIT  0x0830

/* Timer Error Code */
#define PPSM_ERR_NO_ALARM   0x1001
#define PPSM_ERR_SECOND     0x1002
#define PPSM_ERR_MINUTE     0x1003
#define PPSM_ERR_HOUR       0x1004
#define PPSM_ERR_DAY        0x1005
#define PPSM_ERR_MONTH      0x1006
#define PPSM_ERR_YEAR       0x1007
#define PPSM_ERR_TMOUT_VALUE    0x1008
#define PPSM_ERR_RTC_INIT   0x1009
#define PPSM_ERR_RTC_SECOND 0x100A
#define PPSM_ERR_RTC_MINUTE 0x100B
#define PPSM_ERR_RTC_HOUR   0x100C
#define PPSM_ERR_RTC_DAY    0x100D
#define PPSM_ERR_RTC_MONTH  0x100E
#define PPSM_ERR_RTC_YEAR   0x100F
#define PPSM_ERR_PERIOD     0x1010
#define PPSM_ERR_TM_ARG     0x1011
#define PPSM_ERR_REF_MAX    0x1012

/* PCMCIA IC Card Error Code */
#define PPSM_ERR_IC_MAP     0x2001
#define PPSM_ERR_IC_NO_CARD 0x2002
#define PPSM_ERR_IC_UNMAP   0x2003

/* Power Management Error Code */
#define PPSM_ERR_DOZE_TIME  0x4001
#define PPSM_ERR_SLEEP_TIME 0x4002

/*  Handler error code  */
#define PPSM_ERR_RELEASE    0x5001
#define PPSM_ERR_IRPT_HDLER 0x5002

#if defined(VZ328)
#define PPSM_ERR_IRPT_LEVEL		0x5003
#define PPSM_ERR_IRPT_SRC		0x5004
#define PPSM_ERR_IRPT_REDEFINED	0x5005
#endif

/* Communication Error Code */
#define PPSM_ERR_IR_INIT    0x8001
#define PPSM_ERR_IR_LEN     0x8002
#define PPSM_ERR_IR_BAUD    0x8003
#define PPSM_ERR_IR_TX      0x8004
#define PPSM_ERR_IR_RX      0x8005
#define PPSM_ERR_IR_TEST    0x8006
#define PPSM_ERR_FAX_INIT   0x8007
#define PPSM_ERR_FAX_NUM    0x8008
#define PPSM_ERR_FAX_DIAL   0x8009
#define PPSM_ERR_FAX_OFF    0x800A
#define PPSM_ERR_FAX_ON     0x800B
#define PPSM_ERR_FAX_SEND   0x800C
#define PPSM_ERR_FAX_RX     0x800D
#define PPSM_ERR_PAGER_INIT 0x800E

/* Audio Tools Error */
#define PPSM_ERR_AUDIO      0x9001
#define PPSM_ERR_AUDIO_SAM      0x9002
#define PPSM_ERR_AUDIO_REGS     0x9003
#define PPSM_ERR_AUDIO_TONEDUR      0x9004
#define PPSM_ERR_AUDIO_TONEVOL      0x9005
#define PPSM_ERR_AUDIO_INUSE        0x9006

/* UART error codes */
#define PPSM_ERR_INVALID_ACCESS 0x8011
#define PPSM_ERR_INVALID_TMOUT  0x8012
#define PPSM_ERR_MODE           0x8013
#define PPSM_ERR_BAUD           0x8014
#define PPSM_ERR_PARITY         0x8015
#define PPSM_ERR_STOPBIT        0x8016
#define PPSM_ERR_CHARLEN        0x8017
#define PPSM_ERR_BUSY           0x8018
#define PPSM_ERR_FLAG           0x8019
#define PPSM_ERR_NO_REQUEST     0x801A
#define PPSM_ERR_RCTS_IDLE		0x801B
#define	PPSM_ERR_INVALID_TXDELAY	0x801C

#endif      

⌨️ 快捷键说明

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