Run mode, Halt mode, Stop mode – Zilog Z86193 User Manual
Page 80: Open-drain configuration, Run mode halt mode stop mode

Z8
®
CPU
User Manual
UM001604-0108
Input/Output Ports
73
I
IO
For CMOS voltage comparator inputs, the input offset current (I
IO
) is the leakage current
of the CMOS input gate.
Run Mode
P33 is not available as an interrupt input during analog mode. P31 and P32 are valid inter-
rupt inputs in conjunction with P33 (Ref) when in analog mode.
P31 can still be used as T
IN
when analog mode is selected. If comparator outputs are
required to be outputted on the Port 3 outputs, refer to specific product specification for
priority of mixing when other special features are sharing those same Port 3 pins.
Halt Mode
The analog comparators are functional during HALT mode if analog mode is enabled. P31
and P32, in conjunction with P33 (Ref) are able to generate interrupts. Only P33 cannot
generate an interrupt because the P33 input goes directly to the Ref input of the compara-
tors and is disconnected from the interrupt sensing circuits.
Stop Mode
The analog comparators are disabled during STOP mode so it does not use any current at
that time. If P31, P32, or P33 are used as a source for Stop Mode Recovery, the Port 3 dig-
ital mode must be selected by setting bit D1 = 0 in the Port 3 Mode Register. Otherwise in
STOP mode, the P31, P32, and P33 cannot be sensed. If analog mode is selected when
entering STOP mode, it is still enabled after a valid SMR triggered reset.
Open-Drain Configuration
All Z8
®
MCUs can configure Port 2 to provide open-drain outputs by programming the
Port 3 Mode Register (P3M) bit D0 = 0.
Figure 61. Port 2 Configuration
D7 D6 D5 D4 D3 D2 D1 D0
(Write-Only)
0 = Pull-Ups Active
Port 2 Configuration
1 = Pull-Ups Open-Drain
Port 3 Mode Register
Register F7h
- Z86233 Z86243 Z86733 Z86743 Z86C02 Z86C04 Z86C08 Z86C15 Z86C21 Z86C30 Z86C31 Z86C33 Z86C36 Z86C40 Z86C43 Z86C61 Z86C62 Z86C63 Z86C65 Z86C83 Z86C90 Z86C91 Z86C93 Z86C96 Z86E02 Z86E03 Z86E04 Z86E06 Z86E07 Z86E08 Z86E15 Z86E21 Z86E30 Z86E31 Z86E33 Z86E34 Z86E40 Z86E43 Z86E44 Z86E61 Z86E63 Z86E83 Z86K15 Z86L02 Z86L04 Z86L08 Z86L16 Z8E000 Z8E001 Z8PE003