参数资料
型号: ST6240BQ6/XXX
厂商: STMICROELECTRONICS
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP80
封装: PLASTIC, QFP-80
文件页数: 3/73页
文件大小: 1963K
代理商: ST6240BQ6/XXX
Obsolete
Product(s)
- Obsolete
Product(s)
Obsolete
Product(s)
- Obsolete
Product(s)
11/73
ST62T40B/E40B
MEMORY MAP (Cont’d)
1.3.6
Data
RAM/EEPROM
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.
Bit2. These bits are not used.
Bit 1 - DRBR1. This bit, when set, selects
EEPROM Page 1.
Bit 0 - DRBR0. This bit, when set, selects
EEPROM Page 0.
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 at the address CBh; nevertheless it is
a write only register that cannot be accessed with
single-bit operations. This register is used to select
the desired 64-byte RAM/EEPROM bank of the
Data Space. The number of banks has to be load-
ed 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 6. Data RAM Bank Register Set-up
70
-
DRBR4 DRBR3
-
DRBR1 DRBR0
DRBR
ST62T40B/E40B
00h
None
01h
EEPROM Page 0
02h
EEPROM Page 1
08h
RAM Page 1
10h
RAM Page 2
other
Reserved
11
相关PDF资料
PDF描述
ST6242BQ1/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP64
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
相关代理商/技术参数
参数描述
ST6240-P/QFP 功能描述:插座和适配器 ST62 P/QFP Adaptor RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
ST6240Q1/XX 制造商:未知厂家 制造商全称:未知厂家 功能描述:8-Bit Microcontroller
ST6240Q6/XX 制造商:未知厂家 制造商全称:未知厂家 功能描述:8-Bit Microcontroller
ST6242 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:8-BIT OTP/EPROM MCU WITH LCD DRIVER, EEPROM AND A/D CONVERTER
ST6242B 制造商:未知厂家 制造商全称:未知厂家 功能描述:8-BIT MICROCONTROLLER ( MCU ) WITH OTP. ROM. FASTROM. EPROM. LCD DRIVER. EEPROM. A/D CONVERTER AND 64 PINS