English
Language : 

Z8F082ASH020SC Datasheet, PDF (61/244 Pages) Zilog, Inc. – Z8 Encore XP-R F08xA Series with eXtended Peripherals
Z8 Encore! XP® F08xA Series
Product Specification
43
RESET
R/W
ADDR
Table 25. Port A–D Alternate Function Set 2 Sub-Registers (PxAFS2)
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 08H in Port A–D Address Register, accessible through the Port A–D Control Register
PAFS2[7:0]—Port Alternate Function Set 2
0 = Port Alternate Function selected as defined in Table 13 GPIO Alternate Functions sec-
tion.
1 = Port Alternate Function selected as defined in Table 13 GPIO Alternate Functions sec-
tion.
Port A–C Input Data Registers
Reading from the Port A–C Input Data registers (Table 26) returns the sampled values
from the corresponding port pins. The Port A–C Input Data registers are read-only. The
value returned for any unused ports is 0. Unused ports include those missing on the 8- and
28-pin packages, as well as those missing on the ADC-enabled 28-pin packages.
Table 26. Port A–C Input Data Registers (PxIN)
BITS
FIELD
RESET
R/W
ADDR
7
PIN7
X
R
6
PIN6
X
R
5
PIN5
X
R
4
3
PIN4
PIN3
X
X
R
R
FD2H, FD6H, FDAH
PIN[7:0]—Port Input Data
Sampled data from the corresponding port pin input.
0 = Input data is logical 0 (Low).
1 = Input data is logical 1 (High).
2
PIN2
X
R
1
PIN1
X
R
0
PIN0
X
R
Port A–D Output Data Register
The Port A–D Output Data register (Table 27) controls the output data to the pins.
Table 27. Port A–D Output Data Register (PxOUT)
BITS
FIELD
RESET
7
POUT7
0
6
POUT6
0
5
POUT5
0
4
POUT4
0
3
POUT3
0
2
POUT2
0
1
POUT1
0
0
POUT0
0
PS024705-0405
PRELIMINARY
General-Purpose I/O