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

📄 error.h

📁 PEAKAUDIO用于EV2板的MCU控制源码
💻 H
字号:
/*************************************************************************

	error.h

	Copyright (C) 2001-2004 by Cirrus Logic Inc. All Rights Reserved
*************************************************************************/

#ifndef error_h
#define error_h

#define cERR_NO_ERROR				0

#define cERR_ERROR					0
#define cERR_ARGUMENT				1
#define cERR_ADDR_TOO_MANY	2
#define cERR_ADDR_MISSING		3
#define cERR_ADDR_HEX_BAD		4
#define cERR_ADDR_HEX_NOT		5
#define cERR_MISSING_ARG		6
#define cERR_DECIMAL_NOT		7
#define cERR_OUT_OF_RANGE		8
#define cERR_TOO_FEW				9
#define cERR_CM_NOT_FOUND		10	

extern code char * get_error_string( char error_number );
extern void printErr( char error_number );
extern void printArgErr( char error_number );
extern void printErrString( code char * the_error_string );
extern void printTwoErrorString( code char * first_string, code char * second_string );

#endif

⌨️ 快捷键说明

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