![]() |
LPCOpen Platform for LPC112X microcontrollers
112X
LPCOpen Platform for the NXP LPC112X family of Microcontrollers
|
Data Structures | |
struct | K9F1G_ID_T |
Macros | |
#define | KF91G_NANDFLASH |
#define | K9F1G_PAGE_SIZE (2 << 10) /* 2K bytes */ |
#define | K9F1G_SPARE_START_ADDR ( K9F1G_PAGE_SIZE) /* Spare start address */ |
#define | K9F1G_SPARE_SIZE (64) |
#define | K9F1G_PAGES_PER_BLOCK (64) |
#define | K9F1G_BLOCK_COUNT (1024) |
#define | K9F1G_READ_1 0x00 |
#define | K9F1G_READ_2 0x30 |
#define | K9F1G_READ_ID 0x90 |
#define | K9F1G_RESET 0xFF |
#define | K9F1G_PAGE_PROGRAM_1 0x80 |
#define | K9F1G_PAGE_PROGRAM_2 0x10 |
#define | K9F1G_BLOCK_ERASE_1 0x60 |
#define | K9F1G_BLOCK_ERASE_2 0xD0 |
#define | K9F1G_READ_STATUS 0x70 |
#define | NANDFLASH_STATUS_PAGE_PROG_FAIL (1 << 0) |
#define | NANDFLASH_STATUS_BLOCK_ERASE_FAIL (1 << 0) |
#define | NANDFLASH_STATUS_DEV_READY (1 << 6) |
#define | NANDFLASH_STATUS_READ_WRITE_NPROTECTED (1 << 7) |
#define | NANDFLASH_PROG_TIME (700 * 1000) |
#define | NANDFLASH_BLOCK_ERASE_TIME (3 * 1000 * 1000) |
#define | NANDFLASH_READ_TIME (25 * 1000) |
#define K9F1G_BLOCK_COUNT (1024) |
Definition at line 57 of file lpc_nandflash_k9f1g.h.
#define K9F1G_BLOCK_ERASE_1 0x60 |
Definition at line 68 of file lpc_nandflash_k9f1g.h.
#define K9F1G_BLOCK_ERASE_2 0xD0 |
Definition at line 69 of file lpc_nandflash_k9f1g.h.
#define K9F1G_PAGE_PROGRAM_1 0x80 |
Definition at line 66 of file lpc_nandflash_k9f1g.h.
#define K9F1G_PAGE_PROGRAM_2 0x10 |
Definition at line 67 of file lpc_nandflash_k9f1g.h.
#define K9F1G_PAGE_SIZE (2 << 10) /* 2K bytes */ |
Definition at line 49 of file lpc_nandflash_k9f1g.h.
#define K9F1G_PAGES_PER_BLOCK (64) |
Definition at line 55 of file lpc_nandflash_k9f1g.h.
#define K9F1G_READ_1 0x00 |
Definition at line 62 of file lpc_nandflash_k9f1g.h.
#define K9F1G_READ_2 0x30 |
Definition at line 63 of file lpc_nandflash_k9f1g.h.
#define K9F1G_READ_ID 0x90 |
Definition at line 64 of file lpc_nandflash_k9f1g.h.
#define K9F1G_READ_STATUS 0x70 |
Definition at line 70 of file lpc_nandflash_k9f1g.h.
#define K9F1G_RESET 0xFF |
Definition at line 65 of file lpc_nandflash_k9f1g.h.
#define K9F1G_SPARE_SIZE (64) |
Definition at line 53 of file lpc_nandflash_k9f1g.h.
#define K9F1G_SPARE_START_ADDR ( K9F1G_PAGE_SIZE) /* Spare start address */ |
Definition at line 51 of file lpc_nandflash_k9f1g.h.
#define KF91G_NANDFLASH |
Definition at line 46 of file lpc_nandflash_k9f1g.h.
#define NANDFLASH_BLOCK_ERASE_TIME (3 * 1000 * 1000) |
tBERS
Definition at line 117 of file lpc_nandflash_k9f1g.h.
#define NANDFLASH_PROG_TIME (700 * 1000) |
tPROG
Definition at line 115 of file lpc_nandflash_k9f1g.h.
#define NANDFLASH_READ_TIME (25 * 1000) |
tR
Definition at line 119 of file lpc_nandflash_k9f1g.h.
#define NANDFLASH_STATUS_BLOCK_ERASE_FAIL (1 << 0) |
Definition at line 107 of file lpc_nandflash_k9f1g.h.
#define NANDFLASH_STATUS_DEV_READY (1 << 6) |
Definition at line 108 of file lpc_nandflash_k9f1g.h.
#define NANDFLASH_STATUS_PAGE_PROG_FAIL (1 << 0) |
Definition at line 106 of file lpc_nandflash_k9f1g.h.
#define NANDFLASH_STATUS_READ_WRITE_NPROTECTED (1 << 7) |
Definition at line 109 of file lpc_nandflash_k9f1g.h.