| Electronic Components Datasheet Search |
|
UM1627 Datasheet(PDF) 10 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1627 Datasheet(HTML) 10 Page - STMicroelectronics |
|
10 / 38 page ![]() API specification UM1627 10/38 DocID024497 Rev 2 2.6.2 FlashErase() Description This function erases the enabled blocks in the main array or the shadow row. Input arguments together with relevant Flash module status are checked, and relevant error code is returned if there is any error. Prototypse UINT32 FlahErase (PSSD_CONFIG pSSDConfig, BOOL shadowFlag, UINT32 lowEnabledBlocks, UINT32 midEnabledBlocks, UINT32 highEnabledBlocks, void (*CallBack)(void)); Arguments Table 7. Arguments for FlashErase() Argument Description Range pSSDConfig Pointer to the SSD Configuration Structure. The values in this structure are chip-dependent. Please refer to Section 2.3 for more details. shadowFlag Indicate either the main array or the shadow row to be erased. TRUE: the shadow row is erased. The lowEnabledBlocks, midEnabledBlocks and highEnabledBlocks are ignored; FALSE: the main array is erased. Which blocks are erased in low, mid and high address spaces are specified by lowEnabledBlocks, midEnabledBlocks and highEnabledBlocks respectively. lowEnabledBlocks To select the array blocks in low address space for erasing. Bit-mapped value. Select the block in the low address space to be erased by setting 1 to the appropriate bit of lowEnabledBlocks. If there is not any block to be erased in the low address space, lowEnabledBlocks must be set to 0. midEnabledBlocks To select the array blocks in mid address space for erasing. Bit-mapped value. Select the block in the middle address space to be erased by setting 1 to the appropriate bit of midEnabledBlocks. If there is not any block to be erased in the middle address space, midEnabledBlocks must be set to 0. highEnabledBlocks To select the array blocks in high address space for erasing. Bit-mapped value. Select the block in the high address space to be erased by setting 1 to the appropriate bit of highEnabledBlocks. If there is not any block to be erased in the high address space, highEnabledBlocks must be set to 0. CallBack Address of void call back function pointer. Any addressable void function address. To disable it use NULL_CALLBACK macro. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |