English
Language : 

Z8F042AHJ020SG Datasheet, PDF (68/282 Pages) Zilog, Inc. – High-Performance 8-Bit Microcontrollers
Z8 Encore! XP® F082A Series
Product Specification
51
Table 27. Port A–D Alternate Function Set 1 Subregisters (PxAFS1)
Bit
Field
RESET
R/W
Address
7
6
5
4
3
2
1
0
PAFS17 PAFS16 PAFS15 PAFS14 PAFS13 PAFS12 PAFS11 PAFS10
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 07H in Port A–D Address Register, accessible through the Port A–D Control Register
Bit
Description
[7:0]
PAFSx
Port Alternate Function Set 1
0 = Port Alternate Function selected, as defined in Tables 15 and 16 on page 43.
1 = Port Alternate Function selected, as defined in Tables 15 and 16 on page 43.
Note: x indicates the specific GPIO port pin number (7–0).
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 selects the alternate function available at a port
pin. Alternate Functions selected by setting or clearing bits of this register is defined in
Table 16 on page 43.
Note: Alternate function selection on the port pins must also be enabled. See the Port A–D Alter-
nate Function Subregisters section on page 47 for details.
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
00H (all ports of 20/28 pin devices); 04H (Port A of 8-pin device)
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]
Port Alternate Function Set 2
PAFS2x 0 = Port Alternate Function selected, as defined in Table 16.
1 = Port Alternate Function selected, as defined in Table 16.
Note: x indicates the specific GPIO port pin number (7–0).
PS022827-1212
PRELIMINARY
GPIO Control Register Definitions