Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

HT82K70E-L Datasheet(PDF) 24 Page - Holtek Semiconductor Inc

Part # HT82K70E-L
Description  I/O Type 8-Bit MCU
PDF  59 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT82K70E-L Datasheet(HTML) 24 Page - Holtek Semiconductor Inc

Back Button HT82K70E-L Datasheet HTML 20Page - Holtek Semiconductor Inc HT82K70E-L Datasheet HTML 21Page - Holtek Semiconductor Inc HT82K70E-L Datasheet HTML 22Page - Holtek Semiconductor Inc HT82K70E-L Datasheet HTML 23Page - Holtek Semiconductor Inc HT82K70E-L Datasheet HTML 24Page - Holtek Semiconductor Inc HT82K70E-L Datasheet HTML 25Page - Holtek Semiconductor Inc HT82K70E-L Datasheet HTML 26Page - Holtek Semiconductor Inc HT82K70E-L Datasheet HTML 27Page - Holtek Semiconductor Inc HT82K70E-L Datasheet HTML 28Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 24 / 59 page
background image
HT82K70E-L/HT82K70A-L/HT82K76E-L
Rev. 1.20
24
February 1, 2011
External Interrupt
For an external interrupt to occur, the global interrupt en-
able bit, EMI, and external interrupt enable bit, EEI must
first be set. An actual external interrupt will take place
when the external interrupt request flag, EIF is set, a sit-
uation that will occur when a high to low transition ap-
pears on the interrupt pins. The external interrupt pin is
pin-shared with the I/O pins PC2 can only be configured
as an external interrupt pin if the corresponding external
interrupt enable bits in the interrupt control register
INTC0 have been set. The pins must also be setup as
inputs by setting the corresponding PCC.2 bits in the
port control register. When the interrupt is enabled, the
stack is not full and a high to low transition appears on
the external interrupt pin, a subroutine call to the exter-
nal interrupt vector at location 04H will take place. When
the interrupt is serviced, the external interrupt request
flag, EIF will be automatically reset and the EMI bit will
be automatically cleared to disable other interrupts.
Note that any pull-high resistor configuration options on
these pins will remain valid even if the pins are used as
external interrupt inputs.
Timer/Event Counter Interrupt
For a Timer/Event Counter interrupt to occur, the global
interrupt enable bit, EMI, and the corresponding timer
interrupt enable bit, ET0I or ET1I, must first be set. An
actual Timer/Event Counter interrupt will take place
when the Timer/Event Counter interrupt request flag,
T0F or T1F, is set, a situation that will occur when the
Timer/Event Counter overflows. When the interrupt is
enabled, the stack is not full and a Timer/Event Counter
overflow occurs, a subroutine call to the timer interrupt
vector at location 08H or 0CH, will take place. When the
interrupt is serviced, the timer interrupt request flag, T0F
or T1F, will be automatically reset and the EMI bit will be
automatically cleared to disable other interrupts.
SPI Interrupt
For an SPI Interrupt to occur, the global interrupt enable
bit, EMI, and the corresponding SPI interrupt enable bit,
ESII, must be first set. The SBEN bit in the SBCR regis-
ter must also be set. An actual SPI Interrupt will take
place when one of the one SPI interrupt request flags,
SIF, is set, a situation that will occur when 8-bits of data
are transferred or received from either of the SPI inter-
faces. When the interrupt is enabled, the stack is not full
and an SPI interrupt occurs, a subroutine call to the SPI
interrupt vector at location 10H, will take place. When
the interrupt is serviced, the SPI interrupt request flag,
SIF, will be automatically reset and the EMI bit will be au-
tomatically 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 interrupt control 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 contents of the accumulator or status register are al-
tered by the interrupt service program, which may cor-
rupt the desired 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


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