전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

EM78P152S 데이터시트(PDF) 25 Page - List of Unclassifed Manufacturers

부품명 EM78P152S
상세설명  8-Bit Microcontroller with OTP ROM
PDF  52 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  ETC1 [List of Unclassifed Manufacturers]
홈페이지  
Logo ETC1 - List of Unclassifed Manufacturers

EM78P152S 데이터시트(HTML) 25 Page - List of Unclassifed Manufacturers

Back Button EM78P152S Datasheet HTML 21Page - List of Unclassifed Manufacturers EM78P152S Datasheet HTML 22Page - List of Unclassifed Manufacturers EM78P152S Datasheet HTML 23Page - List of Unclassifed Manufacturers EM78P152S Datasheet HTML 24Page - List of Unclassifed Manufacturers EM78P152S Datasheet HTML 25Page - List of Unclassifed Manufacturers EM78P152S Datasheet HTML 26Page - List of Unclassifed Manufacturers EM78P152S Datasheet HTML 27Page - List of Unclassifed Manufacturers EM78P152S Datasheet HTML 28Page - List of Unclassifed Manufacturers EM78P152S Datasheet HTML 29Page - List of Unclassifed Manufacturers Next Button
Zoom Inzoom in Zoom Outzoom out
 25 / 52 page
background image
EM78P152/3S
8-Bit Microcontroller with OTP ROM
5.6 Interrupt
The EM78P152/3S has three falling-edge interrupts as listed herewith:
1) TCC overflow interrupt
2) Port 6 Input Status Change Interrupt
3) External interrupt [(P60, /INT) pin]
Before the Port 6 Input Status Changed Interrupt is enabled, reading Port 6 (e.g. "MOV
R6,R6") is necessary. Each pin of Port 6 will have this feature if its status changes.
Any pin configured as output or P60 pin configured as /INT, is excluded from this
function. The Port 6 Input Status Changed Interrupt can wake up the EM78P152/3S
from Sleep mode if Port 6 is enabled prior to going into Sleep mode by executing SLEP
instruction. When the chip wakes-up, the controller will continue to execute the
program in-line if the global interrupt is disabled. If the global interrupt is enabled, it will
branch to the interrupt Vector 008H.
RF is the interrupt status register that records the interrupt requests in the relative
flags/bits. IOCF is an interrupt mask register. The global interrupt is enabled by the
ENI instruction and is disabled by the DISI instruction. When one of the interrupts
(enabled) occurs, the next instruction will be fetched from Address 008H. 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 before interrupts are enabled to avoid recursive interrupts.
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 Figure 5-10). The RETI instruction ends the
interrupt routine and enables the global interrupt (the execution of ENI).
When an interrupt is generated by the INT instruction (enabled), the next instruction will
be fetched from Address 001H.
IN T
E N I/D IS I
IO D
RF W R
IO C F R D
IO C F W R
IR Q n
IR Q m
RF R D
IO C F
/R ESE T
/IR Q n
VC C
RF
CL K
CL K
Q
Q
D
P
R
L
C
_
P
R
L
C
Q
D
Q
_
Figure 5-10 Interrupt Input Circuit
Product Specification (V1.8) 09.08.2009
• 21
(This specification is subject to change without further notice)



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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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