English
Language : 

Z8F0113HJ005EG Datasheet, PDF (64/245 Pages) Zilog, Inc. – High-Performance 8-Bit Microcontrollers
Z8 Encore! XP® F0823 Series
Product Specification
49
Port A–C Alternate Function Set 2 Subregisters
The Port A–C Alternate Function Set 2 Subregister (Table 29) is accessed through the Port
A–C Control Register by writing 08H to the Port A–C 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 15 in the
section the GPIO Alternate Functions section on page 34.
Table 29. Port A–C 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–C Address Register, accessible through the Port A–C Control Register
Bit
Description
[7:0]
PAFS2x
Port Alternate Function Set 2
0 = Port Alternate Function selected as defined in Table 15 on page 33; also see the GPIO
Alternate Functions section on page 34).
1 = Port Alternate Function selected as defined in Table 15.
Note: x indicates the specific GPIO port pin number (7–0).
PS024315-1011
PRELIMINARY
GPIO Control Register Definitions