參數(shù)資料
型號: ST6240BQ1
英文描述: 8-BIT MICROCONTROLLER ( MCU ) WITH OTP. ROM. FASTROM. EPROM. LCD DRIVER. EEPROM. A/D CONVERTER AND 80 PINS
中文描述: 8位微控制器(MCU)的與檢察官辦公室。光盤。 FASTROM。存儲器。液晶顯示驅(qū)動程序。 EEPROM中。的A / D轉(zhuǎn)換器和80圖釘
文件頁數(shù): 12/82頁
文件大?。?/td> 870K
代理商: ST6240BQ1
12/82
ST62T18C/E18C
MEMORY MAP
(Cont’d)
1.3.6 Data RAM Bank Register (DRBR)
Address: CBh
Write only
Bit 7-5 = These bits are not used
Bit 4
-
DRBR4
. This bit, when set, selects RAM
Page 2.
Bit 3 -
DRBR3
. This bit, when set, selects RAM
Page 1.
Bit 2.0 These bits are not used.
The selection of the bank is made by programming
the Data RAM Bank Switch register (DRBR regis-
ter) located at address CBh of the Data Space ac-
cording to Table 1. No more than one bank should
be set at a time.
The DRBR register can be addressed like a RAM
Data Space location at the address CBh; never-
theless it is a write only register that cannot be ac-
cessed with single-bit operations. This register is
used to select the desired 64-byte RAM bank of
the Data Space. The number of banks has to be
loaded in the DRBR register and the instruction
has to point to the selected location as if it was in
bank 0 (from 00h address to 3Fh address).
This register is not cleared during the MCU initiali-
zation, therefore it must be written before the first
access to the Data Space bank region. Refer to
the Data Space description for additional informa-
tion. The DRBR register is not modified when an
interrupt or a subroutine occurs.
Notes
:
Care is required when handling the DRBR register
as it is write only. For this reason, it is not allowed
to change the DRBR contents while executing in-
terrupt service routine, as the service routine can-
not save and then restore its previous content. If it
is impossible to avoid the writing of this register in
interrupt service routine, an image of this register
must be saved in a RAM location, and each time
the program writes to DRBR it must write also to
the image register. The image register must be
written first, so if an interrupt occurs between the
two instructions the DRBR is not affected.
In DRBR Register, only 1 bit must be set. Other-
wise two or more pages are enabled in parallel,
producing errors.
Table 5. Data RAM Bank Register Set-up
7
0
-
-
-
DRBR4 DRBR3
-
-
-
DRBR
00h
01h
02h
08h
10h
other
ST62T18C/E18C
None
Reserved
Reserved
RAM Page 1
RAM Page 2
Reserved
12
相關(guān)PDF資料
PDF描述
ST6240BQ6 8-BIT MICROCONTROLLER ( MCU ) WITH OTP. ROM. FASTROM. EPROM. LCD DRIVER. EEPROM. A/D CONVERTER AND 80 PINS
ST62E45G1 8-BIT MICROCONTROLLER
ST62E60BF1 8-BIT MICROCONTROLLER
ST62T01CM6 MICROCONTROLLER|8-BIT|ST6200 CPU|CMOS|SOP|16PIN|PLASTIC
ST62T01CN3 MICROCONTROLLER|8-BIT|ST6200 CPU|CMOS|SSOP|16PIN|PLASTIC
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ST6240BQ1/XXX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
ST6240BQ6 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT MICROCONTROLLER ( MCU ) WITH OTP. ROM. FASTROM. EPROM. LCD DRIVER. EEPROM. A/D CONVERTER AND 80 PINS
ST6240BQ6/XXX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
ST6240-P/QFP 功能描述:插座和適配器 ST62 P/QFP Adaptor RoHS:否 制造商:Silicon Labs 產(chǎn)品:Adapter 用于:EM35x
ST6240Q1/XX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller