Rev. 1.10
24
November 04, 2019
Rev. 1.10
25
November 04, 2019
HT45F5Q-3
Battery Charger Flash MCU
HT45F5Q-3
Battery Charger 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
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 two banks, which are Bank 0 and Bank 1 and
implemented in 8-bit wide Memory. Switching between the different Data Memory banks is
achieved by setting the Bank Pointer to the correct value. The address range of the Special Purpose
Data Memory for the device is from 00H to 7FH in Bank 0 while the General Purpose Data Memory
address range is from 80H to FFH in Bank 0 and Bank 1.
Special Purpose Data Memory
General Purpose Data Memory
Located Banks
Capacity
Bank: Address
Bank 0
256×8
Bank 0: 80H~FFH
Bank 1: 80H~FFH
Data Memory Summary
Bank 1
00H
80H
FFH
Special Purpose
Data Memory
(Bank 0)
General Purpose
Data Memory
(Bank 0 ~ Bank 1)
Bank 0
7FH
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.