File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -28,25 +28,6 @@ typedef struct
2828
2929#define DATA_AREA ((uint32_t)0x00000000)
3030
31- /* FSMC NAND memory command */
32- #define NAND_CMD_AREA_A ((uint8_t)0x00)
33- #define NAND_CMD_AREA_B ((uint8_t)0x01)
34- #define NAND_CMD_AREA_C ((uint8_t)0x50)
35-
36- #define NAND_CMD_READ0 ((uint8_t)0x00)
37- #define NAND_CMD_READ1 ((uint8_t)0x30)
38-
39- #define NAND_CMD_WRITE0 ((uint8_t)0x80)
40- #define NAND_CMD_WRITE_TRUE1 ((uint8_t)0x10)
41-
42- #define NAND_CMD_ERASE0 ((uint8_t)0x60)
43- #define NAND_CMD_ERASE1 ((uint8_t)0xD0)
44-
45- #define NAND_CMD_READID ((uint8_t)0x90)
46- #define NAND_CMD_STATUS ((uint8_t)0x70)
47- #define NAND_CMD_LOCK_STATUS ((uint8_t)0x7A)
48- #define NAND_CMD_RESET ((uint8_t)0xFF)
49-
5031/* NAND memory status */
5132#define NAND_VALID_ADDRESS ((uint32_t)0x00000100)
5233#define NAND_INVALID_ADDRESS ((uint32_t)0x00000200)
You can’t perform that action at this time.
0 commit comments