#define FLASH_CONF_SECTOR 0x6000
#define FLASH_CONF_SIZE 512
#define FLASH_ERASE_WAIT 3000
#define FLASH_CHIP_ERASE_WAIT 50000
#define FLASH_WRITE_POLLS 1000
#define FLASH_UNLOCK( base )
#define FLASH_COMMAND( base, cmd )
#define FLASH_CMD_ERASE 0x80
#define FLASH_CMD_ERASE_CHIP 0x10
#define FLASH_CMD_ERASE_SECTOR 0x30
#define FLASH_CMD_ENTER_ID 0x90
#define FLASH_CMD_EXIT_ID 0xF0
#define FLASH_CMD_PROGRAM 0xA0
| Used in: | At49bvChipErase() | |
| At49bvInit() | ||
| At49bvSectorErase() | ||
| At49bvSectorWrite() |
| Prototyped in: | nut/include/dev/at49bv.h | |
| Calls: | At49bvWaitReady() | nut/dev/at49bv.c |
| References Variables: | chip | nut/dev/at49bv.c |
| Prototyped in: | nut/include/dev/at49bv.h | |
| References Variables: | chip | nut/dev/at49bv.c |
| Prototyped in: | nut/include/dev/at49bv.h | |
| Calls: | At49bvSectorRead() | nut/dev/at49bv.c |
| Prototyped in: | nut/include/dev/at49bv.h | |
| Calls: | At49bvSectorErase() | nut/dev/at49bv.c |
| At49bvSectorRead() | nut/dev/at49bv.c | |
| At49bvSectorWrite() | nut/dev/at49bv.c | |
| free(), malloc(), memcmp(), memcpy() | ||
| Prototyped in: | nut/include/dev/at49bv.h | |
| Calls: | At49bvWaitReady() | nut/dev/at49bv.c |
| Called by: | At49bvParamWrite() | nut/dev/at49bv.c |
| References Variables: | chip | nut/dev/at49bv.c |
| Prototyped in: | nut/include/dev/at49bv.h | |
| Calls: | memcpy() | |
| Called by: | At49bvParamRead() | nut/dev/at49bv.c |
| At49bvParamWrite() | nut/dev/at49bv.c | |
| Prototyped in: | nut/include/dev/at49bv.h | |
| Calls: | At49bvWaitReady() | nut/dev/at49bv.c |
| Called by: | At49bvParamWrite() | nut/dev/at49bv.c |
| References Variables: | chip | nut/dev/at49bv.c |
| Calls: | NutSleep() | nut/os/timer.c |
| Called by: | At49bvChipErase() | nut/dev/at49bv.c |
| At49bvSectorErase() | nut/dev/at49bv.c | |
| At49bvSectorWrite() | nut/dev/at49bv.c |