EM78159NAS EMC [ELAN Microelectronics Corp], EM78159NAS Datasheet - Page 25

no-image

EM78159NAS

Manufacturer Part Number
EM78159NAS
Description
8-Bit Microcontroller with OTP ROM
Manufacturer
EMC [ELAN Microelectronics Corp]
Datasheet
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
If Port 6 Input Status Change Interrupt is used to wake-up the EM78P159N (Case [a]
above), the following instructions must be executed before SLEP:
MOV A, @xx000110b
CONTW
CLR R1
MOV A, @xxxx1110b
CONTW
WDTC
MOV A, @0xxxxxxxb
IOW RE
MOV R6, R6
BS RE,1
MOV A, @00000x1xb
IOW RF
ENI (or DISI)
SLEP
NOP
;Disable WDT
; Read Port 6
;Sleep
; Select internal TCC clock
; Clear TCC and prescaler
; Select WDT prescaler
; Clear WDT and prescaler
; Enable wake up control bit
; Enable Port 6 input change interrupt
; Enable (or disable) global interrupt
8-Bit Microcontroller with OTP ROM
EM78P159N
• 21

Related parts for EM78159NAS