BOOTLOADER
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Nand.h
Go to the documentation of this file.
1 #ifndef __NAND_H
2 #define __NAND_H
3 
5 // Main function
6 void Test_Nand(void);
7 
8 // Sub function
9 void Test_K9S1208(void);
10 void NF8_Program(void);
11 void PrintSubMessage(void);
12 void Test_NF8_Rw(void);
13 void Test_NF8_Page_Write(void);
14 void Test_NF8_Page_Read(void);
15 void Test_NF8_Block_Erase(void);
16 void NF8_PrintBadBlockNum(void);
17 void Test_NF8_Lock(void);
18 void Test_NF8_SoftUnLock(void);
19 
20 U8 Read_Status(void);
21 
22 //*************** H/W dependent functions ***************
23 // Assembler code for speed
24 /*
25 void __RdPage512(U8 *pPage);
26 void Nand_Reset(void);
27 void InputTargetBlock(void);
28 
29 void NF8_Print_Id(void);
30 static U16 NF8_CheckId(void);
31 static int NF8_EraseBlock(U32 blockNum);
32 static int NF8_ReadPage(U32 block,U32 page,U8 *buffer);
33 static int NF8_WritePage(U32 block,U32 page,U8 *buffer);
34 static int NF8_IsBadBlock(U32 block);
35 static int NF8_MarkBadBlock(U32 block);
36 static void NF8_Init(void);
37 */
38 //*******************************************************
39 
40 
41 
42 #endif /*__NAND_H*/
43