Rev. 1.00
20
March 24, 2020
Rev. 1.00
21
March 24, 2020
BS83A04C
4-Key Enhanced Touch I/O Flash MCU
BS83A04C
4-Key Enhanced Touch I/O Flash MCU
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
Categorized 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. There is another area of Data Memory reserved for
the Touch Key Data Memory.
The overall Data Memory is subdivided into several banks. The Special Purpose Data Memory
registers are accessible in Bank 0. The Touch Key Data Memory is located in Bank 5~Bank 7.
Switching between the different Data Memory banks is achieved by setting the Bank Pointer to the
correct value. The start address of the Data Memory for the device is the address 00H.
Special Purpose Data Memory General Purpose Data Memory
Touch Key Data Memory
Available Bank
Capacity
Bank
Capacity
Banks
0
128×8
Bank 0: 80H~FFH
24×8
Bank 5: 00H~07H
Bank 6: 00H~07H
Bank 7: 00H~07H
Data Memory Summary
00H
80H
FFH
Special Purpose
Data Memory
(Bank 0 )
General Purpose
Data Memory
(Bank 0)
7FH
Bank 0
Touch Key
Data Memory
(Bank 5 ~ Bank 7)
07H
40H
Data Memory Structure
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.