参数资料
型号: ST6242BQ1/XXX
厂商: STMICROELECTRONICS
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP64
封装: PLASTIC, QFP-64
文件页数: 2/69页
文件大小: 1846K
代理商: ST6242BQ1/XXX
Obsolete
Product(s)
- Obsolete
Product(s)
Obsolete
Product(s)
- Obsolete
Product(s)
10/69
ST62T42B/E42B
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-
gram memory by writing the appropriate code in the
Data Window Register (DWR).
The DWR can be addressed like any RAM location
in the Data Space, it is however a write-only regis-
ter and therefore cannot be accessed using single-
bit operations. This register is used to position the
64-byte read-only data window (from address 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 content of the
DWR register (as most significant bits), as illustrat-
ed in Figure 5 below. For instance, when address-
ing location 0040h of the Data Space, with 0 load-
ed in the DWR register, the physical location ad-
dressed in program memory is 00h. The DWR reg-
ister is not cleared on reset, therefore it must be
written to prior to the first access to the Data read-
only memory window area.
Data Window Register (DWR)
Address: 0C9h
Write Only
Bits 6, 7 = Not used.
Bit 5-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 routine,
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 register. The
image register must be written first so that, if an in-
terrupt occurs between the two instructions, the
DWR is not affected.
Figure 5. Data read-only memory Window Memory Addressing
70
-
DWR5 DWR4 DWR3 DWR2 DWR1 DWR0
DATA ROM
WINDOW REGISTER
CONTENTS
DATA SPACE ADDRESS
40h-7Fh
IN INSTRUCTION
PROGRAM SPACE ADDRESS
76
543
2
0
543
210
543
210
READ
1
6
7
8
9
10
11
0
1
VR01573A
12
1
0
DATA SPACE ADDRESS
59h
0
1
00
1
Example:
(DWR)
DWR=28h
11
00
0
00
1
ROM
ADDRESS:A19h
11
13
0
1
10
相关PDF资料
PDF描述
ST6246BB6/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP56
ST6260BB6 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP20
ST6294B8/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP28
ST62T94B8 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PDIP28
ST62E85BG1 8-BIT, UVPROM, 8 MHz, MICROCONTROLLER, CQFP80
相关代理商/技术参数
参数描述
ST6242BQ6 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:8-BIT OTP/EPROM MCU WITH LCD DRIVER, EEPROM AND A/D CONVERTER
ST6242BQ6/XXX 制造商:未知厂家 制造商全称:未知厂家 功能描述:8-Bit Microcontroller
ST6242-P/QFP 功能描述:插座和适配器 ST62 P/QFP Adaptor RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
ST6242Q1/XX 制造商:未知厂家 制造商全称:未知厂家 功能描述:8-Bit Microcontroller
ST6242Q6/XX 制造商:未知厂家 制造商全称:未知厂家 功能描述:8-Bit Microcontroller