English
Language : 

Z8F1680SH020SG Datasheet, PDF (90/412 Pages) Zilog, Inc. – High-Performance 8-Bit Microcontrollers
Z8 Encore! XP® F1680 Series
Product Specification
65
Table 30. Port A–E Alternate Function Set 2 Subregisters (PxAFS2)
Bits
Field
Reset
R/W
Address
7
6
5
4
3
2
1
0
PAFS27 PAFS26 PAFS25 PAFS24 PAFS23 PAFS22 PAFS21 PAFS20
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–E Address Register, accessible through the Port A–E Control Register
Bit
[7:0]
PAFS2
Description
Port Alternate Function Set 2
0 = Port Alternate Function selected as defined in the GPIO Alternate Functions section on
page 47.
1 = Port Alternate Function selected as defined the GPIO Alternate Functions section on page
47.
7.11.11. Port A–E Input Data Registers
Reading from the Port A–E Input Data registers, shown in Table 31, returns the sampled
values from the corresponding port pins. The Port A–E Input Data registers are read-only.
The value returned for any unused ports is 0. Unused ports include those missing on the 8-
pin and 28-pin packages, as well as those missing on the ADC-enabled 28-pin packages.
Table 31. Port A–E Input Data Registers (PxIN)
Bits
Field
Reset
R/W
Address
7
PIN7
X
R
6
PIN6
X
R
5
4
3
2
PIN5
PIN4
PIN3
PIN2
X
X
X
X
R
R
R
R
FD2H, FD6H, FDAH, FDEH, FE2H
1
PIN1
X
R
0
PIN0
X
R
Bit
[7:0]
PIN
Description
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).
PS025015-1212
PRELIMINARY
General-Purpose Input/Output