mc68hc11d0cfn2 Freescale Semiconductor, Inc, mc68hc11d0cfn2 Datasheet - Page 71

no-image

mc68hc11d0cfn2

Manufacturer Part Number
mc68hc11d0cfn2
Description
M68hc11 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC11D0CFN2
Manufacturer:
FREESCALE
Quantity:
8 831
5.4.3 Port C Data Direction Register
5.5 Port D
5.5.1 Port D Data Register
MC68HC711D3 — Rev. 2
MOTOROLA
DDC7–DDC0 — Data Direction Bits for Port C
Port D is an 8-bit, general-purpose I/O port with a data register (PORTD) and a data
direction register (DDRD). The eight port D bits (D7–D0) can be used for
general-purpose I/O, for the serial communications interface (SCI) and serial
peripheral interface (SPI) subsystems, or for bus data direction control
PORTD can be read at any time and inputs return the sensed levels at the pin;
whereas, outputs return the input level of the port D pin drivers. If PORTD is written,
the data is stored in an internal latch, and can be driven only if port D is configured
as general-purpose output. This port shares functions with the on-chip SCI and SPI
subsystems, while bits 6 and 7 control the direction of data flow on the bus in
expanded and special test modes.
Address:
Address:
Reset:
Reset:
Read:
Write:
Read:
Write:
1 = Corresponding port C pin is configured as output
0 = Corresponding port C pin is configured for input only
Freescale Semiconductor, Inc.
For More Information On This Product,
$0007
DDC7
$0008
Bit 7
Bit 7
PD7
Figure 5-6. Data Direction Register for Port C (DDRC)
0
0
Go to: www.freescale.com
Figure 5-7. Port D Data Register (PORTD)
Input/Output (I/O) Ports
DDC6
PD6
6
0
6
0
DDC5
PD5
5
0
5
0
DDC4
PD4
4
4
0
0
DDC3
PD3
3
0
3
0
DDC2
PD2
2
0
2
0
Input/Output (I/O) Ports
DDC1
PD1
1
0
1
0
Data Sheet
DDC0
Bit 0
Bit 0
PD0
0
0
Port D
71

Related parts for mc68hc11d0cfn2