DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

HT47C20L 데이터 시트보기 (PDF) - Holtek Semiconductor

부품명
상세내역
제조사
HT47C20L
Holtek
Holtek Semiconductor Holtek
HT47C20L Datasheet PDF : 45 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
HT47C20L
All these kinds of interrupt have a wake-up capability. As
an interrupt is serviced, a control transfer occurs by
pushing the program counter onto the stack, followed by
a branch to a subroutine at specified locations in the pro-
gram memory. Only the program counter is pushed onto
the stack. If the contents of the register and status regis-
ter (STATUS) is altered by the interrupt service program
which corrupts the desired control sequence, the con-
tents must be saved first.
External interrupt is triggered by a high to low transition of
INT and the related interrupt request flag (EIF; bit 4 of
INTC0) will be set. When the interrupt is enabled, and the
stack is not full and the external interrupt is active, a subrou-
tine call to location 04H will occur. The interrupt request flag
(EIF) and EMI bits will be cleared to disable other interrupts.
The internal timer/event counter interrupt is initialized by
setting the timer/event counter interrupt request flag
(TF; bit 4 of INTC1), caused by a timer A or timer B over-
flow. When the interrupt is enabled, and the stack is not
full and the TF bit is set, a subroutine call to location 10H
will occur. The related interrupt request flag (TF) will be
reset and the EMI bit cleared to disable further inter-
rupts.
The time base interrupt is initialized by setting the time
base interrupt request flag (TBF; bit 5 of INTC0), caused
by a regular time base signal. When the interrupt is en-
abled, and the stack is not full and the TBF bit is set, a
subroutine call to location 08H will occur. The related in-
terrupt request flag (TBF) will be reset and the EMI bit
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
INTC0), caused by a regular real time clock signal.
When the interrupt is enabled, and the stack is not full
and the RTF bit is set, a subroutine call to location 0CH
will occur. The related interrupt request flag (RTF) will be
reset and the EMI bit cleared to disable further inter-
rupts.
During the execution of an interrupt subroutine, other in-
terrupt acknowledgments are held until the ²RETI² in-
struction is executed or the EMI bit and the related
interrupt control bit are set to 1 (if the stack is not full). To
return from the interrupt subroutine, ²RET² or ²RETI² in-
struction may be invoked. RETI will set the EMI bit to en-
able an interrupt service, but RET does not.
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 the case of simultaneous requests
the following table shows the priority that is applied.
These can be masked by resetting the EMI bit.
No.
Interrupt Source
Priority Vector
a External Interrupt
1
04H
b Time Base Interrupt
2
08H
c Real Time Clock Interrupt
3
0CH
d Timer/event Counter Interrupt 4
10H
Bit No.
0
1
2
3
4
5
6
7
Label
EMI
EEI
ETBI
ERTI
EIF
TBF
RTF
¾
Function
Control the master (global) interrupt (1=enabled; 0=disabled)
Control the external interrupt (1=enabled; 0=disabled)
Control the time base interrupt (1=enabled; 0=disabled)
Control the real time clock interrupt (1=enabled; 0=disabled)
External interrupt request flag (1=active; 0=inactive)
Time base interrupt request flag (1=active; 0=inactive)
Real time clock interrupt request flag (1=active; 0=inactive)
Unused bit, read as ²0²
INTC0 (0BH) Register
Bit No.
0
1
2
3
4
5
6
7
Label
ETI
¾
¾
¾
TF
¾
¾
¾
Function
Control the timer/event counter interrupt (1=enabled; 0=disabled)
Unused bit, read as ²0²
Unused bit, read as ²0²
Unused bit, read as ²0²
Internal timer/event counter interrupt request flag (1=active; 0=inactive)
Unused bit, read as ²0²
Unused bit, read as ²0²
Unused bit, read as ²0²
INTC1 (1EH) Register
Rev. 2.30
11
December 2, 2005

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]