OpenCores
URL https://opencores.org/ocsvn/usb_nand_reader/usb_nand_reader/trunk

Subversion Repositories usb_nand_reader

[/] [usb_nand_reader/] [trunk/] [pc/] [include/] [opcodes.h] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 pradd
#ifndef OPCODES_H
2
#define OPCODES_H
3
 
4
#define NAND_CHIP_ENABLE                                1       
5
#define NAND_CHIP_DISABLE                               2
6
#define NAND_CHIP_RESET                                 3
7
#define NAND_CHIP_READ_ID                               4
8
#define NAND_CHIP_READ_ID_ONFI                  5
9
#define NAND_CHIP_READ_PARAM_PAGE               6
10
#define NAND_CHIP_READ_PAGE                             7
11
#define NAND_SET_CONFIG_DATA                    8               // Sets configuration data for non ONFI chips (page size, address cycles, etc)
12
#define NAND_CHIP_READ_CACHE_SEQ                9               // READ_PAGE_CACHE_SEQUENTIAL
13
#define NAND_CHIP_READ_STATUS                   10
14
#define NAND_CHIP_READ_UNIQUE_ID                11
15
#define NAND_CHIP_BLOCK_ERASE                   12
16
#define NAND_CHIP_TOGGLE_WP                             13              // Toggles write protect (WP = 0 on reset/powerup)
17
#define NAND_CHIP_PAGE_PROGRAM                  14
18
#define NAND_CHIP_READ_STATUS_ENHANCED  15
19
 
20
 
21
#endif  /*      OPCODES_H       */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.