1 #ifndef _FLASH_DEVICE_H_
2 #define _FLASH_DEVICE_H_
5 long capacity, pagesize;
6 long erase_wait; //unit is msec
7 bool erase_require, retry;
8 uint8_t id_manufacurer, id_device;
12 bool flash_device_get(const char *name, struct flash_device *t);
13 //0x80 °Ê¹ß¤ÏËÜÅö¤Î¥Ç¥Ð¥¤¥¹½ÅÊ£¤·¤Ê¤¤¤È»×¤¦. 狼 JEDEC ¤Î¤È¤³¤ò¤·¤é¤Ù¤Æ.
15 FLASH_ID_DEVICE_SRAM = 0xf0,