📄 memcd_rettypes.h
字号:
/**
\brief This header files contains the return types
of MMC/SD test cases.
*/
#ifndef _MMCSD_RETTYPES_H_
#define _MMCSD_RETTYPES_H_
#include <tistdtypes.h>
typedef unsigned char Uchar;
/* Return values */
#ifndef E_PASS
#define E_PASS 0 ///< When this value is returned, the operation was successful
#endif
/* Return values */
#ifndef E_FAIL
#define E_FAIL 1 ///< When this value is returned, the operation is unsuccessful
#endif
#ifndef E_INVALID_INPUT
#define E_INVALID_INPUT 2 ///< When this value is returned, the operation was unsuccessful because the input parameters were invalid
#endif
#ifndef E_DEVICE
#define E_DEVICE 4 ///< When this value is returned, the operation was unsuccessful because of a device specific error
#endif
#ifndef E_TIMEOUT
#define E_TIMEOUT 3 ///< When this value is returned, the operation was unsuccessful because a timeout condition occured
#endif
#ifndef E_MISC
#define E_MISC ((Int16)0xF800) ///< When this value is returned, the operation was unsuccessful because of a module specific error. The bits 7:0 of 0xF800 are replaced by module specific error code
#endif
typedef enum {
DM_FALSE,
DM_TRUE
} DM_BOOL;
#ifndef STATUS
#define STATUS Uint16
#endif
#ifndef NULL
#define NULL 0
#endif
#endif
/* Rev.No. Date/Time ECN No. Modifier */
/* ------- --------- ------- -------- */
/* 1 24 Jun 2004 14:40:59 1864 xjarlika */
/* */
/* Checking in MMCSD drv include and src files */
/********************************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -