DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

HT46R016 데이터 시트보기 (PDF) - Holtek Semiconductor

부품명
상세내역
제조사
HT46R016
Holtek
Holtek Semiconductor Holtek
HT46R016 Datasheet PDF : 91 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
HT46R016/HT46R017
Enhanced A/D Type 8-Bit OTP MCU
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 anthe stack is not full. The external interrupt active edg transition type, whether high to
low, low to high or both is specified in the CTRL0 register.
Timer/Event 0/1 counter interrupt vector
This internal vector is used by the Timer/Event Counters. If a Timer/Event Counter overflow
occurs, the program will jump to its respective location and begin execution if the associated
Timer/Event Counter interrupt is enabled and the stack is not full.
Time base interrupt vector
This internal vector is used by the internal Time Base. If a Time Base overflow occurs, the
program will jump to this location and begin execution if the Time Base counter interrupt is
enabled and the stack is not full.
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. 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 current Program Memory
page or last Program Memory page using the “TABRDC [m]” or “TABRDL [m]” instructions,
respectively. When these instructions are 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 following diagram illustrates the addressing data flow of the look-up table:
Last page or
present page
PCx~PC8
PC High Byte
TBLP Register
Program Memory
Data
16 bits
Register TBLH
High Byte
User Selected
Register
Low Byte
Rev. 1.00
16
July 16, 2012

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]