
Rev. 1.40
22
March 29, 2019
Rev. 1.40
23
March 29, 2019
HT45F23A/HT45F24A
TinyPower
TM
Flash MCU with OPA & Comparators
HT45F23A/HT45F24A
TinyPower
TM
Flash MCU with OPA & Comparators
Location 018H
This internal vector is used by the Multi-function Interrupt. When the Time Base overflows, the A/D
converter completes its conversion process, an active edge appears on the External Peripheral
interrupt pin, a Comparator output interrupt, an EEPROM Write or Read cycle ends interrupt, or a
LVD detection interrupt, the program will jump to this location and begin execution if the relevant
interrupt is enabled and the stack is not full.
Program Memory Structure
Look-up Table
Any location within the Program Memory can be defined as a look-up table where programmers can
store fixed data. To use the look-up table, the table pointer must first be setup by placing the address
of the look up data to be retrieved in the table pointer register, TBLP and TBHP. These registers
define the total address of the look-up table.
After setting up the table pointer, the table data can be retrieved from the Program Memory
using the “TABRDC [m]” or “TABRDL [m]” instructions, respectively. When the instruction is
executed, the lower order table byte from the Program Memory will be transferred to the user
defined Data Memory register [m] as specified in the instruction. The higher order table data byte
from the Program Memory will be transferred to the TBLH special register. Any unused bits in
this transferred higher order byte will be read as “0”. The accompanying diagram illustrates the
addressing data flow of the look-up table.
The following diagram illustrates the addressing data flow of the look-up table: