| 数据搜索系统,热门电子元器件搜索 |
|
AN2021 数据表(PDF) 30 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2021 数据表(HTML) 30 Page - STMicroelectronics |
|
30 / 39 page ![]() New registers AN2021 30/39 Example in case of Small memory model with tasking toolchain The Small memory model makes it possible to have a total code size up to 16 Mbytes, up to 64 Kbytes of fast accessible 'normal user data' in three different memory configurations and the possibility to access far/huge data, if more than 64 Kbytes of data is needed. The three memory configurations possible for this 64 Kbytes of 'normal user data' are: ● Default The four DPP registers are assumed to contain their system startup value (0-3), providing one linear data area of 64 Kbytes in the first segment (00’0000h - 00’FFFFh). ● Addresses Linear DPP3 contains page number 3, allowing access to SYSTEM (extended) SFR registers and bit-addressable memory. DPP0 - DPP2 provide a linear data area of 48 Kbytes anywhere in memory. ● Paged DPP3 contains page number 3, allowing access to SYSTEM (extended) SFR registers and bit-addressable memory. DPP0, DPP1 and DPP2 contain the page number of a data area of 16 Kbytes anywhere in memory. Therefore, mapping the XRAM2 onto page 2 (segment 0) makes it available for PEC transfer and the default configuration of the C compiler toolchains can still be used. 4.2 XPEREMU register This register has been added as a write-only register. The bit meaning is exactly the same as in the XPERCON register. 4.2.1 Hardware impact None. 4.2.2 Software impact Once the XPEN bit of the SYSCON register is set and at least one of the XPeripherals (except for memories) is activated, the XPEREMU register must be written with the same contents as the XPERCON register: This is mandatory in order to allow a correct emulation of the new set of features introduced on XBus for the new ST10 generation. The following instructions must be added inside the initialization routine: if (SYSCON.XPEN && (XPERCON & 0x07D3)) then {XPEREMU = XPERCON} ST10F272: XPEREMU (EB7Eh) XREG Reset value: XXXXh 15 14 13 12 11 10 98765 4321 0 Reserved XMIS CEN XI2 CEN XSS CEN XAS CEN XPW MEN Res. XRT CEN CAN2 EN CAN1 EN - WOWOWO WOWO - WOWOWOWOWO |
|
链接网址 |
| 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 |