XC908AS60ACFU Motorola Semiconductor Products, XC908AS60ACFU Datasheet - Page 357

no-image

XC908AS60ACFU

Manufacturer Part Number
XC908AS60ACFU
Description
MC68HC908AZ60A, MC68HC908AS60A Hcmos Microcontroller Unit Technical Data
Manufacturer
Motorola Semiconductor Products
Datasheet
22.4 Port B
22.4.1 Port B Data Register
MC68HC908AZ60A — Rev 2.0
MOTOROLA
Functions:
Alternate
Address:
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.
PTB[7:0] — Port B Data Bits
Reset:
X = don’t care
Hi-Z = high impedance
1. Writing affects data register, but does not affect input.
Read:
Write:
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.
DDRA
Bit
0
1
$0001
PTB7
ATD7
Bit 7
Figure 22-5. Port B Data Register (PTB)
PTA
Bit
X
X
Input/Output Ports
ATD6
PTB6
6
Table 22-1. Port A Pin Functions
Input, Hi-Z
ATD5
PTB5
I/O Pin
Output
Mode
5
Unaffected by Reset
PTB4
ATD4
4
Read/Write
DDRA[7:0]
DDRA[7:0]
Accesses
to DDRA
PTB3
ATD3
3
PTB2
ATD2
PTA[7:0]
2
Read
Accesses to PTA
Pin
Input/Output Ports
ATD1
PTB1
1
Technical Data
PTA[7:0]
PTA[7:0]
Write
ATD0
PTB0
Bit 0
Port B
(1)
357

Related parts for XC908AS60ACFU