English
Language : 

Z8F0830HH020SG Datasheet, PDF (67/257 Pages) Zilog, Inc. – High-Performance 8-Bit Microcontrollers
Z8 Encore!® F0830 Series
Product Specification
49
Port A–C Input Data Registers
Reading from the Port A–C Input Data registers, shown in Table 29, return the sampled
values 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 not included in
the 8- and 28-pin packages, as well as those not included in the ADC-enabled 28-pin pack-
ages.
Table 29. Port A–C Input Data Registers (PxIN)
Bit
Field
RESET
R/W
Address
7
PIN7
X
R
6
PIN6
X
R
5
PIN5
X
R
4
3
PIN4
PIN3
X
X
R
R
FD2H, FD6H, FDAH
2
PIN2
X
R
1
PIN1
X
R
0
PIN0
X
R
Bit
Description
[7:0]
PxIN
Port Input Data
Sampled data from the corresponding port pin input.
0 = Input data is logical 0 (Low).
1 = Input data is logical 1 (High).
Note: x indicates the specific GPIO port pin number (7–0).
PS025113-1212
GPIO Control Register Definitions