|
Z8F4822AR020SG Datasheet, PDF (61/323 Pages) Zilog, Inc. – High Performance 8-Bit Microcontrollers | |||
|
◁ |
Z8 Encore! XP® F64xx Series
Product Specification
41
Port AâH Control Registers
The Port AâH Control registers, shown in Table 15, set the GPIO port operation. The
value in the corresponding Port AâH Address Register determines the control subregisters
accessible using the Port AâH Control Register.
Table 15. Port AâH Control Registers (PxCTL)
Bit
7
6
5
4
3
2
1
0
Field
PCTL
RESET
00H
R/W
R/W
Address
FD1H, FD5H, FD9H, FDDH, FE1H, FE5H, FE9H, FEDH
Bit
[7:0]ï
PCTL
Description
Port Control
The Port Control Register provides access to all subregisters that configure the GPIO Port
operation.
Port AâH Data Direction Subregisters
The Port AâH Data Direction Subregister, shown in Table 16, is accessed through the Port
AâH Control Register by writing 01H to the Port AâH Address Register.
Table 16. Port AâH Data Direction Subregisters
Bit
7
6
5
4
3
2
1
0
Field
DD7
DD6
DD5
DD4
DD3
DD2
DD1
DD0
RESET
1
R/W
R/W
Address
See note.
Note: If a 01H exists in the Port AâH Address Register, it is accessible through the Port AâH Control Register.
Bit
Description
[7:0]ï
DDx
Data Direction
These bits control the direction of the associated port pin. Port Alternate Function operation
overrides the Data Direction Register setting.
0 = Output. Data in the Port AâH Output Data Register is driven onto the port pin.
1 = Input. The port pin is sampled and the value written into the Port AâH Input Data Register.
The output driver is tri-stated.
Note: x indicates register bits in the range [7:0].
PS019924-0113
PRELIMINARY
GPIO Control Register Definitions
|
▷ |