assert.h
来自「realview下的一个arm9的bootloader烧录器.支持norflas」· C头文件 代码 · 共 53 行
H
53 行
/********************************************************************************
* Copyright Statement:
* --------------------
* This software is protected by Copyright and the information contained herein
* is confidential. The software may not be copied and the information
* contained herein may not be used or disclosed except with the written
* permission of INFOMAX COMMUNICATION CO.,LTD.
* * MODULE NAME: ASSERTIN HANDLING * DESCRIPTION: ASSERTIN HANDLING API header file * AUTHOR: Bo-Hung Wu * BEGIN DATE: Nov. 6, 2007 * LAST MODIFICATION: *******************************************************************************/ #ifndef ASSERT_H#define ASSERT_H/******************************************************************************* Header files *******************************************************************************/#include "common_var_types.h"#include "gpio.h"/******************************************************************************* Constant/Marco *******************************************************************************/#define ASSERT(x) if(!(x)) { led_on(1); while(1); } /******************************************************************************* Structure/Union/Enum/Typedef *******************************************************************************/ /******************************************************************************* Function Prototypes *******************************************************************************/ /**
@Desc
Description for function_name
@Param parameter 1
Put parameter 1 description here
@Param parameter 2
Put parameter 2 description here
@Return Return value 1 and it description
@Return Return value 1 and it description
*/
//function_return_type function_name(var_type function_argument_1, ..);#endif /* #ifndef */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?