English
Language : 

Z8F1601 Datasheet, PDF (58/246 Pages) Zilog, Inc. – Z8 Encore Microcontrollers with Flash Memory and 10-Bit A/D Converter
Z8F640x/Z8F480x/Z8F320x/Z8F240x/Z8F160x
Z8 Encore!®
40
AF[7:0]—Port Alternate Function enabled
0 = The port pin is in normal mode and the DDx bit in the Port A-H Data Direction sub-
register determines the direction of the pin.
1 = The alternate function is selected. Port pin operation is controlled by the alternate
function.
Port A-H Output Control Sub-Registers
The Port A-H Output Control sub-register (Table 17) is accessed through the Port A-H
Control register by writing 03H to the Port A-H Address register. Setting the bits in the
Port A-H Output Control sub-registers to 1 configures the specified port pins for open-
drain operation. These sub-registers affect the pins directly and, as a result, alternate func-
tions are also affected.
Table 17. Port A-H Output Control Sub-Registers
BITS
FIELD
RESET
R/W
ADDR
7
POC7
6
POC6
5
POC5
4
POC4
3
POC3
2
POC2
1
POC1
0
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-H Address Register, accessible via Port A-H Control Register
POC[7:0]—Port Output Control
These bits function independently of the alternate function bit and disables the drains if set
to 1.
0 = The drains are enabled for any output mode.
1 = The drain of the associated pin is disabled (open-drain mode).
PS017610-0404
General-Purpose I/O