công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

HT49CU80 bảng dữ liệu(PDF) 11 Page - Holtek Semiconductor Inc

tên linh kiện HT49CU80
Giải thích chi tiết về linh kiện  LCD Type 8-Bit MCU
PDF  54 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  HOLTEK [Holtek Semiconductor Inc]
Trang chủ  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT49CU80 bảng dữ liệu(HTML) 11 Page - Holtek Semiconductor Inc

Back Button HT49CU80 Datasheet HTML 7Page - Holtek Semiconductor Inc HT49CU80 Datasheet HTML 8Page - Holtek Semiconductor Inc HT49CU80 Datasheet HTML 9Page - Holtek Semiconductor Inc HT49CU80 Datasheet HTML 10Page - Holtek Semiconductor Inc HT49CU80 Datasheet HTML 11Page - Holtek Semiconductor Inc HT49CU80 Datasheet HTML 12Page - Holtek Semiconductor Inc HT49CU80 Datasheet HTML 13Page - Holtek Semiconductor Inc HT49CU80 Datasheet HTML 14Page - Holtek Semiconductor Inc HT49CU80 Datasheet HTML 15Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 54 page
background image
HT49RU80/HT49CU80
Rev. 1.20
11
December 16, 2009
All interrupts provide a wake-up function. As an interrupt
is serviced, a control transfer occurs by pushing the con-
tents of the program counter onto the stack followed by
a branch to a subroutine at a specified program memory
location. Only the contents of the program counter is
pushed onto the stack. If the contents of the register or
of the status register is altered by the interrupt service
program which corrupts the desired control sequence,
the contents should be saved in advance.
External interrupts are triggered by a high to low transi-
tion on the INT0 or INT1 pins, which will result in their
their related interrupt request flags, EIF0 and EEF1, be-
ing set. After the interrupt is enabled, the stack is not full,
and a high to low transition occurs on the external inter-
rupt pins, a subroutine call to location 04H or 08H occurs.
When the interrupt service routine is serviced, the inter-
rupt request flags, EIF0 and EIF1, and the global enable
bit, EMI, are all cleared to disable other interrupts.
The internal Timer/Event Counter 0 interrupt is
initialised by setting the Timer/Event Counter 0 interrupt
request flag, T0F. This will occur when the timer over-
flows. After the interrupt is enabled, and the stack is not
full, and 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, and
its subroutine call location is 10H.
The UART interrupt is initialised by setting the interrupt
request flag, URF, that is caused by a regular UART re-
ceive signal, caused by a UART transmit signal. After
the interrupt is enabled, the stack is not full, and the URF
bit is set, a subroutine call to location 14H occurs. The
related interrupt request flag, URF, is reset and the EMI
bit is cleared to disable further interrupts.
The multi function interrupt is initialised by setting the in-
terrupt request flag, MFF, that is caused by a regular
internal Timer/Event Counter 2 overflow, caused by a
time base signal or caused by a real time clock signal.
After the interrupt is enabled, the stack is not full, and
the MFF bit is set, a subroutine call to location 18H oc-
curs. The related interrupt request flag, MFF, is reset
and the EMI bit is cleared to disable further interrupts.
During the execution of an interrupt subroutine, other in-
terrupt acknowledgments are all held until a
²RETI² in-
struction is executed or the EMI bit and the related inter-
rupt control bit are both set to 1 (if the stack is not full). To
return from the interrupt subroutine a
²RET² or ²RETI²
may be executed. RETI sets the EMI bit and enables 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
priorities in the following table apply. These can be
masked by resetting the EMI bit.
Interrupt Source
Priority
Vector
External interrupt 0
1
004H
External interrupt 1
2
008H
Timer/Event Counter 0 overflow
3
00CH
Timer/Event Counter 1 overflow
4
010H
UART interrupt
5
014H
Multi function interrupt
(Timer 2, Time base, RTC)
6
018H
It is recommended that a program should not use the
²CALL subroutine² within the interrupt subroutine. It¢sbe-
cause interrupts often occur in an unpredictable manner
or require to be serviced immediately in some applica-
tions. During that period, if only one stack is left, and en-
abling the interrupt is not well controlled, operation of the
²call² in the interrupt subroutine may damage the origi-
nal control sequence.
Bit No.
Label
Function
0C
C is set if an 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. C is also affected by a rotate
through carry instruction.
1AC
AC is set if an 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.
2
Z
Z is set if the result of an arithmetic or logic operation is zero, otherwise Z is cleared.
3OV
OV is set if an operation results in a carry into the highest-order bit but not a carry out of the
highest-order bit, or vice versa, otherwise OV is cleared.
4
PDF
PDF is cleared by either a system power-up or executing the
²CLR WDT² instruction. PDF is
set by executing the
²HALT² instruction.
5TO
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 (0AH) 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 51 52 53 54


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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