English
Language : 

MC68HC05K0 Datasheet, PDF (65/154 Pages) Freescale Semiconductor, Inc – HCMOS Microcontroller Unit
Freescale Semiconductor, Inc.
Technical Data — MC68HC05K0 • MC68HC05K1
Section 7. Parallel Input/Output (I/O)
7.1 Contents
7.2 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65
7.3 Port A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66
7.3.1 Port A Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66
7.3.2 Data Direction Register A. . . . . . . . . . . . . . . . . . . . . . . . . . .67
7.3.3 Pulldown Register A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68
7.3.4 Port A External Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . .69
7.3.5 Port A Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69
7.4 Port B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
7.4.1 Port B Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
7.4.2 Data Direction Register B. . . . . . . . . . . . . . . . . . . . . . . . . . .72
7.4.3 Pulldown Register B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73
7.4.4 Port B Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
7.2 Introduction
The 10 bidirectional input/output (I/O) pins form two parallel I/O ports.
Each I/O pin is programmable as an input or an output. The contents of
the data direction registers determine the data direction of each I/O pin.
All 10 I/O pins have mask-optional pulldown devices.
MC68HC05K0 • MC68HC05K1 — Rev. 2.0
Parallel Input/Output (I/O)
For More Information On This Product,
Go to: www.freescale.com
Technical Data