Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

HT85F2240 Datasheet(PDF) 79 Page - Holtek Semiconductor Inc

Part # HT85F2240
Description  A/D Flash 8051 Core Low Pin Count MCU
PDF  147 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT85F2240 Datasheet(HTML) 79 Page - Holtek Semiconductor Inc

Back Button HT85F2240 Datasheet HTML 75Page - Holtek Semiconductor Inc HT85F2240 Datasheet HTML 76Page - Holtek Semiconductor Inc HT85F2240 Datasheet HTML 77Page - Holtek Semiconductor Inc HT85F2240 Datasheet HTML 78Page - Holtek Semiconductor Inc HT85F2240 Datasheet HTML 79Page - Holtek Semiconductor Inc HT85F2240 Datasheet HTML 80Page - Holtek Semiconductor Inc HT85F2240 Datasheet HTML 81Page - Holtek Semiconductor Inc HT85F2240 Datasheet HTML 82Page - Holtek Semiconductor Inc HT85F2240 Datasheet HTML 83Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 79 / 147 page
background image
Rev. 1.10
79 of 147
���� �1� �01�
A/D Flash 8051 Core Low Pin Count MCU
HT85F2230/HT85F2240
24 Interrupts
Interrupts are an important part of any microcontroller system. When an external event or an
internal function such as a Timer/Event Counter or Time Base requires microcontroller attention,
their corresponding interrupt will enforce a temporary suspension of the main program allowing
the microcontroller to direct attention to their respective needs. These devices contain multiple
external interrupt pins, while the internal interrupts are generated by the various functions such as
Timer/Event Counters, Time Base, LVD and the A/D converter. In addition, the interrupt priority
can be controlled using registers.
Interrupt Registers
Overall interrupt control, which means interrupt enabling, priority and request flag setting, is
controlled using several registers. By controlling the appropriate enable bits in these registers each
individual interrupt can be enabled or disabled. Also when an interrupt occurs, the corresponding
request flag will be automatically set by the microcontroller. The global enable control bit if cleared
to zero will disable all interrupts.
Overall interrupt control, which basically means the setting of request flags when certain
microcontroller conditions occur and the setting of interrupt enable bits by the application program,
is controlled by a series of registers, located in the Special Function Registers, as shown in the
accompanying table. 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.
Interrupt Register Bit Naming Conventions
Function
Enable Bit
Request Flag
Notes
G�oba�
EAL
—
—
INTn Pin
EXn
IEn
n=0~1
A/D Converter
EADC
IADC
—
Time Base
ETB
TBF
—
LVD
ELVD
LVDF
—
Timer n
ETn
TFn
n=0~�
CCUn
ECCUn
CCUnF
n=0~1
Timer � Externa� Re�oad
EXEN�
EXF�
—
Interrupt Register Contents
Register
Name
Bit
7
6
5
4
3
2
1
0
IEN0
EAL
(WDT)
ET�
—
ET1
EX1
ET0
EX0
IEN1
EXEN�
(SWDT)
—
—
—
—
ECCU1
ECCU0
IEN�
—
—
—
—
—
—
ELVD
—
IEN�
—
—
—
—
ETB
EADC
—
—
IRCON
EXF�
TF�
—
—
CCU1F
CCU0F
—
—
IRCON�
—
—
—
—
LVDF
TBF
—
IADC
TCON
TF1
(TR1)
TF0
(TR0)
IE1
IT1
IE0
IT0
T�CON
—
I�FR
—
(T�R1)
(T�R0)
(T�CM)
(T�I1)
(T�I0)
Note: The bits in brackets are �sed to manage other f�nctions and not re�ated to the interr�pt contro�.



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