Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

HT46CU66 Datasheet(PDF) 9 Page - Holtek Semiconductor Inc

Part # HT46CU66
Description  A/D Type 8-Bit MCU with LCD
PDF  63 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT46CU66 Datasheet(HTML) 9 Page - Holtek Semiconductor Inc

Back Button HT46CU66 Datasheet HTML 5Page - Holtek Semiconductor Inc HT46CU66 Datasheet HTML 6Page - Holtek Semiconductor Inc HT46CU66 Datasheet HTML 7Page - Holtek Semiconductor Inc HT46CU66 Datasheet HTML 8Page - Holtek Semiconductor Inc HT46CU66 Datasheet HTML 9Page - Holtek Semiconductor Inc HT46CU66 Datasheet HTML 10Page - Holtek Semiconductor Inc HT46CU66 Datasheet HTML 11Page - Holtek Semiconductor Inc HT46CU66 Datasheet HTML 12Page - Holtek Semiconductor Inc HT46CU66 Datasheet HTML 13Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 63 page
background image
HT46RU66/HT46CU66
Rev. 1.20
9
October 2, 2007
microcontroller manages program control by loading the
required address into the Program Counter. For condi-
tional skip instructions, once the condition has been
met, the next instruction, which has already been
fetched during the present instruction execution, is dis-
carded and a dummy cycle takes its place while the cor-
rect instruction is obtained.
The lower byte of the Program Counter, known as the
Program Counter Low register or PCL, is available for
program control and is a readable and writable register.
By transferring data directly into this register, a short pro-
gram jump can be executed directly, however, as only
this low byte is available for manipulation, the jumps are
limited to the present page of memory, that is 256 loca-
tions. When such program jumps are executed it should
also be noted that a dummy cycle will be inserted.
As the Program Memory is stored in two Banks, the Bank
selection is under the control of bit 5 of the Bank Pointer.
It is this Bank Pointer bit that controls the highest address
bit of the Program Counter as shown in the diagram.
Program Memory
The program memory is used to store the program in-
structions, which are to be executed. It also contains
data, table, and interrupt entries, and is organized into a
format of 16384
´16 bits, which are addressed by the PC
and table pointer. The Program Memory is divided into
two banks, Bank0 and Bank1. Each bank has a capacity
of 8192
´16 bits and is selected using bit BP.5 in the the
bank pointer register. With BP = 000XXXXXB, Bank0 is se-
lected and with BP = 001XXXXXB, Bank1 is selected. The
JMP and CALL instructions provide only 13 bits of ad-
dress to allow branching within any 8K program memory
bank. When executing a JMP or CALL instruction, the
user must ensure that the bank pointer bit, BP.5, is pro-
grammed so that the desired program memory bank is
addressed. If a return from a CALL instruction or inter-
rupt is executed, the entire 14 bit PC is popped off the
stack. Therefore, manipulation of the BP.5 is not re-
quired when the RET or RETI instructions are executed.
Certain locations in the Program Memory are reserved
for special usage:
· Location 000H
Location 000H is reserved for program initialisation.
After a device reset, the program will jump to this loca-
tion and begin execution.
· Location 004H
Location 004H is reserved for the external interrupt
service program. If the INT0 input pin is activated, the
interrupt is enabled, and the stack is not full, the pro-
gram begins execution at location 004H.
· Location 008H
Location 008H is also reserved for the external inter-
rupt service program. If the INT1 input pin is activated,
the interrupt is enabled, and the stack is not full, the
program will jump to this location and begin execution.
· Location 00CH
Location 00CH is reserved for the Timer/Event Coun-
ter 0 interrupt service program. If a timer interrupt re-
sults from a Timer/Event Counter 0 overflow, and if the
interrupt is enabled and the stack is not full, the pro-
gram will jump to this location and begin execution.
· Location 010H
Location 010H is reserved for the Timer/Event Coun-
ter 1 interrupt service program. If a timer interrupt re-
sults from a Timer/Event Counter 1 overflow, and if the
interrupt is enabled and the stack is not full, the pro-
gram will jump to this location and begin execution.
· Location 014H
Location 014H is reserved for the UART Bus interrupt
service program. If the UART Bus interrupt resulting
from a transmission flag or reception is completed, and
if the interrupt is enabled and the stack is not full, the
program will jump to this location and begin execution.
Instruction(s)
Table Location
**13~*8
*7
*6
*5
*4
*3
*2
*1
*0
TABRDC [m]
TBHP
@7
@6
@5
@4
@3
@2
@1
@0
TABRDL [m]
111111
@7
@6
@5
@4
@3
@2
@1
@0
Table Location
Note:
*13~*0: Table location bits
TBHP: Table pointer higher-order bits
@7~@0: Table pointer lower-order bits (TBLP)
D e v i c e i n i t i a l i z a t i o n p r o g r a m
E x t e r n a l i n t e r r u p t 0 s u b r o u t i n e
T i m e r / e v e n t c o u n t e r 0 i n t e r r u p t s u b r o u t i n e
P r o g r a m
M e m o r y
( 8 1 9 2
´ 2 B a n k )
L o o k - u p t a b l e ( 2 5 6 w o r d s )
N o t e : n r a n g e s f r o m 0 t o 1 F
E x t e r n a l i n t e r r u p t 1 s u b r o u t i n e
U A R T B u s I n t e r r u p t
M u l t i - F u n c t i o n I n t e r r u p t
L o o k - u p t a b l e ( 2 5 6 w o r d s )
1 6 b i t s
T i m e r / e v e n t c o u n t e r 1 i n t e r r u p t s u b r o u t i n e
0 0 0 H
0 0 4 H
0 0 8 H
0 1 4 H
1 F F F H
0 1 8 H
0 0 C H
n 0 0 H
n F F H
0 1 0 H
1 F 0 0 H
Program Memory



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com