| Electronic Components Datasheet Search |
|
AN4429 Datasheet(PDF) 9 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4429 Datasheet(HTML) 9 Page - STMicroelectronics |
|
9 / 14 page ![]() DocID025710 Rev 2 9/14 AN4429 Example code 13 Appendix B Example code Example code of calling the FlashDepletionRecover function to recover depleted blocks. #include "ssd_types.h" #include "ssd_c90fl.h" #include "normaldemo.h" extern const unsigned int FlashInit_C[]; extern const unsigned int FlashDepletionRecover_C[]; extern const unsigned int SetLock_C[]; /* Assign function pointers */ pFLASHINIT pFlashInit = (pFLASHINIT) FlashInit_C; pSETLOCK pSetLock = (pSETLOCK) SetLock_C; pFLASHDEPLETIONRECOVER pFlashDepletionRecover = (pFLASHDEPLETIONRECOVER) FlashDepletionRecover_C; SSD_CONFIG ssdConfig = { C90FL_REG_BASE, /* c90fl control register base */ MAIN_ARRAY_BASE, /* base of main array */ 0, /* size of main array */ SHADOW_ROW_BASE, /* base of shadow row */ SHADOW_ROW_SIZE, /* size of shadow row */ 0, /* block number in low address space */ 0, /* block number in middle address space */ 0, /* block number in high address space */ 0x10, /* page size */ FALSE /* debug mode selection */ }; UINT32 main(void) { UINT32 returnCode; /* Return code from each SSD function. */ |
|
|
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 |