전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

ST9 데이터시트(PDF) 28 Page - STMicroelectronics

부품명 ST9
상세설명  USER GUIDE
PDF  146 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST9 데이터시트(HTML) 28 Page - STMicroelectronics

Back Button ST9 Datasheet HTML 24Page - STMicroelectronics ST9 Datasheet HTML 25Page - STMicroelectronics ST9 Datasheet HTML 26Page - STMicroelectronics ST9 Datasheet HTML 27Page - STMicroelectronics ST9 Datasheet HTML 28Page - STMicroelectronics ST9 Datasheet HTML 29Page - STMicroelectronics ST9 Datasheet HTML 30Page - STMicroelectronics ST9 Datasheet HTML 31Page - STMicroelectronics ST9 Datasheet HTML 32Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 28 / 146 page
background image
28/146
ST9 USER GUIDE
3.1.7.4 Data Segment
Data uses the page mechanism to address the 4 Mbytes of memory.
To authorize data coming from different 64-Kbyte segments, a set of 4 Data Page Registers
(DPR0 to DPR3) allows you to address 16 Kbytes per register (see Figure 13). The DPR is se-
lected with the 2 high-order bits of the 16-bit data address:
DPR0: from 0000h to 3FFFh (b15-b14=00)
DPR1: from 4000h to 7FFFh (b15-b14=01)
DPR2: from 8000h to BFFFh (b15-b14=10)
DPR3: from C000h to FFFFh (b15-b14=11)
After you select the DPR, the 8-bit value of the selected DPR register is used to extend the 14
remaining bits of the address to 22 bits.
For example, if DPR0 equals 20h and DPR1 equals 2h, each memory access in the range of
0000h to 3FFFh uses the DPR0 page and addresses data from 080000h to 083FFFh, and
each memory access in the range of 4000h to 7FFFh uses the DPR1 page and addresses
data from 008000h to 00BFFFh (see Figure 13). For example:
16-bit address = 0010 0101 1010 0101 = 25A5h
0000h < 25A5h < 3FFFh
DPR0 is selected, so the 6 high-order bits are equal to 20h
22-bit address = 0010 0000 10 0101 1010 0101
DPR0 value, 14 LSB of the 16-bit address
= 00 1000 0010 0101 1010 0101 = 0825A5h
With this mechanism, if the 16-bit addresses are different only on the 2 highest bits and if all
the DPR registers selected with these two bits have the same value, the resulting 22-bit ad-
dress will be the same.
Four pages of 16Kbyte of data memory are enough for many applications and allow you to use
data from different segments without costing additional CPU cycles. With four DPRs, you can
access up to 64K (4 x 16K) of data without changing the DPR values. Data can be variables
stored in RAM or constants stored in program ROM.
The four DPR registers are located in the MMU register page (page 21 of register group F). If
you use them frequently, you can relocate them to register group E, by programming bit 5 of
the EMR2 register (R246 in page 21). This prevents you from having to switch to the MMU
register page from another peripheral register page in order to change a DPR register value.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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