z8f0822 ZiLOG Semiconductor, z8f0822 Datasheet - Page 65

no-image

z8f0822

Manufacturer Part Number
z8f0822
Description
High Performance 8-bit Microcontrollers
Manufacturer
ZiLOG Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
z8f0822PJ020SG
Manufacturer:
Zilog
Quantity:
45
Part Number:
z8f0822SJ020SG
Manufacturer:
Zilog
Quantity:
567
Table 17. Port A–CA–C Alternate Function Sub-Registers
Table 18. Port A–C Output Control Sub-Registers
PS022517-0508
BITS
FIELD
RESET
R/W
ADDR
BITS
FIELD
RESET
R/W
ADDR
Caution:
7
7
POC7
AF7
If 02H in Port A–C Address Register, accessible through the Port A–C Control Register
If 03H in Port A–C Address Register, accessible through the Port A–C Control Register
pins.To determine the alternate function associated with each port pin, see
Block Diagram
AF[7:0]—Port Alternate Function enabled
0 = The port pin is in NORMAL mode and the DDx bit in the Port A–C Data
1 = The alternate function is selected. Port pin operation is controlled by the
Port A–C Output Control Sub-Registers
The Port A–C Output Control sub-register
Control Register by writing
Port A–C Output Control sub-registers to 1 configures the specified port pins for
open-drain operation. These sub-registers affect the pins directly and, as a result,
alternate functions are also affected.
POC[7:0]—Port Output Control
These bits function independently of the alternate function bit and always disable the
drains if set to 1.
0 = The drains are enabled for any output mode (unless overridden by the
Do not enable alternate function for GPIO port pins which do not have an associated
alternate function. Failure to follow this guideline can result in unpredictable operation.
Direction sub-register determines the direction of the pin.
alternate function.
6
6
POC6
AF6
on page 48.
5
5
POC5
AF5
03H
4
4
to the Port A–C Address Register. Setting the bits in the
POC4
AF4
R/W
R/W
0
0
3
(Table
3
POC3
AF3
18) is accessed through the Port A–C
2
2
Z8 Encore! XP
POC2
AF2
General-Purpose Input/Output
Product Specification
1
1
POC1
AF1
®
GPIO Port Pin
F0822 Series
0
0
POC0
AF0
52

Related parts for z8f0822