English
Language : 

MC68HC705P9 Datasheet, PDF (81/160 Pages) Motorola, Inc – HCMOS Microcontroller Unit 
Freescale Semiconductor, Inc.
Technical Data — MC68HC705P9
Section 7. Parallel Input/Output (I/O) Ports
7.1 Contents
7.2 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
7.3 Port A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
7.3.1 Port A Data Register (PORTA). . . . . . . . . . . . . . . . . . . . . . . 83
7.3.2 Data Direction Register A (DDRA) . . . . . . . . . . . . . . . . . . . .83
7.4 Port B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
7.4.1 Port B Data Register (PORTB). . . . . . . . . . . . . . . . . . . . . . . 85
7.4.2 Data Direction Register B (DDRB) . . . . . . . . . . . . . . . . . . . .86
7.5 Port C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
7.5.1 Port C Data Register (PORTC) . . . . . . . . . . . . . . . . . . . . . . 88
7.5.2 Data Direction Register C (DDRC) . . . . . . . . . . . . . . . . . . . .89
7.6 Port D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
7.6.1 Port D Data Register (PORTD) . . . . . . . . . . . . . . . . . . . . . . 91
7.6.2 Data Direction Register D (DDRD) . . . . . . . . . . . . . . . . . . . .92
7.2 Introduction
Twenty bidirectional pins and one input-only pin form four parallel
input/output (I/O) ports. All the bidirectional port pins are programmable
as inputs or outputs.
NOTE:
Connect any unused I/O pins to an appropriate logic level, either VDD or
VSS. Although the I/O ports do not require termination for proper
operation, termination reduces excess current consumption and the
possibility of electrostatic damage.
MC68HC705P9 — Rev. 4.0
MOTOROLA
Parallel Input/Output (I/O) Ports
For More Information On This Product,
Go to: www.freescale.com
Technical Data
81