MC68HC05K1 FREESCALE [Freescale Semiconductor, Inc], MC68HC05K1 Datasheet - Page 66

no-image

MC68HC05K1

Manufacturer Part Number
MC68HC05K1
Description
HCMOS Microcontroller Unit
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Technical Data
7.3 Port A
7.3.1 Port A Data Register
Technical Data
Address:
Port A is an 8-bit, general-purpose, bidirectional I/O port with these
features:
The port A data register (PORTA), shown in
for each of the port A pins. When a port A pin is programmed to be an
output, the state of its data register bit determines the state of the output
pin. When a port A pin is programmed to be an input, reading the port A
data register returns the logic state of the pin. The port A data register
may be written to while the port is either an input or an output.
PA7–PA0 — Port A Data Bits
Reset:
Read:
Write:
These read/write bits are software-programmable. Data direction of
each bit is under the control of the corresponding bit in data direction
register A. Reset has no effect on port A data.
Freescale Semiconductor, Inc.
For More Information On This Product,
Programmable pulldown devices (mask option)
8-mA current sinking capability (pins PA7–PA4)
External interrupt capability (pins PA3–PA0) (mask option)
$0000
Bit 7
PA7
Go to: www.freescale.com
Figure 7-1. Port A Data Register (PORTA)
Parallel Input/Output (I/O)
PA6
6
PA5
5
Unaffected by reset
PA4
4
MC68HC05K0 • MC68HC05K1 — Rev. 2.0
PA3
3
Figure
PA2
2
7-1, contains a bit
PA1
1
Bit 0
PA0

Related parts for MC68HC05K1