Rev. 1.40
�4
De�e��e� 1�� �01�
Rev. 1.40
��
De�e��e� 1�� �01�
BS67F340/BS67F350/BS67F360/BS67F370
Enhanced Touch A/D Flash MCU with LCD Driver
BS67F340/BS67F350/BS67F360/BS67F370
Enhanced Touch A/D Flash MCU with LCD Driver
00H
7FH
80H
FFH
Spe�ial Pu�pose
Data Me�o�y
Gene�al Pu�pose
Data Me�o�y
Se�to� 0
Se�to� 1
Sector N
(Se�to� 0 ~ Se�to� 1)
(Sector 0 ~ Sector N)
Note: N=3 for BS67F340;
N=5 for BS67F350;
N=7 for BS67F360;
LCD Display
Data Me�o�y
(Se�to� 4)
Tou�h Key Module
Data Me�o�y
(Se�to� �~Se�to� �)
N=11 for BS67F370;
Data Memory Structure
Data Memory Addressing
For these devices that support the extended instructions, there is no Bank Pointer for Data Memory.
The Bank Pointer, PBP, is only available for Program Memory. For Data Memory the desired Sector
is pointed by the MP1H or MP2H register and the certain Data Memory address in the selected
sector is specified by the MP1L or MP2L register when using indirect addressing access.
Direct Addressing can be used in all sectors using the corresponding instruction which can address
all available data memory space. For the accessed data memory which is located in any data
memory sectors except sector 0, the extended instructions can be used to access the data memory
instead of using the indirect addressing access. The main difference between standard instructions
and extended instructions is that the data memory address “m” in the extended instructions can be
from 10 bits to 12 bits depending upon which device is selected, the high byte indicates a sector and
the low byte indicates a specific address.
General Purpose Data Memory
All microcontroller programs require an area of read/write memory where temporary data can be
stored and retrieved for use later. It is this area of RAM memory that is known as General Purpose
Data Memory. This area of Data Memory is fully accessible by the user programing for both reading
and writing operations. By using the bit operation instructions individual bits can be set or reset
under program control giving the user a large range of flexibility for bit manipulation in the Data
Memory.
Special Purpose Data Memory
This area of Data Memory is where registers, necessary for the correct operation of the
microcontroller, are stored. Most of the registers are both readable and writeable but some are
protected and are readable only, the details of which are located under the relevant Special Function
Register section. Note that for locations that are unused, any read instruction to these addresses will
return the value “00H”.