| 数据搜索系统,热门电子元器件搜索 |
|
AN4429 数据表(PDF) 9 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4429 数据表(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. */ |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |