English
Language : 

MC68HC08AS32A Datasheet, PDF (156/296 Pages) Motorola, Inc – Microcontrollers
Freescale Semiconductor, Inc.
Input/Output (I/O) Ports
Addr.
$0008
$0009
$000C
$000D
Register Name
Port E Data Register Read:
(PTE) Write:
See page 165. Reset:
Port F Data Register Read:
(PTF) Write:
See page 167. Reset:
Data Direction Register E Read:
(DDRE) Write:
See page 166. Reset:
Data Direction Register F Read:
(DDRF) Write:
See page 169. Reset:
Bit 7
PTE7
0
DDRE7
0
0
0
6
PTE6
5
PTE5
0
0
DDRE6 DDRE5
0
0
0
0
0
0
= Unimplemented
4
3
2
PTE4
PTE3 PTE2
Unaffected by reset
0
PTF3
PTF2
Unaffected by reset
DDRE4 DDRE3 DDRE2
0
0
0
0
DDRF3 DDRF2
0
0
0
Figure 12-1. I/O Port Register Summary (Continued)
1
PTE1
PTF1
DDRE1
0
DDRF1
0
Bit 0
PTE0
PTF0
DDRE0
0
DDRF0
0
12.2 Port A
Port A is an 8-bit general-purpose bidirectional I/O port.
12.2.1 Port A Data Register
The port A data register contains a data latch for each of the eight
port A pins.
Address: $0000
Bit 7
Read:
PTA7
Write:
Reset:
6
PTA6
5
PTA5
4
3
PTA4
PTA3
Unaffected by reset
2
PTA2
1
PTA1
Bit 0
PTA0
Figure 12-2. Port A Data Register (PTA)
PTA[7:0] — Port A Data Bits
These read/write bits are software programmable. Data direction of each port A
pin is under the control of the corresponding bit in data direction register A.
Reset has no effect on port A data.
Data Sheet
156
Input/Output (I/O) Ports
For More Information On This Product,
Go to: www.freescale.com
MC68HC08AS32A — Rev. 1
MOTOROLA