ZLF645S0P2864G Zilog, ZLF645S0P2864G Datasheet - Page 156

no-image

ZLF645S0P2864G

Manufacturer Part Number
ZLF645S0P2864G
Description
Microcontrollers (MCU) 64K Flash 512B RAM 28 pin
Manufacturer
Zilog
Datasheet

Specifications of ZLF645S0P2864G

Data Bus Width
8 bit
Program Memory Type
Flash
Program Memory Size
64 KB
Data Ram Size
512 KB
Interface Type
ICP, UART
Maximum Clock Frequency
8 MHz
Number Of Programmable I/os
24
Number Of Timers
3
Maximum Operating Temperature
+ 70 C
Mounting Style
Through Hole
Package / Case
PDIP-28
Minimum Operating Temperature
0 C
Lead Free Status / Rohs Status
 Details
PS026407-0408
To configure a Port 3 input pin as an SMR3 event source set the corresponding SMR3
register bit. By default, a Stop Mode Recovery 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 Stop Mode Recovery
event occurs when the pin’s state differs from the last reference value latched. The SMR3
source logic is displayed in
The program can read register bits SMR4[3:2] to determine whether the Port 3 pins trigger
a Stop Mode Recovery 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
;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.
Figure
47.
Table 70 on page
141.
ZLF645 Series Flash MCUs
Reset/Stop Mode Recovery Status
Product Specification
148

Related parts for ZLF645S0P2864G