#include <environment.h>#include "flash.h"Functions | |
| unsigned short | Flash_EraseSector (unsigned long startAddress, unsigned long sectorAddress) |
| unsigned short | Flash_EraseChip (void) |
| unsigned short | Flash_ProgramWord (unsigned long startAddress, unsigned long wordAddress, unsigned short data) |
| void | Flash_ReadIdentifier (unsigned short *cDevCode, unsigned short *cManuCode) |
| unsigned short | Flash_Unlock (void) |
| unsigned short | Flash_Lock (unsigned long pa_nSectorAddr) |
| unsigned short | Flash_Reset (void) |
| unsigned short | Flash_ReadWord (unsigned long pa_nOffset) |
| int | Flash_GetSectorNumber (unsigned long ulOffset) |
| bool | Flash_CheckIfEmpty (unsigned long pa_nStartAddress) |
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
1.4.1