| 数据搜索系统,热门电子元器件搜索 |
|
PM0223 数据表(PDF) 107 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0223 数据表(HTML) 107 Page - STMicroelectronics |
|
107 / 110 page ![]() DocID025763 Rev 1 107/110 PM0223 STM32L0 Core Peripherals 108 4.5.9 MPU design hints and tips To avoid unexpected behavior, disable the interrupts before updating the attributes of a region that the interrupt handlers might access. When setting up the MPU, and if the MPU has previously been programmed, disable unused regions to prevent any previous region settings from affecting the new MPU setup. MPU configuration for a microcontroller Usually, a microcontroller system has only a single processor and no caches. In such a system, program the MPU as follows: In most microcontroller implementations, the shareability and cache policy attributes do not affect the system behavior. However, using these settings for the MPU regions can make the application code more portable. The values given are for typical situations. In special systems, such as multiprocessor designs or designs with a separate DMA engine, the shareability attribute might be important. In these cases refer to the recommendations of the memory device manufacturer. Table 39. Memory region attributes for a microcontroller Memory region C B S Memory type and attributes Flash memory 1 0 0 Normal memory, Non-shareable, write-through. Internal SRAM 1 0 1 Normal memory, Shareable, write-through. External SRAM 1 1 1 Normal memory, Shareable, write-back, write-allocate. Peripherals 0 1 1 Device memory, Shareable. |
|
链接网址 |
| 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 |