Electronic Components Datasheet Search
  English  ▼

X  

HT66F20 Datasheet(PDF) 158 Page - Holtek Semiconductor Inc

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

HT66F20 Datasheet(HTML) 158 Page - Holtek Semiconductor Inc

Back Button HT66F20 Datasheet HTML 154Page - Holtek Semiconductor Inc HT66F20 Datasheet HTML 155Page - Holtek Semiconductor Inc HT66F20 Datasheet HTML 156Page - Holtek Semiconductor Inc HT66F20 Datasheet HTML 157Page - Holtek Semiconductor Inc HT66F20 Datasheet HTML 158Page - Holtek Semiconductor Inc HT66F20 Datasheet HTML 159Page - Holtek Semiconductor Inc HT66F20 Datasheet HTML 160Page - Holtek Semiconductor Inc HT66F20 Datasheet HTML 161Page - Holtek Semiconductor Inc HT66F20 Datasheet HTML 162Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 158 / 250 page
background image
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
Rev. 1.20
158
June 4, 2010
Interrupts
Interrupts are an important part of any microcontroller
system. When an external event or an internal function
such as a Timer Module or an A/D converter requires
microcontroller attention, their corresponding interrupt
will enforce a temporary suspension of the main pro-
gram allowing the microcontroller to direct attention to
their respective needs. The device contains several ex-
ternal interrupt and internal interrupts functions. The ex-
ternal interrupts are generated by the action of the
external INT0~INT3 and PINT pins, while the internal in-
terrupts are generated by various internal functions
such as the TMs, Comparators, Time Base, LVD,
EEPROM, SIM and the A/D converter.
Interrupt Registers
Overall interrupt control, which basically means the set-
ting of request flags when certain microcontroller condi-
tions occur and the setting of interrupt enable bits by the
application program, is controlled by a series of regis-
ters, located in the Special Purpose Data Memory, as
shown in the accompanying table. The number of regis-
ters depends upon the device chosen but fall into three
categories. The first is the INTC0~INTC3 registers
which setup the primary interrupts, the second is the
MFI0~MFI3 registers which setup the Multi-function in-
terrupts. Finally there is an INTEG register to setup the
external interrupt trigger edge type.
Each register contains a number of enable bits to enable
or disable individual registers as well as interrupt flags to
indicate the presence of an interrupt request. The nam-
ing convention of these follows a specific pattern. First is
listed an abbreviated interrupt type, then the (optional)
number of that interrupt followed by either an
²E² for en-
able/disable bit or
²F² for request flag.
Function
Enable
Bit
Request
Flag
Notes
Global
EMI
¾¾
Comparator
CPnE
CPnF
n=0or1
INTn Pin
INTnE
INTnF
n = 0~3
A/D Converter
ADE
ADF
¾
Multi-function
MFnE
MFnF
n = 0~5
Time Base
TBnE
TBnF
n=0or1
SIM
SIME
SIMF
¾
LVD
LVE
LVF
¾
EEPROM
DEE
DEF
¾
PINT Pin
XPE
XPF
¾
TM
TnPE
TnPF
n = 0~3
TnAE
TnAF
TnBE
TnBF
Interrupt Register Bit Naming Conventions
· Interrupt Register Contents
¨ HT66F20
Name
Bit
76543210
INTEG
¾¾¾¾
INT1S1
INT1S0
INT0S1
INT0S0
INTC0
¾
CP0F
INT1F
INT0F
CP0E
INT1E
INT0E
EMI
INTC1
ADF
MF1F
MF0F
CP1F
ADE
MF1E
MF0E
CP1E
INTC2
MF3F
TB1F
TB0F
MF2F
MF3E
TB1E
TB0E
MF2E
MFI0
¾¾
T0AF
T0PF
¾¾
T0AE
T0PE
MFI1
¾¾
T1AF
T1PF
¾¾
T1AE
T1PE
MFI2
DEF
LVF
XPF
SIMF
DEE
LVE
XPE
SIME



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 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


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