Other Parts Discussed in Thread: TMS320F2800137, C2000WARE
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:TMS320F2800137 主题中讨论的其他器件: C2000WARE
团队成员:
使用 TMS320F2800137闪存 API (flashapi_ex1_programming)进行 Im 编码、
是否有任何文档可帮助我理解函数"Fapi_setupBankSectorEnable"
我想启用 FLASH_BANK0_SEC_16、但不知道、接下来会怎么样。
// Enable program/erase protection for select sectors where this example is
// located
// CMDWEPROTA is applicable for sectors 0-31
// Bits 0-11 of CMDWEPROTB is applicable for sectors 32-127, each bit represents
// a group of 8 sectors, e.g bit 0 represents sectors 32-39, bit 1 represents
// sectors 40-47, etc
Fapi_setupBankSectorEnable(FLASH_WRAPPER_PROGRAM_BASE+FLASH_O_CMDWEPROTA, 0x13FFFF00);
Fapi_setupBankSectorEnable(FLASH_WRAPPER_PROGRAM_BASE+FLASH_O_CMDWEPROTB, 0x00000080);