Defines | |
#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_RANDOM_READ_CMD_C1 0x05 |
Random read Command (2KB). | |
#define | NF_RANDOM_READ_CMD_C2 0xE0 |
Confirm random read Command (2KB). | |
#define | NF_READ_ID_CMD 0x90 |
Read ID Command. | |
#define | NF_READ_ID2_CMD 0x91 |
Read ID 2 Command. | |
#define | NF_RESET_CMD 0xff |
Reset command. | |
#define | NF_SEQUENTIAL_DATA_INPUT_CMD 0x80 |
Sequential data input command. | |
#define | NF_PAGE_PROGRAM_CMD 0x10 |
Page Program command. | |
#define | NF_RANDOM_DATA_INPUT_CMD 0x85 |
Random data input command (2KB). | |
#define | NF_COPY_BACK_CMD 0x35 |
Copy-back command (2KB). | |
#define | NF_CACHE_PROGRAM_CMD 0x15 |
Cache program (fast) command (2KB). | |
#define | NF_BLOCK_ERASE_CMD 0x60 |
Erase command. | |
#define | NF_BLOCK_ERASE_CONFIRM_CMD 0xD0 |
Confirm erase command. | |
#define | NF_READ_STATUS_CMD 0x70 |
Read Status command. |
..)
#define NF_READ_A_AREA_CMD 0x00 |
#define NF_READ_B_AREA_CMD 0x01 |
#define NF_READ_C_AREA_CMD 0x50 |
#define NF_READ_CMD 0x00 |
#define NF_RANDOM_READ_CMD_C1 0x05 |
#define NF_RANDOM_READ_CMD_C2 0xE0 |
#define NF_READ_ID_CMD 0x90 |
Read ID Command.
Definition at line 293 of file nf_drv.h.
Referenced by nfc_check_type(), and nfc_detect().
#define NF_RESET_CMD 0xff |
#define NF_SEQUENTIAL_DATA_INPUT_CMD 0x80 |
#define NF_PAGE_PROGRAM_CMD 0x10 |
Page Program command.
Definition at line 299 of file nf_drv.h.
Referenced by nf_copy(), nf_copy_tail(), nf_dfc_write_stop(), nf_open_write(), nf_write_10(), nf_write_fbb(), nf_write_lut(), and nfc_mark_bad_block().
#define NF_RANDOM_DATA_INPUT_CMD 0x85 |
Random data input command (2KB).
Definition at line 301 of file nf_drv.h.
Referenced by nf_copy(), nf_copy_tail(), and nf_update_spare_zone().
#define NF_COPY_BACK_CMD 0x35 |
Copy-back command (2KB).
Definition at line 302 of file nf_drv.h.
Referenced by nfc_copy_back_init().
#define NF_CACHE_PROGRAM_CMD 0x15 |
Cache program (fast) command (2KB).
Definition at line 303 of file nf_drv.h.
Referenced by nf_write_10().
#define NF_BLOCK_ERASE_CMD 0x60 |
#define NF_BLOCK_ERASE_CONFIRM_CMD 0xD0 |
#define NF_READ_STATUS_CMD 0x70 |
Read Status command.
Definition at line 308 of file nf_drv.h.
Referenced by nfc_nf_is_ready(), and nfc_wait_busy().