11 #ifndef _ACFLASH_INTERNAL_H
12 #define _ACFLASH_INTERNAL_H
15 #include <irx_imports.h>
17 typedef acUint16 flash_data_t;
18 typedef acUint32 flash_addr_t;
19 typedef volatile flash_data_t *flash_ptr_t;
29 int (*fo_erase)(flash_addr_t addr);
30 int (*fo_program)(flash_addr_t addr,
const flash_data_t *buf,
int size);
31 int (*fo_reset)(flash_addr_t addr);
32 int (*fo_status)(flash_addr_t addr);
45 typedef flash_ops_t (*flash_probe_t)(flash_addr_t addr);
47 extern flash_ops_t flash_probe_i28f640f5(flash_addr_t addr);
48 extern flash_ops_t flash_probe_mbm29f033c(flash_addr_t addr);