ZLP128ICE01ZEM Zilog, ZLP128ICE01ZEM Datasheet - Page 114

no-image

ZLP128ICE01ZEM

Manufacturer Part Number
ZLP128ICE01ZEM
Description
EMULATOR CRIMZON Z8 ZLP12840
Manufacturer
Zilog

Specifications of ZLP128ICE01ZEM

Interface Type
RS-232, Ethernet, USB
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
269-3829
PS024410-0108
To configure a Port 3 input pin as an SMR3 event source set the corresponding SMR3 reg-
ister bit. By default, a SMR event occurs when the pin’s state is zero.
After a Port 3 pin is configured as an SMR3 source, any subsequent read from or write to
the P2 register latches the read or written value for reference. A SMR event occurs when
the pin’s state differs from the last reference value latched. The SMR3 source logic is dis-
played in
The program can read register bits SMR4[3:2] to determine whether the Port 3 pins trigger
a SMR on a change from the last read value (SMR4[3:2]=01), or on a change from the last
written value (SMR4[3:2]=10). Software can clear SMR4[3:2] to 00 to restore the default
behavior (configured pins trigger when their state is 0). The SMR3 register is summarized
in
After the following example code is executed, a 1 on P30 will wake the part from STOP
mode.
After the following example code is executed when the value of P3 is 00h, a 1 on P30 will
wake the part from STOP mode.
LD SMR3, #%01
LD P3, #%00
NOP
STOP
LD SMR3, #%01
LD R6, P3
NOP
STOP
Table 48
Figure 38
on page 102.
on page 109.
;Select P30 from SMR3.
;Write 00h to Port 3, so the P30 reference
;value is 0, and a 1 on P30 wakes the part.
;Select P30 for SMR3.
;If a 0 is read from Port 3, the P30 reference
;value is 0, so a 1 on P30 wakes the part.
P R E L I M I N A R Y
Resets and Power Management
Product Specification
ZLP12840 OTP MCU
108

Related parts for ZLP128ICE01ZEM