📄 flash_report.h
字号:
/*****************************************************************************
** flash_report.h
**
** Copyright 2007 Freescale Semiconductor, Inc. All Rights Reserved.
**
** This file contains copyrighted material. Use of this file is
** restricted by the provisions of a Freescale Software License
** Agreement, which has either been electronically accepted by
** you or has been expressly executed between the parties.
**
** Description: Explanation for the usage of this file.
**
** Revision History:
** -----------------
*****************************************************************************/
/*!
* @file flash_report.h
*
* @brief the header file for flash report function which is used for debug
*
* @ingroup nand_2k_flash
* @{
*/
#ifndef __FLASH_REPORT_H_
#define __FLASH_REPORT_H_
/*****************************************************************************
* <Includes>*/
#include <type.h>
/*****************************************************************************/
/*****************************************************************************
* <Macros>
*****************************************************************************/
#define REPORT_ERROR_ERASE 1
#define REPORT_ERROR_PROGEAM 2
#define REPORT_ERROR_VERIFY 3
#define REPORT_ERROR_TIMEOUT 4
#define REPORT_ERROR_STOP 5
/*****************************************************************************
* <Typedefs>
*****************************************************************************/
/*!
* flash report function declarations
*/
/*report flash error */
extern void flash_report_error(u32 Error, u32 ExtraInfo);
/*report flash program byte operation is done */
extern void flash_report_program_byte_done(u32 ByteDone);
/*report flash verify byte operation is done or not*/
extern void flash_report_verify_byte_done(u32 ByteDone);
/*report flash program operation is done */
extern void flash_report_program_complete(void);
/*report flash verify operation is done */
extern void flash_report_verify_complete(void);
/*report flash erase operation is done or not */
extern void flash_report_erase_byte_done(u32 ByteDone);
/* report flash erase operation is done */
extern void flash_report_erase_complete(void);
/**@}*/
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -