mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
16 lines
409 B
C
16 lines
409 B
C
#ifndef _RTL837X_FLASH_H_
|
|
#define _RTL837X_FLASH_H_
|
|
|
|
void flash_init(uint8_t enable_dio);
|
|
void flash_read_uid(void);
|
|
void flash_write_enable(void);
|
|
void flash_dump(uint8_t len);
|
|
void flash_read_jedecid(void);
|
|
void flash_read_security(void);
|
|
void flash_sector_erase(void);
|
|
void flash_read_bulk(__xdata uint8_t *dst);
|
|
void flash_write_bytes(__xdata uint8_t *ptr);
|
|
__code char* get_flash_size_str(void);
|
|
|
|
#endif
|