Electronic Components Datasheet Search
  English  ▼

X  

HT56R26 Datasheet(PDF) 85 Page - Holtek Semiconductor Inc

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

HT56R26 Datasheet(HTML) 85 Page - Holtek Semiconductor Inc

Back Button HT56R26 Datasheet HTML 81Page - Holtek Semiconductor Inc HT56R26 Datasheet HTML 82Page - Holtek Semiconductor Inc HT56R26 Datasheet HTML 83Page - Holtek Semiconductor Inc HT56R26 Datasheet HTML 84Page - Holtek Semiconductor Inc HT56R26 Datasheet HTML 85Page - Holtek Semiconductor Inc HT56R26 Datasheet HTML 86Page - Holtek Semiconductor Inc HT56R26 Datasheet HTML 87Page - Holtek Semiconductor Inc HT56R26 Datasheet HTML 88Page - Holtek Semiconductor Inc HT56R26 Datasheet HTML 89Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 85 / 131 page
background image
HT56R22/HT56R23/HT56R24/HT56R25/HT56R26
Rev. 1.00
85
March 11, 2010
Interrupt Priority
Interrupts, occurring in the interval between the rising
edges of two consecutive T2 pulses, will be serviced on
the latter of the two T2 pulses, if the corresponding inter-
rupts are enabled. In case of simultaneous requests, the
following table shows the priority that is applied. These
can be masked by resetting the EMI bit.
HT56R22
Interrupt Source
Priority
Vector
External Interrupt 0
1
04H
External Interrupt 1
2
08H
Timer/Event Counter 0 Overflow
3
0CH
Timer/Event Counter 1 Overflow
4
10H
SPI/I
2C Interrupt
5
14H
Time Base Interrupt
6
18H
RTC Interrupt
6
18H
A/D Converter Interrupt
6
18H
External Peripheral Interrupt
6
18H
SPI Interrupt
6
18H
HT56R23/HT56R24
Interrupt Source
Priority
Vector
External Interrupt 0
1
04H
External Interrupt 1
2
08H
Timer/Event Counter 0 Overflow
3
0CH
Timer/Event Counter 1 Overflow
4
10H
SPI/I
2C Interrupt
5
14H
Time Base Interrupt
6
18H
RTC Interrupt
6
18H
A/D Converter Interrupt
6
18H
External Peripheral Interrupt
6
18H
SPI1
6
18H
Timer/Event Counter 2 Overflow
6
18H
HT56R25/HT56R26
Interrupt Source
Priority
Vector
External Interrupt 0
1
04H
External Interrupt 1
2
08H
Timer/Event Counter 0 Overflow
3
0CH
Timer/Event Counter 1 Overflow
4
10H
SPI/I
2C Interrupt
5
14H
Time Base Interrupt
6
18H
RTC Interrupt
6
18H
HT56R25/HT56R26
A/D Converter Interrupt
6
18H
External Peripheral Interrupt
6
18H
SPI1
6
18H
Timer/Event Counter 2 Overflow
6
18H
Timer/Event Counter 3 Overflow
6
18H
In cases where both external and internal interrupts are
enabled and where an external and internal interrupt oc-
curs simultaneously, the external interrupt will always
have priority and will therefore be serviced first. Suitable
masking of the individual interrupts using the interrupt
registers can prevent simultaneous occurrences.
Interrupt Operation
When the conditions for an interrupt event occur, such
as a Timer/Event Counter overflow, or A/D conversion
completion etc, the relevant interrupt request flag will be
set. Whether the request flag actually generates a pro-
gram jump to the relevant interrupt vector is determined
by the condition of the interrupt enable bit. If the enable
bit is set high then the program will jump to its relevant
vector; if the enable bit is zero then although the inter-
rupt request flag is set an actual interrupt will not be gen-
erated and the program will not jump to the relevant
interrupt vector. The global interrupt enable bit, if
cleared to zero, will disable all interrupts.
When an interrupt is generated, the Program Counter,
which stores the address of the next instruction to be ex-
ecuted, will be transferred onto the stack. The Program
Counter will then be loaded with a new address which
will be the value of the corresponding interrupt vector.
The microcontroller will then fetch its next instruction
from this interrupt vector. The instruction at this vector
will usually be a JMP which will jump to another section
of program which is known as the interrupt service rou-
tine. Here is located the code to control the appropriate
interrupt. The interrupt service routine must be termi-
nated with a RETI, which retrieves the original Program
Counter address from the stack and allows the
microcontroller to continue with normal execution at the
point where the interrupt occurred. The various interrupt
enable bits, together with their associated request flags,
are shown in the accompanying diagrams with their or-
der of priority. Some interrupt sources have their own in-
dividual vector while others share the same
multi-function interrupt vector. Once an interrupt sub-
routine is serviced, all the other interrupts will be
blocked, as the global interrupt enable bit, EMI bit will be
cleared automatically. This will prevent any further inter-
rupt nesting from occurring. However, if other interrupt
requests occur during this interval, although the inter-
rupt will not be immediately serviced, the request flag
will still be recorded.



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