English
Language : 

Z8F0830HH020SG Datasheet, PDF (66/257 Pages) Zilog, Inc. – High-Performance 8-Bit Microcontrollers
Z8 Encore!® F0830 Series
Product Specification
48
Port A–D Alternate Function Set 2 Subregisters
The Port A–D Alternate Function Set 2 Subregister, shown in Table 28, is accessed
through the Port A–D Control Register by writing 08H to the Port A–D Address Register.
The Alternate Function Set 2 subregisters select the alternate function available at a port
pin. Alternate functions selected by setting or clearing bits in this register are defined in
Table 16 in the GPIO Alternate Functions section on page 34.
Note: Alternate function selection on the port pins must also be enabled, as described in the Port
A–D Alternate Function Subregisters section on page 42.
Table 28. Port A–D Alternate Function Set 2 Subregisters (PxAFS2)
Bit
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–D Address Register, accessible through the Port A–D Control Register
Bit
Description
[7:0]
PAFS2x
Port Alternate Function Set 2
0 = The Port Alternate function is selected, as defined in Table 16 in the GPIO Alternate Func-
tions section on page 34.
1 = The Port Alternate function is selected, as defined in Table 16 in the GPIO Alternate Func-
tions section on page 34.
Note: x indicates the specific GPIO port pin number (7–0).
PS025113-1212
GPIO Control Register Definitions