Rev. 1.20
�2
�an�a�� 2�� 201�
Rev. 1.20
��
�an�a�� 2�� 201�
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Key 8-Bit Flash MCU with LED/LCD Driver
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Key 8-Bit Flash MCU with LED/LCD Driver
RAM Data Memory
The Data Memory is a volatile area of 8-bit wide RAM internal memory and is the location where
temporary information is stored.
Structure
Divided into two types, the first of these is an area of RAM, known as the Special Function Data
Memory. Here are located registers which are necessary for correct operation of the device. Many
of these registers can be read from and written to directly under program control, however, some
remain protected from user manipulation. The second area of Data Memory is known as the General
Purpose Data Memory, which is reserved for general purpose use. All locations within this area are
read and write accessible under program control.
The overall Data Memory is subdivided into several banks for the devices. The Special Purpose
Data Memory registers addressed from 00H~7FH in Data Memory are common and accessible in
all banks, with the exception of the EEC register at address
40H which is only accessible in Bank 1.
Switching between the different Data Memory sectors is achieved by setting the Bank Pointer to the
correct value. The start address of the Data Memory for all devices is the address 00H.
Memory Type
Device
Capacity
Special F�nction
Data Memo��
BS82B12A-�
Bank 0~2: 00H~7FH
EEC �egiste� at 40H onl� accessible in Bank 1
BS82C16A-�
Bank 0~�: 00H~7FH
EEC �egiste� at 40H onl� accessible in Bank 1
BS82D20A-�
Bank 0~�: 00H~7FH
EEC �egiste� at 40H onl� accessible in Bank 1
Gene�al p��pose
Data Memo��
BS82B12A-�
�84×8
Bank 0: 80H~FFH
Bank 1: 80H~FFH
Bank 2: 80H~FFH
BS82C16A-�
�12×8
Bank 0: 80H~FFH
Bank 1: 80H~FFH
Bank 2: 80H~FFH
Bank �: 80H~FFH
BS82D20A-�
768×8
Bank 0: 80H~FFH
Bank 1: 80H~FFH
Bank 2: 80H~FFH
Bank �: 80H~FFH
Bank 4: 80H~FFH
Bank �: 80H~FFH
Data Memory Sturcture
Special F�nction
Data Memo��
Gene�al P��pose
Data Memo��
00H
7FH
80H
FFH
40H in Bank 1
Bank 0
Bank 1
EEC
Bank N
N=2 fo� BS82B12A-�; N=� fo� BS82C16A-�; N=� fo� BS82D20A-�
Data Memory Structure
Содержание BS82B12A-3
Страница 33: ...Rev 1 20 33 January 23 2015 BS82B12A 3 BS82C16A 3 BS82D20A 3 Touch Key 8 Bit Flash MCU with LED LCD Driver ...
Страница 34: ...Rev 1 20 34 January 23 2015 BS82B12A 3 BS82C16A 3 BS82D20A 3 Touch Key 8 Bit Flash MCU with LED LCD Driver ...
Страница 35: ...Rev 1 20 35 January 23 2015 BS82B12A 3 BS82C16A 3 BS82D20A 3 Touch Key 8 Bit Flash MCU with LED LCD Driver ...