HT46R064D/065D/066D
Enhanced A/D Type 8-Bit OTP MCU with LED Driver
Program Memory
The Program Memory is the location where the user code or program is stored. The device is supplied
with One-Time Programmable, OTP, memory where users can program their application code into the
device. By using the appropriate programming tools, OTP devices offer users the flexibility to freely
develop their applications which may be useful during debug or for products requiring frequent
upgrades or program changes.
Structure
The Program Memory has a capacity of 1K´14 to 4K´15. The Program Memory is addressed by the
Program Counter and also contains data, table information and interrupt entries. Table data, which can
be setup in any location within the Program Memory, is addressed by separate table pointer registers.
Device
HT46R064D
HT46R065D
HT46R066D
Capacity
1K´14
2K´15
4K´15
Special Vectors
Within the Program Memory, certain locations are reserved for special usage such as reset and
interrupts.
Reset Vector
This vector is reserved for use by the device reset for program initialisation. After a device reset is initiated,
the program will jump to this location and begin execution.
External Interrupt Vector
This vector is used by the external interrupt. If the external interrupt pin on the device receives an edge
transition, the program will jump to this location and begin execution if the external interrupt is
enabled and the stack is not full. The external interrupt active edge transition type, whether high to low,
low to high or both is specified in the CTRL1 register.
Program Memory Structure
Rev. 1.00
16
January 12, 2011