Rev. 1.00
26
August 29, 2018
Rev. 1.00
27
August 29, 2018
HT45F6530
AC Voltage Regulator Flash MCU
HT45F6530
AC Voltage Regulator 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. The Special Purpose Data Memory registers
are accessible in Bank 0, with the exception of the EEC register at address 40H, which is only
accessible in Bank 1. 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. The address range of the Special Purpose Data Memory for the device is from 00H to 7FH
while the address range of the General Purpose Data Memory is from 80H to FFH.
Special Purpose Data Memory
General Purpose Data Memory
Located Banks
Capacity
Bank: Address
0, 1
128×8
Bank 0: 80H~FFH
Data Memory Summary
00H
80H
FFH
Special Purpose
Data Memory
(Bank 0~1)
General Purpose
Data Memory
(Bank 0)
Bank 0
40H: EEC
(Bank 1)
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.