| 数据搜索系统,热门电子元器件搜索 |
|
UM1627 数据表(PDF) 23 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1627 数据表(HTML) 23 Page - STMicroelectronics |
|
23 / 38 page ![]() DocID024497 Rev 2 23/38 UM1627 API specification Return values Troubleshooting Comments Following table defines and describes various blkLockIndicator values. For Shadow/Low/Mid address spaces, there are two block lock levels. The secondary level of block locking provides an alternative means to protect blocks from being modified. A logical “OR” of the corresponding bits in the primary and secondary lock registers for a block blkLockEnabled Indicate whether the address space block locking register is enabled for register writes TRUE – The address space block locking register is enabled for register writes. FALSE – The address space block locking register is disabled for register writes. blkLockState Returns the blocks’ locking status of indicated locking level in the given address space Bit mapped value indicating the locking status of the specified locking level and address space. 1: The block is locked from program/erase. 0: The block is ready for program/erase Table 33. Return values for GetLock() Type Description Possible values UINT32 Successful completion or error value. C90FL_OK C90FL_ERROR_LOCK_INDICATOR Table 34. Troubleshooting for GetLock() Returned error bits Possible causes Solution C90FL_ERROR_LOCK_INDICATOR The input blkLockIndicator is invalid. Set this argument to correct value listed in Table 35. Table 35. blkLockIndicator definitions Code Name Value Description LOCK_SHADOW_PRIMARY 0 Primary block lock protection of shadow address space LOCK_SHADOW_SECONDARY 1 Secondary block lock protection of shadow address space LOCK_LOW_PRIMARY 2 Primary block lock protection of low address space LOCK_LOW_SECONDARY 3 Secondary block lock protection of low address space LOCK_MID_PRIMARY 4 Primary block lock protection of mid address space LOCK_MID_SECONDARY 5 Secondary block lock protection of mid address space LOCK_HIGH 6 Block lock protection of high address space Table 32. Arguments for GetLock() (continued) Argument Description Range |
|
链接网址 |
| 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 |