English
Language : 

Z8F1680SH020SG Datasheet, PDF (87/412 Pages) Zilog, Inc. – High-Performance 8-Bit Microcontrollers
Z8 Encore! XP® F1680 Series
Product Specification
62
7.11.5. Port A–E Output Control Subregisters
The Port A–E Output Control Subregister, shown in Table 25, is accessed through the Port
A–E Control Register by writing 03H to the Port A–E Address Register. Setting the bits in
the Port A–E Output Control subregisters to 1 configures the specified port pins for open-
drain operation. These subregisters affect the pins directly and, as a result, alternate func-
tions are also affected.
Table 25. Port A–E Output Control Subregisters (PxOC)
Bits
Field
Reset
R/W
Address
7
6
5
4
3
2
1
0
POC7 POC6 POC5 POC4 POC3 POC2 POC1 POC0
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
If 03H in Port A–E Address Register, accessible through the Port A–E Control Register
Bit
[7:0]
POC
Description
Port Output Control
These bits function independently of the alternate function bit and always disable the drains if
set to 1.
0 = The drains are enabled for any output mode (unless overridden by the alternate function).
1 = The drain of the associated pin is disabled (open-drain mode).
7.11.6. Port A–E High Drive Enable Subregisters
The Port A–E High Drive Enable Subregister, shown in Table 26, is accessed through the
Port A–E Control Register by writing 04H to the Port A–E Address Register. Setting the
bits in the Port A–E High Drive Enable subregisters to 1 configures the specified port pins
for high-current output drive operation. The Port A–E High Drive Enable Subregister
affects the pins directly and, as a result, alternate functions are also affected.
Table 26. Port A–E High Drive Enable Subregisters (PxHDE)
Bits
Field
Reset
R/W
Address
7
6
5
4
3
2
1
0
PHDE7 PHDE6 PHDE5 PHDE4 PHDE3 PHDE2 PHDE1 PHDE0
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
If 04H in Port A–E Address Register, accessible through the Port A–E Control Register
Bit
[7:0]
PHDE
Description
Port High Drive Enabled
0 = The Port pin is configured for standard output current drive.
1 = The Port pin is configured for high output current drive.
PS025015-1212
PRELIMINARY
General-Purpose Input/Output