数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

HT86B05 数据表(PDF) 41 Page - Holtek Semiconductor Inc

部件名 HT86B05
功能描述  Enhanced Voice 8-Bit MCU
PDF  79 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  HOLTEK [Holtek Semiconductor Inc]
网页  http://www.holtek.com
标志 HOLTEK - Holtek Semiconductor Inc

HT86B05 数据表(HTML) 41 Page - Holtek Semiconductor Inc

Back Button HT86B05 Datasheet HTML 37Page - Holtek Semiconductor Inc HT86B05 Datasheet HTML 38Page - Holtek Semiconductor Inc HT86B05 Datasheet HTML 39Page - Holtek Semiconductor Inc HT86B05 Datasheet HTML 40Page - Holtek Semiconductor Inc HT86B05 Datasheet HTML 41Page - Holtek Semiconductor Inc HT86B05 Datasheet HTML 42Page - Holtek Semiconductor Inc HT86B05 Datasheet HTML 43Page - Holtek Semiconductor Inc HT86B05 Datasheet HTML 44Page - Holtek Semiconductor Inc HT86B05 Datasheet HTML 45Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 41 / 79 page
background image
HT86BXX/HT86BRXX
Rev. 1.60
41
October 20, 2009
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 interrupts are enabled. In case of simultaneous requests, the accompanying
table shows the priority that is applied.
Interrupt Source
Interrupt Vector
HT86B05/HT86B10
HT86BR10/HT86B20
HT86B30/HT86BR30
Priority
HT86B40/HT86B50/HT86B60
HT86BR60/HT86B70/HT86B80
HT86B90
Priority
External Interrupt
04H
1
1
Timer 0 Overflow
08H
2
2
Timer 1 Overflow
0CH
3
3
Timer 2 Overflow
10H
¾
4
Timer 3 Overflow
14H
4
5
In cases where both external and timer interrupts are
enabled and where an external and timer interrupt occur
simultaneously, the external interrupt will always have
priority and will therefore be serviced first. Suitable
masking of the individual interrupts using the INTC and
INTCH registers can prevent simultaneous occur-
rences.
External Interrupt
Each device contains a single external interrupt function
controlled by the external pin, INT. For an external inter-
rupt to occur, the corresponding external interrupt en-
able bit must be first set. This is bit 1 of the INTC register
and known as EEI. An external interrupt is triggered by
an external edge transition on the external interrupt pin
INT, after which the related interrupt request flag, EIF,
which is bit 4 of INTC, will be set. A configuration option
exists for the external interrupt pin to determine the type
of external edge transition which will trigger an external
interrupt. There are two options available, a low going
edge or both high and low going edges. When the mas-
ter interrupt and external interrupt bits are enabled, the
stack is not full and an active edge transition, as setup in
the configuration options, occurs on the INT pin, a sub-
routine call to the corresponding external interrupt vec-
tor, which is located at 04H, will occur. After entering the
interrupt execution routine, the corresponding interrupt
request flag, EIF, will be reset and the EMI bit will be
cleared to disable other interrupts.
Timer Interrupt
For a timer generated interrupt to occur, the correspond-
ing timer interrupt enable bit must be first set. Each de-
vice contains three 8-bit timers whose corresponding
interrupt enable bits are known as ET0I, ET1I and ET3I
and are located in the INTC and INTCH registers. Each
timer also has a corresponding timer interrupt request
flag, which are known as T0F, T1F and T3F, also located
in the INTC and INTCH registers. Some devices also
contain a 16-bit timer, which has a corresponding timer
interrupt enable bit, ET2I, and a corresponding timer re-
quest flag, T2F, which are contained in the INTCH regis-
ter. When the master interrupt and corresponding timer
interrupt enable bits are enabled, the stack is not full,
and when the corresponding timer overflows a subrou-
tine call to the corresponding timer interrupt vector will
occur. The corresponding Program Memory vector loca-
tions for Timer 0, Timer1, Timer 2 and Timer 3 are 08H,
0CH, 10H and 14H. After entering the interrupt execu-
tion routine, the corresponding interrupt request flags,
T0F, T1F, T2F or T3F will be reset and the EMI bit will be
cleared to disable other interrupts.
Programming Considerations
By disabling the interrupt enable bits, a requested inter-
rupt can be prevented from being serviced, however,
once an interrupt request flag is set, it will remain in this
condition in the INTC or INTCH register until the corre-
sponding interrupt is serviced or until the request flag is
cleared by a software instruction.
It is recommended that programs do not use the
²CALL
subroutine
² instruction within the interrupt subroutine.
Interrupts often occur in an unpredictable manner or
need to be serviced immediately in some applications. If
only one stack is left and the interrupt is not well con-
trolled, the original control sequence will be damaged
once a
²CALL subroutine² is executed in the interrupt
subroutine.
All of these interrupts have the capability of waking up
the processor when in the Power Down Mode. Only the
Program Counter is pushed onto the stack. If the con-
tents of the register or status register are altered by the
interrupt service program, which may corrupt the de-
sired control sequence, then the contents should be
saved in advance.



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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