数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

EM78P152S 数据表(PDF) 21 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]
网页  
标志 ETC1 - List of Unclassifed Manufacturers

EM78P152S 数据表(HTML) 21 Page - List of Unclassifed Manufacturers

Back Button EM78P152S Datasheet HTML 17Page - List of Unclassifed Manufacturers EM78P152S Datasheet HTML 18Page - List of Unclassifed Manufacturers EM78P152S Datasheet HTML 19Page - List of Unclassifed Manufacturers EM78P152S Datasheet HTML 20Page - List of Unclassifed Manufacturers 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 52 page
background image
EM78P152/3S
8-Bit Microcontroller with OTP ROM
Product Specification (V1.8) 09.08.2009
• 17
(This specification is subject to change without further notice)
The Sleep (power down) mode is asserted by executing the “SLEP” instruction. While
entering Sleep mode, WDT (if enabled) is cleared but keeps on running. The controller
can be awakened by:
1) External reset input on /RESET pin
2) WDT time-out (if enabled)
3) Port 6 Input Status changed (if enabled)
The first two cases will cause the EM78P152/3S to reset. The T and P flags of R3 are
used to determine the source of the reset (wake-up). The last case is considered the
continuation of program execution and the global interrupt ("ENI" or "DISI" being
executed) determines whether or not the controller branches to the interrupt vector
following a wake-up. If ENI is executed before SLEP, the instruction will begin to
execute from Address 008H after wake-up. If DISI is executed before SLEP, the
operation will restart from the succeeding instruction right next to SLEP after a
wake-up.
Only one of Cases 2 and 3 can be enabled before going into the Sleep mode. That is,
[a] if Port 6 Input Status Change Interrupt is enabled before SLEP, WDT must be
disabled by software. However, the WDT bit in the option register remains
enabled. Hence, the EM78P152/3S can be awakened only by Case 1 or Case 3.
[b] if WDT is enabled before SLEP, Port 6 Input Status Change Interrupt must be
disabled. Hence, the EM78P152/3S can be awakened only by Case 1 or Case 2.
Refer to Section 5.6, Interrupt for further details.
If Port 6 Input Status Change Interrupt is used to wake-up the EM78P152/3S (Case [a]
above), the following instructions must be executed before SLEP:
MOV A, @xxxx1110b
; Select the WDT prescaler, it must be
; set over 1:1
CONTW
WDTC
; Clear WDT and prescaler
MOV A, @0xxxxxxxb
; Disable WDT
IOW RE
MOV R6, R6
; Read Port 6
MOV A, @00000x1xb
; Enable Port 6 input change interrupt
IOW RF
ENI (or DISI)
; Enable (or disable) global interrupt
SLEP
; Sleep



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


链接网址



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