Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

HT49R50 Scheda tecnica(PDF) 15 Page - Holtek Semiconductor Inc

Il numero della parte HT49R50
Spiegazioni elettronici  8-Bit Microcontroller
PDF  59 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  HOLTEK [Holtek Semiconductor Inc]
Homepage  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT49R50 Scheda tecnica(HTML) 15 Page - Holtek Semiconductor Inc

Back Button HT49R50 Datasheet HTML 11Page - Holtek Semiconductor Inc HT49R50 Datasheet HTML 12Page - Holtek Semiconductor Inc HT49R50 Datasheet HTML 13Page - Holtek Semiconductor Inc HT49R50 Datasheet HTML 14Page - Holtek Semiconductor Inc HT49R50 Datasheet HTML 15Page - Holtek Semiconductor Inc HT49R50 Datasheet HTML 16Page - Holtek Semiconductor Inc HT49R50 Datasheet HTML 17Page - Holtek Semiconductor Inc HT49R50 Datasheet HTML 18Page - Holtek Semiconductor Inc HT49R50 Datasheet HTML 19Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 15 / 59 page
background image
HT49R50
15
October 22, 1999
PC onto the stack followed by a branch to a sub-
routine at the specified location in the ROM.
Only the contents of the PC is pushed onto the
stack. If the contents of the register or of the
status register (STATUS) is altered by the in-
terrupt service program which corrupts the de-
sired control sequence, the contents should be
saved in advance.
External interrupts are triggered by a high to
low transition of INT0 or INT1, and the related
interrupt request flag (EIF0; bit 4 of INTC0,
EIF1; bit 5 of INTC0) is set as well. After the in-
terrupt is enabled, the stack is not full, and the
external interrupt is active, a subroutine call to
location 04H or 08H occurs. The interrupt re-
quest flag (EIF0 or EIF1) and EMI bits are all
cleared to disable other interrupts.
The internal timer/event counter 0 interrupt is
initialized by setting the timer/event counter 0
interrupt request flag (T0F; bit 6 of INTC0),
which is normally caused by a timer overflow.
After the interrupt is enabled, and the stack is
not full, and the T0F bit is set, a subroutine call
to location 0CH occurs. The related interrupt
request flag (T0F) is reset, and the EMI bit is
cleared to disable further interrupts. The
timer/event counter 1 is operated in the same
manner but its related interrupt request flag is
T1F (bit 4 of INTC1) and its subroutine call lo-
cation is 10H.
The time base interrupt is initialized by setting
the time base interrupt request flag (TBF; bit 5
of INTC1), that is caused by a regular time base
signal. After the interrupt is enabled, and the
stack is not full, and the TBF bit is set, a sub-
routine call to location 14H occurs. The related
interrupt request flag (TBF) is reset and the
EMI bit is cleared to disable further interrupts.
The real time clock interrupt is initialized by
setting the real time clock interrupt request
flag (RTF; bit 6 of INTC1), that is caused by a
regular real time clock signal. After the inter-
rupt is enabled, and the stack is not full, and
the RTF bit is set, a subroutine call to location
18H occurs. The related interrupt request flag
(RTF) is reset and the EMI bit is cleared to dis-
able further interrupts.
During the execution of an interrupt subroutine,
other interrupt acknowledgments are all held
until the "RETI" instruction is executed or the
EMI bit and the related interrupt control bit are
set both to 1 (if the stack is not full). To return
from the interrupt subroutine, "RET" or "RETI"
may be invoked. RETI sets the EMI bit and en-
ables an interrupt service, but RET does not.
Interrupts occurring in the interval between
the rising edges of two consecutive T2 pulses
are serviced on the latter of the two T2 pulses if
the corresponding interrupts are enabled. In
the case of simultaneous requests, the priori-
ties in the following table apply. These can be
masked by resetting the EMI bit.
No. Interrupt Source Priority Vector
a
External interrupt 0
1
04H
b
External interrupt 1
2
08H
c
Timer/event
counter 0 overflow
3
0CH
d
Timer/event
counter 1 overflow
4
10H
e
Time base
interrupt
5
14H
f
Real time clock
interrupt
6
18H
The timer/event counter 0 interrupt request
flag (T0F), external interrupt 1 request flag
(EIF1), external interrupt 0 request flag
(EIF0), enable timer/event counter 0 interrupt
bit (ET0I), enable external interrupt 1 bit
(EEI1), enable external interrupt 0 bit (EEI0),
and enable master interrupt bit (EMI) make up
of the Interrupt Control register 0 (INTC0)
which is located at 0BH in the RAM. The real
time clock interrupt request flag (RTF), time
base interrupt request flag (TBF), timer/event
counter 1 interrupt request flag (T1F), enable
real time clock interrupt bit (ERTI), and enable
time base interrupt bit (ETBI), enable
timer/event counter 1 interrupt bit (ET1I) on
the other hand, constitute the Interrupt Con-
trol register 1 (INTC1) which is located at 1EH
in the RAM. EMI, EEI0, EEI1, ET0I, ET1I,
ETBI, and ERTI are all used to control the en-



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


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
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