Electronic Components Datasheet Search
  English  ▼

X  

HTG2190 Datasheet(PDF) 17 Page - Holtek Semiconductor Inc

Part # HTG2190
Description  8-Bit 1024 Pixel Dot Matrix LCD MCU Series
PDF  50 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HTG2190 Datasheet(HTML) 17 Page - Holtek Semiconductor Inc

Back Button HTG2190 Datasheet HTML 13Page - Holtek Semiconductor Inc HTG2190 Datasheet HTML 14Page - Holtek Semiconductor Inc HTG2190 Datasheet HTML 15Page - Holtek Semiconductor Inc HTG2190 Datasheet HTML 16Page - Holtek Semiconductor Inc HTG2190 Datasheet HTML 17Page - Holtek Semiconductor Inc HTG2190 Datasheet HTML 18Page - Holtek Semiconductor Inc HTG2190 Datasheet HTML 19Page - Holtek Semiconductor Inc HTG2190 Datasheet HTML 20Page - Holtek Semiconductor Inc HTG2190 Datasheet HTML 21Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 50 page
background image
HTG2190
Rev. 1.20
17
July 5, 2002
Once an interrupt subroutine is serviced, all other inter-
rupts will be blocked (by clearing the EMI bit). This
scheme may prevent any further interrupt nesting. Other
interrupt requests may happen during this interval but
only the interrupt request flag is recorded. If a certain in-
terrupt needs servicing within the service routine, the EMI
bit and the corresponding INTC bit may be set to allow in-
terrupt nesting. If the stack is full, the interrupt request will
not be acknowledged, even if the related interrupt is en-
abled, until the SP is decremented. If immediate service is
desired, the stack must be prevented from becoming full.
All these kinds of interrupt have the wake-up capability.
As an interrupt is serviced, a control transfer occurs by
pushing the program counter and A15~A13 bits onto the
stack and then branching to subroutines at specified lo-
cation(s) in the program memory. Only the program
counter are pushed and A15~A13 bits onto the stack. If
the contents of the register and Status register
(STATUS) are altered by the interrupt service program
which corrupt the desired control sequence, the con-
tents must be saved first.
External interrupt is triggered by a high to low transition
of INT which sets the related interrupt request flag (EIF;
bit 4 of INTC0). When the interrupt is enabled, and the
stack is not full and the external interrupt is active, a sub-
routine call to location 04H will occur. The interrupt re-
quest flag (EIF) and EMI bits will be cleared to disable
other interrupts.
The internal Timer/Event Counter 0 interrupt is initial-
ized by setting the Timer/Event Counter 0 interrupt re-
quest flag (T0F; bit 5 of INTC0), caused by a
Timer/Event Counter 0 overflow. When the interrupt is
enabled, and the stack is not full and the T0F bit is set, a
subroutine call to location 08H will occur. The related in-
terrupt request flag (T0F) will be reset and the
bit
cleared to disable further interrupts.
The Timer/Event Counter 1 and timer 2/3 interrupt is op-
erated in the same manner as Timer/Event Counter 0.
The related interrupt control bits ET1I and T1F of
Timer/Event Counter 1 are bit 3 and bit 6 of INTC0 re-
spectively. While ET2I/ET3I and T2F/T3F are the re-
lated control bits and the related request flags of
TMR2/TMR3, which locate at bit0/bit1 and bit4/bit5 of
the INTC1 respectively.
During the execution of an interrupt subroutine, other inter-
rupt acknowledgments are held until the RETI instruction is
executed or the EMI bit and the related interrupt control bit
are set to 1 (of course, if the stack is not full). To return from
the interrupt subroutine, the RET or RETI instruction may
be invoked. RETI will set the EMI bit to enable an interrupt
service, but RET will 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.
Interrupt Source
Priority
Vector
External interrupt
1
04H
Timer/Event Counter 0 overflow
2
08H
Timer/Event Counter 1 overflow
3
0CH
Timer 2 overflow
4
10H
Timer 3 overflow
5
14H
PWM D/A interrupt
6
18H
The Timer/Event Counter 0/1 and timer 2/3 interrupt re-
quest flag (T0F/T1F/T2F/T3F), external interrupt request
flag (EIF), PWM D/A interrupt request flag (PWMF) enable
timer/ event counter 0/1/2/3 bit (ET0I/ET1I/ET2I/ ET3I),
enable PWM D/A interrupt bit (PWMI), enable external in-
terrupt bit (EEI) and enable master interrupt bit (EMI) form
Labels
Bits
Function
C0
C is set if the operation results in a carry during an addition operation or if a borrow does not take
place during a subtraction operation; otherwise C is cleared. Also it is affected by a rotate through
carry instruction.
AC
1
AC is set if the operation results in a carry out of the low nibbles in addition or no borrow from the
high nibble into the low nibble in subtraction; otherwise AC is cleared.
Z
2
Z is set if the result of an arithmetic or logic operation is zero; otherwise Z is cleared.
OV
3
OV is set if the operation results in a carry into the highest-order bit but not a carry out of the high-
est-order bit, or vice versa; otherwise OV is cleared.
PD
4
PD is cleared when either a system power-up or executing the CLR WDT instruction. PD is set by
executing the HALT instruction.
TO
5
TO is cleared by a system power-up or executing the CLR WDT or HALT instruction. TO is set by a
WDT time-out.
¾
6,7
Unused bit, read as
²0²
STATUS register



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


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