參數(shù)資料
型號(hào): ST6235BQ1
廠商: 意法半導(dǎo)體
英文描述: 8-BIT OTP/EPROM MCUs WITH A/D CONVERTER, 16-BIT AUTO-RELOAD TIMER, EEPROM, SPI AND UART
中文描述: 8位檢察官辦公室/存儲(chǔ)器與阿微控制器/ D轉(zhuǎn)換器,16位自動(dòng)重加載定時(shí)器,EEPROM中,SPI和UART
文件頁(yè)數(shù): 11/82頁(yè)
文件大?。?/td> 617K
代理商: ST6235BQ1
11/82
ST62T35B/E35B
MEMORY MAP
(Cont’d)
1.3.5 Data Window Register (DWR)
The Data read-only memory window is located
from address 0040h to address 007Fh in Data
space. It allows direct reading of 64 consecutive
bytes located anywhere in program memory, be-
tween address 0000h and 1FFFh (top memory ad-
dress depends on the specific device). All the pro-
gram memory can therefore be used to store either
instructions or read-only data. Indeed, the window
can be moved in steps of 64 bytes along the pro-
grammemory by writingtheappropriate codeinthe
Data Window Register (DWR).
The DWR can be addressed like any RAM loca-
tion in the Data Space, it is however a write-only
register and therefore cannot be accessed using
single-bit operations. This register is used to posi-
tion the 64-byte read-only data window (from ad-
dress 40h to address 7Fh of the Data space) in
program memory in 64-byte steps. The effective
address of the byte to be read as data in program
memory is obtained by concatenating the 6 least
significant bits of the register address given in the
instruction (as least significant bits) and the con-
tent of the DWR register (as most significant bits),
as illustrated in Figure 5 below. For instance,
when addressing location 0040h of the Data
Space, with 0 loaded in the DWR register, the
physical location addressed in program memory is
00h. The DWR register is not cleared on reset,
therefore it must be written to prior to the first ac-
cess to the Data read-only memory window area.
Data Window Register (DWR)
Address: 0C9h
Write Only
Bits 7 = Not used.
Bit 6-0 =
DWR5-DWR0:
Data read-only memory
Window Register Bits.These are the Data read-
only memory Window bits that correspond to the
upper bits of the data read-only memory space.
Caution:
This register is undefined on reset. Nei-
ther read nor single bit instructions may be used to
address this register.
Note:
Care is required when handling the DWR
register as it is write only. For this reason, the
DWR contents should not be changed while exe-
cuting an interrupt service routine, as the service
routine cannot save and then restore the register’s
previous contents. If it is impossible to avoid writ-
ing to the DWR during the interrupt service rou-
tine, an image of the register must be saved in a
RAM location, and each time the program writes
to the DWR, it must also write to the image regis-
ter. The image register must be written first so
that, if an interrupt occurs between the twoinstruc-
tions, the DWR is not affected.
Figure 5. Data read-only memory Window Memory Addressing
7
0
-
DWR6 DWR5 DWR4 DWR3 DWR2 DWR1 DWR0
DATA ROM
WINDOW REGISTER
CONTENTS
(DWR)
DATA SPACE ADDRESS
40h-7Fh
IN INSTRUCTION
PROGRAM SPACE ADDRESS
READ
7
6
5
4
3
2
0
5
4
3
2
1
0
5
4
3
2
1
0
1
6
7
8
9
10
11
0
1
VR0A1573
12
1
0
DATA SPACE ADDRESS
59h
0
0
0
0
0
1
0
0
1
1
1
Example:
DWR=28h
1
1
0
0
0
0
0
0
0
0
1
ROM
ADDRESS:A19h
1
1
13
0
1
10
相關(guān)PDF資料
PDF描述
ST62T35B 8-BIT OTP/EPROM MCUs WITH A/D CONVERTER, 16-BIT AUTO-RELOAD TIMER, EEPROM, SPI AND UART
ST62E35B 8-BIT OTP/EPROM MCUs WITH A/D CONVERTER, 16-BIT AUTO-RELOAD TIMER, EEPROM, SPI AND UART
ST6235BQ3 8-BIT OTP/EPROM MCUs WITH A/D CONVERTER, 16-BIT AUTO-RELOAD TIMER, EEPROM, SPI AND UART
ST6235BQ6 8-BIT OTP/EPROM MCUs WITH A/D CONVERTER, 16-BIT AUTO-RELOAD TIMER, EEPROM, SPI AND UART
ST623x-EMU2 Real Time Emulation Development Tools for ST6218/ST6228/ST623x MCUs(ST6218/6228/623x的實(shí)時(shí)開發(fā)工具)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ST6235BQ1/XXX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
ST6235BQ3 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT OTP/EPROM MCUs WITH A/D CONVERTER, 16-BIT AUTO-RELOAD TIMER, EEPROM, SPI AND UART
ST6235BQ3/XXX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
ST6235BQ6 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT OTP/EPROM MCUs WITH A/D CONVERTER, 16-BIT AUTO-RELOAD TIMER, EEPROM, SPI AND UART
ST6235BQ6/XXX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller