Jörg Hohensohn | 6a4e4c8 | 2003-11-30 11:37:43 +0000 | [diff] [blame] | 1 | #ifndef _FLASH_H |
2 | #define _FLASH_H | ||||
3 | |||||
4 | int ReadID(tUartHandle serial_handle, UINT32 base, UINT8* pManufacturerID, UINT8* pDeviceID); | ||||
5 | int EraseSector(tUartHandle serial_handle, UINT32 address); | ||||
6 | int EraseChip(tUartHandle serial_handle, UINT32 base); | ||||
7 | int ProgramBytes(tUartHandle serial_handle, UINT32 address, UINT8* pData, UINT32 size); | ||||
8 | |||||
Jens Arnold | c519e63 | 2004-11-19 22:44:45 +0000 | [diff] [blame] | 9 | #endif |
10 |