MC68HC711G5 MOTOROLA [Motorola, Inc], MC68HC711G5 Datasheet - Page 48

no-image

MC68HC711G5

Manufacturer Part Number
MC68HC711G5
Description
High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcontroller
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
Bit 6 of Port H is used as the event output (EVO) or as general purpose I/O. When the EVOEN bit
in the EVCTL register is set, bit 6 of Port H becomes EVO regardless of the state of DDRH bit 6. This
does not change the state of DDRH bit 6. When the EVOEN bit in the EVCTL register is cleared,
the data direction of the pin is under the control of DDRH bit 6.
In the expanded non-multiplexed and test modes, bit 7 of Port H is used as the memory ready signal
(MRDY) or as general purpose I/O. When the MRDY bit in the OPT2 register is set, bit 7 of Port H
becomes the memory ready input regardless of the state of DDRH bit 7. When the MRDY bit in the
OPT2 register is cleared, the data direction of the pin is under the control of DDRH bit 7. In the single
chip and bootstrap modes, bit 7 of Port H is a general purpose I/O pin and the data direction of the
pin is determined by the state of DDRH bit 7.
Reading Port H reads the levels sensed at the pins regardless of the DDRH, PWENx, and EVOEN
bits. All DDRH bits are cleared at reset.
4.11.1 Data Register (PORTH)
READ:
WRITE:
RESET:
4.11.2 Data Direction Register (DDRH)
READ:
WRITE:
RESET:
Note:
MOTOROLA
4-10
Alternate Pin Function:
RESET:
Any time (inputs return pin levels, outputs return pin driver input levels).
Data stored in an internal latch (drives pins only if configured for output).
General purpose high impedance inputs ($00).
Any time
Any time
$00 (all general purpose I/O configured for input only)
0 – Bits set to zero configure the corresponding I/O pins as inputs.
1 – Bits set to one configure the corresponding I/O pins as outputs.
The pulse width modulation timer forces the I/O state to be an output for each Port H line
associated with an enabled PWM. In such cases, the data direction bits will not be
changed but have no effect on these lines. DDRH will revert to controlling the I/O state
of a pin when the associated function is disabled. The event counter does not force the
state of any of the associated pins.
$1034
RESET:
$1033
DDH7
7
0
MRDY
PH7
7
0
DDH6
6
0
PH6
EVO
6
0
DDH5
5
0
INPUT/OUTPUT PORTS
EVI1
PH5
5
0
DDH4
4
0
EVI2
PH4
4
0
DDH3
3
0
PW4
PH3
3
0
DDH2
2
0
PW3
PH2
2
0
DDH1
1
0
PW2
PH1
1
0
DDH0
0
0
PW1
PH0
0
0
DDRH
MC68HC11G5
PORTH

Related parts for MC68HC711G5