Set of commands of the FLASH memories (NF, SMC, ...)
Defines | |
#define | NF_BLOCK_ERASE_CMD 0x60 |
Erase command. | |
#define | NF_BLOCK_ERASE_CONFIRM_CMD 0xD0 |
Confirm erase command. | |
#define | NF_CACHE_PROGRAM_CMD 0x15 |
Cache program (fast) command (2KB). | |
#define | NF_COPY_BACK_CMD 0x35 |
Copy-back command (2KB). | |
#define | NF_PAGE_PROGRAM_CMD 0x10 |
Page Program command. | |
#define | NF_RANDOM_DATA_INPUT_CMD 0x85 |
Random data input command (2KB). | |
#define | NF_RANDOM_READ_CMD_C1 0x05 |
Random read Command (2KB). | |
#define | NF_RANDOM_READ_CMD_C2 0xE0 |
Confirm random read Command (2KB). | |
#define | NF_READ_A_AREA_CMD 0x00 |
Read Command of zone A (512B). | |
#define | NF_READ_B_AREA_CMD 0x01 |
Read Command of zone B (512B). | |
#define | NF_READ_C_AREA_CMD 0x50 |
Read Command of zone C (spare) (512B). | |
#define | NF_READ_CMD 0x00 |
Read Command (2KB). | |
#define | NF_READ_CMD2 0x30 |
Confirm read Command (2KB). | |
#define | NF_READ_ID2_CMD 0x91 |
Read ID 2 Command. | |
#define | NF_READ_ID_CMD 0x90 |
Read ID Command. | |
#define | NF_READ_STATUS_CMD 0x70 |
Read Status command. | |
#define | NF_RESET_CMD 0xff |
Reset command. | |
#define | NF_SEQUENTIAL_DATA_INPUT_CMD 0x80 |
Sequential data input command. |
#define NF_BLOCK_ERASE_CMD 0x60 |
#define NF_BLOCK_ERASE_CONFIRM_CMD 0xD0 |
#define NF_CACHE_PROGRAM_CMD 0x15 |
#define NF_COPY_BACK_CMD 0x35 |
#define NF_PAGE_PROGRAM_CMD 0x10 |
Page Program command.
Definition at line 612 of file nf.h.
Referenced by main(), and nf_mark_bad_block().
#define NF_RANDOM_DATA_INPUT_CMD 0x85 |
#define NF_RANDOM_READ_CMD_C2 0xE0 |
#define NF_READ_C_AREA_CMD 0x50 |
#define NF_READ_CMD 0x00 |
#define NF_READ_ID_CMD 0x90 |
Read ID Command.
Definition at line 606 of file nf.h.
Referenced by main(), nf_check_type(), and nfc_detect().
#define NF_READ_STATUS_CMD 0x70 |
Read Status command.
Definition at line 621 of file nf.h.
Referenced by nf_wait_busy(), and nfc_nf_is_ready().
#define NF_RESET_CMD 0xff |
#define NF_SEQUENTIAL_DATA_INPUT_CMD 0x80 |