English
Language : 

Z8F0113HJ005EG Datasheet, PDF (66/245 Pages) Zilog, Inc. – High-Performance 8-Bit Microcontrollers
Z8 Encore! XP® F0823 Series
Product Specification
51
Port A–C Output Data Register
The Port A–C Output Data Register (Table 31) controls the output data to the pins.
Table 31. Port A–C Output Data Register (PxOUT)
Bit
Field
RESET
R/W
Address
7
POUT7
0
R/W
6
POUT6
0
R/W
5
POUT5
0
R/W
4
POUT4
3
POUT3
0
0
R/W
R/W
FD3H, FD7H, FDBH
2
POUT2
0
R/W
1
POUT1
0
R/W
0
POUT0
0
R/W
Bit
Description
[7:0]
PxOUT
Port Output Data
These bits contain the data to be driven to the port pins. The values are only driven if the corre-
sponding pin is configured as an output and the pin is not configured for alternate function
operation.
0 = Drive a logical 0 (Low).
1 = Drive a logical 1 (High). High value is not driven if the drain has been disabled by setting
the corresponding Port Output Control Register bit to 1.
Note: x indicates the specific GPIO port pin number (7–0).
LED Drive Enable Register
The LED Drive Enable Register, shown in Table 32, activates the controlled current drive.
The Alternate Function Register has no control over the LED function; therefore, setting
the Alternate Function Register to select the LED function is not required. LEDEN bits
[7:0] correspond to Port C bits [7:0], respectively.
Table 32. LED Drive Enable (LEDEN)
Bit
7
6
5
4
3
2
1
0
Field
LEDEN[7:0]
RESET
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Address
F82H
Bit
[7:0]
LEDEN
Description
LED Drive Enable
These bits determine which Port C pins are connected to an internal current sink.
0 = Tristate the Port C pin.
1= Connect controlled current sink to the Port C pin.
PS024315-1011
PRELIMINARY
GPIO Control Register Definitions