doc_ecc.h

来自「8051单片机系统中对DISKONCHIP的操作」· C头文件 代码 · 共 35 行

H
35
字号
/*---------------------------------------------------------------------*/
/*     DiskOnchip 2000 & Millenium - Boot Developers Kit               */
/*---------------------------------------------------------------------*/
/*
 * $Log:   V:/Flite/archives/BDK/doc_ecc.h_V  $
 * 
 *    Rev 1.1   05 Oct 1999 16:13:46   dimitrys
 * Added Copyright warning
 */
/*---------------------------------------------------------------------*/
/*           Copyright 1999, M-Systems Flash Disk Pioneers.            */
/*                         ALL RIGHTS RESERVED                         */
/*                                                                     */
/* Permission is hereby granted to licensees of M-Systems              */
/* products to use or abstract this computer program for the           */
/* sole purpose of implementing a product based on M-Systems           */
/* products.  No other rights to reproduce, use or disseminate         */
/* this computer program, whether in part or in whole, are granted.    */
/* M-systems makes no representation or warranties with respect        */
/* to the performance of this computer program, and specifically       */
/* disclaims any responsibility for any damages, special or            */
/* consequential, connected with the use of this program.              */
/*---------------------------------------------------------------------*/

#ifndef _DOC_ECC_H_
#define _DOC_ECC_H_

#ifdef EDC_MODE

typedef enum { NO_EDC_ERROR, CORRECTABLE_ERROR, UNCORRECTABLE_ERROR, EDC_ERROR } EDCstatus;

EDCstatus flCheckAndFixEDC(char *block, char *syndrom, char byteSwap);
#endif /* EDC_MODE */

#endif  /* _DOC_ECC_H_ */

⌨️ 快捷键说明

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