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

no-image

MC68HC711G5

Manufacturer Part Number
MC68HC711G5
Description
High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcontroller
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
MC68HC11G5
In the single chip modes (normal and bootstrap), the Port C pins are general purpose I/O pins. Bits
0 – 7 are input or output pins depending on the corresponding bit of DDRC. While a bit is configured
as an output, reading the bit returns the sensed level at the input to the Port C pin driver. At reset,
all DDRC bits are cleared and all Port C bits are configured as inputs.
4.6.1
READ:
WRITE:
RESET:
4.6.2
READ:
WRITE:
RESET:
Port D is a 6-bit bidirectional port which also supports the SCI and SPI systems. When the SCI or
SPI is not needed the associated pins may be used for general purpose I/O.
Port D pins serve several functions depending on the MCU mode and various internal control
registers. If the DWOM bit in the SPCR register is set, the p-channel drivers in the output buffers are
disabled (wired-OR mode).
Port D bit 0 becomes the Receive Data input (RXD) when the SCI receiver is enabled (RE bit in the
SCCR2 register set to one). When the RE bit is clear, Port D bit 0 defaults to being a general purpose
I/O pin controlled by DDRD.
4.7
Alternate Pin Function:
PORT D
Data Register (PORTC)
Data Direction Register (DDRC)
RESET:
Any time (inputs return pin level; outputs return pin driver input level).
Data stored in internal latch (drives pins only if configured as outputs)
In single chip modes all Port C pins are configured as general purpose inputs.
In expanded modes, Port C is configured as the data bus.
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.
$1007
RESET:
$1006
DDC7
7
0
PC7
D7
7
0
DDC6
6
0
PC6
D6
6
0
DDC5
5
0
INPUT/OUTPUT PORTS
PC5
D5
5
0
DDC4
4
0
PC4
D4
4
0
DDC3
3
0
PC3
D3
3
0
DDC2
2
0
PC2
D2
2
0
DDC1
1
0
PC1
D1
1
0
DDC0
0
0
PC0
D0
0
0
DDRC
MOTOROLA
PORTC
4-5

Related parts for MC68HC711G5