EM78451AP EMC [ELAN Microelectronics Corp], EM78451AP Datasheet - Page 37

no-image

EM78451AP

Manufacturer Part Number
EM78451AP
Description
8-Bit Microcontroller
Manufacturer
EMC [ELAN Microelectronics Corp]
Datasheet
Product Specification (V1.2) 05.27.2004
(This specification is subject to change without further notice)
Address
N/A
N/A
N/A
N/A
N/A
Name
IOC5
IOC6
IOC7
IOC8
IOC9
The sleep mode (power down) is achieved by executing the SLEP instruction (named
as SLEEP1 MODE). While entering sleep mode, the WDT (if enabled) is cleared but
keeps on running. The controller is awakened by WDT timeout (if enabled), and it will
cause the controller to reset. The T and P flags of R3 are used to determine the source
of the reset (wake-up).
In addition to the basic SLEEP1 MODE, EM78451 has another sleep mode (caused by
clearing "SLPC" bit of IOCE register, designated as SLEEP2 MODE). In the SLEEP2
MODE, the controller can be awakened by:
(a) Any one of the wake-up pins is set to “0” (refer to Fig.17). Upon waking, the
(b) WDT time-out (if enabled). During wake-up, it will cause the controller to reset.
Table 6 The Summary of the Initialized Values for Registers
controller will continue to execute the program in-line. In this case, before entering
SLEEP2 MODE, the wake-up function of the trigger sources (P60~P67, P74~P75,
and P90~P91) should be selected (e.g. input pin) and enabled (e.g. pull-high,
wake-up control). One caution should be noted is that after waking up, the WDT is
enabled if Code Option bit ENWDT is "1". The WDT operation (to be enabled or
disabled) should be appropriately controlled by software after waking up.
Bits 3,6 of IOCE register are cleared, bits 0,4~5 of IOCE register are set to "1".
Bits 0 of R3F and bits 0 of IOCF registers are cleared.
Bit Name
Power-On
/RESET and WDT
Wake-Up from Pin
Change
Bit Name
Power-On
/RESET and WDT
Wake-Up from Pin
Change
Bit Name
Power-On
/RESET and WDT
Wake-Up from Pin
Change
Bit Name
Power-On
/RESET and WDT
Wake-Up from Pin
Change
Bit Name
Power-On
Reset Type
Bit 7
C57
C67
C77
C87
C97
P
P
P
P
1
1
1
1
1
1
1
1
1
Bit 6
C56
C66
C76
C86
C96
P
1
P
1
P
P
1
1
1
1
1
1
1
Bit 5
C55
C65
C75
C85
C95
P
1
P
1
P
P
1
1
1
1
1
1
1
Bit 4
C54
C64
C74
C84
C94
P
P
P
P
1
1
1
1
1
1
1
1
1
Bit 3
C53
C63
C73
C83
C93
P
P
P
P
1
1
1
1
1
1
1
1
1
8-Bit Microcontroller
Bit 2
C52
C62
C72
C82
C92
P
P
P
P
1
1
1
1
1
1
1
1
1
Bit 1
C51
C61
C71
C81
C91
EM78451
P
P
P
P
1
1
1
1
1
1
1
1
1
Bit 0
C50
C60
C70
C80
C90
1
1
P
1
1
P
1
1
P
1
1
P
1
• 33

Related parts for EM78451AP