z8f0813 ZiLOG Semiconductor, z8f0813 Datasheet - Page 59

no-image

z8f0813

Manufacturer Part Number
z8f0813
Description
High-performance 8-bit Microcontrollers
Manufacturer
ZiLOG Semiconductor
Datasheet
Table 26. Port A–C Alternate Function Set 1 Sub-Registers (PxAFS1)
Table 27. Port A–C Alternate Function Set 2 Sub-Registers (PxAFS2)
BITS
FIELD
RESET
R/W
ADDR
BITS
FIELD
RESET
R/W
ADDR
PS024314-0308
Port A–C Input Data Registers
PAFS17
PAFS27
R/W
R/W
If 07H in Port A–C Address Register, accessible through the Port A–C Control Register
If 08H in Port A–C Address Register, accessible through the Port A–C Control Register
7
7
PAFS1[7:0]—Port Alternate Function Set to 1
0 = Port Alternate Function selected as defined in
on page 36).
1 = Port Alternate Function selected as defined in
on page 36).
Port A–C Alternate Function Set 2 Sub-Registers
The Port A–C Alternate Function Set 2 sub-register
Port A–C Control register by writing
Function Set 2 sub-registers selects the alternate function available at a port pin. Alternate
Functions selected by setting or clearing bits of this register is defined in
section
PAFS2[7:0]—Port Alternate Function Set 2
0 = Port Alternate Function selected as defined in
on page 36).
1 = Port Alternate Function selected as defined in
Reading from the Port A–C Input Data registers
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.
GPIO Alternate Functions
PAFS16
PAFS26
R/W
R/W
00H (all ports of 20/28 pin devices); 04H (Port A of 8-pin device)
00H (all ports of 20/28 pin devices); 04H (Port A of 8-pin device)
6
6
PAFS15
PAFS25
R/W
R/W
5
5
PAFS14
PAFS24
R/W
R/W
on page 36.
4
4
08H
to the Port A–C Address register. The Alternate
PAFS13
PAFS23
R/W
R/W
3
3
(Table
Table 14
Table 14
Table 14
Table
(Table
28) returns the sampled values
Z8 Encore! XP
PAFS12
PAFS22
14.
R/W
R/W
(see
(see
(see
27) is accessed through the
2
2
General-Purpose Input/Output
GPIO Alternate Functions
GPIO Alternate Functions
GPIO Alternate Functions
Product Specification
PAFS21
PAFS11
R/W
R/W
1
1
®
Table 14
F0823 Series
PAFS10
PAFS20
R/W
R/W
in the
0
0
49

Related parts for z8f0813