mc68hc916y3 Freescale Semiconductor, Inc, mc68hc916y3 Datasheet - Page 388

no-image

mc68hc916y3

Manufacturer Part Number
mc68hc916y3
Description
Mc68hc16y3 16 Bit Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
D.2.7 Port G and H Data Registers
PORTG — Port G Data Register
PORTH — Port H Data Register
D.2.8 Port G and H Data Direction Registers
DDRG — Port G Data Direction Register
DDRH— Port H Data Direction Register
D.2.9 Port E Data Register
PORTE0 — Port E0 Data Register
PORTE1 — Port E1 Data Register
D-10
MOTOROLA
DDG7
15
PG7
15
15
U
0
RESET:
RESET:
RESET:
Port G is available in single-chip mode only. These pins are always configured for use
as general-purpose I/O in single-chip mode.
Port H is available in single-chip and 8-bit expanded modes only. The function of these
pins is determined by the operating mode. There is no pin assignment register asso-
ciated with this port.
These port data registers can be read or written any time the MCU is not in emulation
mode. Reset has no effect.
The bits in this register control the direction of the port pin drivers when pins are con-
figured as I/O. Setting a bit configures the corresponding pin as an output. Clearing a
bit configures the corresponding pin as an input.
This register can be accessed in two locations and can be read or written at any time.
A write to this register is stored in an internal data latch, and if any pin in the
corresponding port is configured as an output, the value stored for that bit is driven out
on the pin. A read of this data register returns the value at the pin only if the pin is
configured as a discrete input. Otherwise, the value read is the value stored in the
register. Bits [15:8] are unimplemented and will always read zero.
DDG6
14
PG6
14
14
U
0
DDG5
13
PG5
13
13
U
0
DDG4
12
PG4
NOT USED
12
12
U
0
DDG3
Freescale Semiconductor, Inc.
11
PG3
11
11
U
0
For More Information On This Product,
DDG2
10
PG2
10
10
U
0
Go to: www.freescale.com
DDG1
REGISTER SUMMARY
PG1
9
9
U
9
0
DDG0
PG0
8
U
8
8
0
PE7
DDH7
U
PH7
7
U
7
7
0
PE6
DDH6
PH6
6
U
U
6
6
0
PE5
DDH5
PH5
U
5
U
5
5
0
PE4
DDH4
U
PH4
4
U
4
4
0
PE3
DDH3
U
PH3
3
U
3
3
0
MC68HC16Y3/916Y3
PE2
DDH2
USER’S MANUAL
PH2
U
2
2
U
2
0
$YFFA0C
$YFFA0D
$YFFA0E
$YFFA0F
$YFFA10
$YFFA12
PE1
DDH1
PH1
U
1
U
1
1
0
PE0
DDH0
U
PH0
0
U
0
0
0

Related parts for mc68hc916y3