Kamcho Library 02.00.03  lib.kamcho.02.00.03.287
flash_device.h
Go to the documentation of this file.
1 
12 #ifndef __FLASH_DEVICE_H__
13 #define __FLASH_DEVICE_H__
14 
15 #include <stdint.h>
16 #include "hdf.h"
17 
24 __ramfunc void Flash_devEraseBlock(uint32_t addr);
25 
32 __ramfunc void Flash_devEraseSector(uint32_t addr);
33 
42 __ramfunc void Flash_devCopyToFlash(uint8_t *src, uint8_t *des, uint32_t size);
43 
44 #endif /* __FLASH_DEVICE_H__ */
__ramfunc void Flash_devCopyToFlash(uint8_t *src, uint8_t *des, uint32_t size)
Copy a data block from RAM to flash memory.
Definition: flash_device.c:27
__ramfunc void Flash_devEraseSector(uint32_t addr)
Erase a sector flash memory and wait for completion.
Definition: flash_device.c:21
__ramfunc void Flash_devEraseBlock(uint32_t addr)
Erase a block in flash memory and wait for completion.
Definition: flash_device.c:15