em78f644nso28s ELAN Microelectronics Corp, em78f644nso28s Datasheet - Page 129

no-image

em78f644nso28s

Manufacturer Part Number
em78f644nso28s
Description
Flash Series 8-bit Microcontroller
Manufacturer
ELAN Microelectronics Corp
Datasheet
Product Specification (V1.0) 05.05.2010
(This specification is subject to change without further notice)
c) If Comparator 2 Output Status Change is used to wake-up the IC and the CMPWE
d) If External (P60,/INT) pin change is used to wake-up IC and the EXWE bit of RA
e) When SPI is used as Slave device, IC will wake-up after receiving data, and the
MOV
IOW
WDTC
MOV
ENI (or DISI)
BC
BC
MOV
MOV
MOV
IOW
SLEP
BS
BS
MOV
MOV
MOV
IOW
WDTC
ENI (or DISI)
BC
BC
MOV
MOV
MOV
IOW
SLEP
Under this situation, the following instructions must be executed before SLEP:
Under this situation, the following instructions must be executed before SLEP:
bit of RA register is enabled before SLEP, WDT must be disabled by software.
Hence, the IC can wake-up only under Event 4 condition.
register is enabled before SLEP, WDT must be disabled. Hence, the IC can wake
up only under Events 5 condition.
SPIWE bit of RA register is enabled before SLEP. The WDT must be disabled by
software. Hence, the IC can wake up only under Events 6 condition.
A, @0xxx1000b ; Select WDT prescaler and
IOCA
R6, R6
R4, 7
R4, 6
A, @0100xxxxb ; Enable Port 6 input change
RA,A
A, @xxxxxx1xb ; Enable Port 6 input change
IOCF
R4, 7
R4, 6
A, @xxxx10xxb ; Select a comparator and P80 act
R7,A
A, @0xxx1000b ; Select WDT prescaler and
IOCA
R4, 7
R4, 6
A, @1000xxxxb ; Enable comparator output status
RA,A
A, @10000000b ; Enable comparator output status
IOCE
EM78F648/644/642/641/548/544/542/541N
; Disable the WDT
; Clear WDT and prescaler
; Read Port 6
; Enable (or disable) global
; interrupt
; Select Bank 0
; wake-up bit
; interrupt
; Sleep
; Select Bank 3
; as CO pin
; Disable the WDT
; Clear WDT and prescaler
; Enable (or disable) global
; interrupt
; Select Bank 0
; change wake-up bit
; change interrupt
; Sleep
8-Bit Microcontroller
• 119

Related parts for em78f644nso28s