English
Language : 

UM1620 Datasheet, PDF (14/41 Pages) STMicroelectronics – Standard software driver for C90FL
API specification
UM1620
Prototype
UINT32 BlankCheck (PSSD_CONFIG pSSDConfig,
UINT32 dest,
UINT32 size,
UINT32 * pFailAddress,
UINT64 *pFailData,
void (*CallBack) (void ));
Arguments
Argument
pSSDConfig
dest
size
pFailAddress
pFailData
CallBack
Table 12. Arguments for BlankCheck()
Description
Range
Pointer to the SSD
Configuration Structure.
The values in this structure are chip-dependent.
Please refer to Section 2.3 for more details.
Destination address to be
checked.
Any accessible address aligned on double word
boundary in main array or shadow row
Size, in bytes, of the Flash
region to check.
If size = 0, the return value is C90FL_OK.
It should be multiple of 8 and its combination with
dest should fall in either main array or shadow row.
Return the address of the first
non-blank Flash location in the
checking region.
Only valid when this function returns
C90FL_ERROR_NOT_BLANK.
Return the content of the first
non-blank Flash location in the
checking region.
Only valid when this function returns
C90FL_ERROR_NOT_BLANK.
Address of void callback
function.
Any addressable void function address. To disable
it use NULL_CALLBACK macro.
Return values
Type
UINT32
Table 13. Return values for BlankCheck()
Description
Possible values
Successful completion or error value.
C90FL_OK
C90FL_ERROR_ALIGNMENT
C90FL_ERROR_RANGE
C90FL_ERROR_NOT_BLANK
14/41
DocID024388 Rev 3