| 数据搜索系统,热门电子元器件搜索 |
|
PM0223 数据表(PDF) 105 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0223 数据表(HTML) 105 Page - STMicroelectronics |
|
105 / 110 page ![]() DocID025763 Rev 1 105/110 PM0223 STM32L0 Core Peripherals 108 Table 37 shows the encodings for the C, B, and S access permission bits . Table 38 shows the AP encodings that define the access permissions for privileged and unprivileged software . 4.5.7 MPU mismatch When an access violates the MPU permissions, the processor generates a HardFault. 4.5.8 Updating an MPU region To update the attributes for an MPU region, update the MPU_RNR, MPU_RBAR and MPU_RASR registers. Updating an MPU region Simple code to configure one region: ; R1 = region number ; R2 = size/enable ; R3 = attributes ; R4 = address LDR R0,=MPU_RNR ; 0xE000ED98, MPU region number register Table 37. C, B, and S encoding C B S Memory type Shareability Other attributes 0 0 -(1) 1. The MPU ignores the value of this bit. Strongly-ordered Shareable - 1 -(1) Device Shareable - 1 0 0 Normal Not shareable Outer and inner write-through. No write allocate. 1 Shareable 1 0 Normal Not shareable Outer and inner write-back. No write allocate. 1 Shareable Table 38. AP encoding AP[2:0] Privileged permissions Unprivileged permissions Description 000 No access No access All accesses generate a permission fault. 001 RW No access Access from privileged software only. 010 RW RO Writes by unprivileged software generate a permission fault. 011 RW RW Full access. 100 Unpredictable Unpredictable Reserved. 101 RO No access Reads by privileged software only. 110 RO RO Read only, by privileged or unprivileged software. 111 RO RO Read only, by privileged or unprivileged software. |
|
链接网址 |
| 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 |