Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

EM78F651NAPS/NAPJ Scheda tecnica(PDF) 33 Page - ELAN Microelectronics Corp

Il numero della parte EM78F651NAPS/NAPJ
Spiegazioni elettronici  8-Bit Microcontroller
PDF  58 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  EMC [ELAN Microelectronics Corp]
Homepage  http://www.emc.com.tw
Logo EMC - ELAN Microelectronics Corp

EM78F651NAPS/NAPJ Scheda tecnica(HTML) 33 Page - ELAN Microelectronics Corp

Back Button EM78F651NAPS/NAPJ Datasheet HTML 29Page - ELAN Microelectronics Corp EM78F651NAPS/NAPJ Datasheet HTML 30Page - ELAN Microelectronics Corp EM78F651NAPS/NAPJ Datasheet HTML 31Page - ELAN Microelectronics Corp EM78F651NAPS/NAPJ Datasheet HTML 32Page - ELAN Microelectronics Corp EM78F651NAPS/NAPJ Datasheet HTML 33Page - ELAN Microelectronics Corp EM78F651NAPS/NAPJ Datasheet HTML 34Page - ELAN Microelectronics Corp EM78F651NAPS/NAPJ Datasheet HTML 35Page - ELAN Microelectronics Corp EM78F651NAPS/NAPJ Datasheet HTML 36Page - ELAN Microelectronics Corp EM78F651NAPS/NAPJ Datasheet HTML 37Page - ELAN Microelectronics Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 33 / 58 page
background image
EM78F651N
8-Bit Microcontroller
Product Specification (V1.1) 10.20.2006
• 29
(This specification is subject to change without further notice)
6.6 Interrupt
The EM78F651N, has three falling-edge interrupts listed below:
(1) TCC overflow interrupt
(2) Port 6 Input Status Change interrupt
(3) External interrupt [(P60, /INT) pin]
(4) LVD (Low Voltage Detector) interrupt
RF is the interrupt status register that records the interrupt requests in the relative
flags/bits. IOCF is the interrupt mask register. The global interrupt is enabled by the
ENI instruction and is disabled by the DISI instruction. When one of the enabled
interrupts occurs, the next instruction will be fetched from address in the priority as
shown in Table 10. Once in the interrupt service routine, the source of an interrupt
can be determined by polling the flag bits in RF. The interrupt flag bit must be
cleared by instructions before leaving the interrupt service routine and before
interrupts are enabled to avoid recursive interrupts.
When an interrupt is generated by the LVD (low voltage detector), in the code option
enable LVD interrupt is selected, the next instruction will be fetched from address
00CH.
When an interrupt is generated by the Timer clock/counter (if enabled), the next
instruction will be fetched from address 009 (TCC).
Before the Port 6 Input Status Change Interrupt is enabled, reading Port 6 (e.g. "MOV
R6,R6") is necessary. Each Port 6 pin will have this feature if its status changes.
The Port 6 Input Status Change Interrupt will wake up the EM78F651N from sleep
mode if it is enabled prior to going into sleep mode by executing SLEP instruction.
When wake-up occurs, the controller will continue to execute program in-line if the
global interrupt is disabled. If the global interrupt is enabled, it will branch out to the
interrupt vector 006H.
External interrupt equipped with digital noise rejection circuit (input pulse less than 8
system clocks time is eliminated as noise), but in Low crystal oscillator (LXT)
mode the noise rejection circuit will be disabled. When an interrupt (Falling edge)
is generated by the External interrupt (when enabled), the next instruction will be
fetched from address 003H.
The flag (except ICIF bit) in the Interrupt Status Register (RF) is set regardless of the
status of its mask bit or the execution of ENI. Note that the outcome of RF will be the
logic AND of RF and IOCF (refer to Fig 6-8). The RETI instruction ends the interrupt
routine and enables the global interrupt (the execution of ENI).
Before the interrupt subroutine is executed, the contents of ACC and the R3 and R4
register will be saved by hardware. If another interrupt occurred, the ACC, R3 and
R4 will be replaced by the new interrupt. After the interrupt service routine is finished,
ACC, R3 and R4 will be pushed back.



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


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