Mercurial > repos > blastem
view nor.h @ 1960:f79e16d8baa4
megawifi: stub common commands to get config.
* CMD_AP_CFG_GET
* CMD_IP_CFG_GET
* CMD_DEF_AP_CFG_GET
* CMD_SERVER_URL_GET
author | doragasu <doragasu@hotmail.com> |
---|---|
date | Sun, 03 May 2020 12:39:05 -0700 |
parents | d94855080529 |
children |
line wrap: on
line source
#ifndef NOR_H_ #define NOR_H_ void nor_flash_init(nor_state *state, uint8_t *buffer, uint32_t size, uint32_t page_size, uint16_t product_id, uint8_t bus_flags); uint8_t nor_flash_read_b(uint32_t address, void *vcontext); uint16_t nor_flash_read_w(uint32_t address, void *context); void *nor_flash_write_b(uint32_t address, void *vcontext, uint8_t value); void *nor_flash_write_w(uint32_t address, void *vcontext, uint16_t value); #endif //NOR_H_