English
Language : 

MC68HC08AZ60 Datasheet, PDF (283/452 Pages) Motorola, Inc – Advance Information
Port B
Port B Data
Register
Freescale Semiconductor, Inc.
I/O Ports
Port B
Table 1. Port A Pin Functions
DDRA
Bit
0
PTA
Bit
X
I/O Pin
Mode
Input, Hi-Z
Accesses
to DDRA
Read/Write
DDRA[7:0]
Accesses to PTA
Read
Pin
Write
PTA[7:0](1)
1
X
Output
DDRA[7:0] PTA[7:0]
PTA[7:0]
X = don’t care
Hi-Z = high impedance
1. Writing affects data register, but does not affect input.
Port B is an 8-bit special function port that shares all of its pins with the
analog-to-digital converter.
The port B data register contains a data latch for each of the eight port
B pins.
Address: $0001
Bit 7
6
5
4
3
2
1
Read:
PTB7
Write:
PTB6
PTB5
PTB4
PTB3
PTB2
PTB1
Reset:
Unaffected by Reset
Alternate
Functions:
ATD7
ATD6
ATD5
ATD4
ATD3
ATD2
ATD1
Figure 5. Port B Data Register (PTB)
Bit 0
PTB0
ATD0
PTB[7:0] — Port B Data Bits
These read/write bits are software programmable. Data direction of
each port B pin is under the control of the corresponding bit in data
direction register B. Reset has no effect on port B data.
5-ioports
MOTOROLA
MC68HC08AZ60 — Rev 1.0
I/O Ports
283
For More Information On This Product,
Go to: www.freescale.com