MC68HC908JK3EMP MOTOROLA [Motorola, Inc], MC68HC908JK3EMP Datasheet - Page 159

no-image

MC68HC908JK3EMP

Manufacturer Part Number
MC68HC908JK3EMP
Description
Microcontrollers
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
12.4 Port B
12.4.1 Port B Data Register (PTB)
MC68H(R)C908JL3E/JK3E/JK1E
MOTOROLA
Notes:
PTAPUE Bit
1. X = Don’t care.
2. I/O pin pulled to V
3. Writing affects data register, but does not affect input.
4. Hi-Z = High Impedance.
X
1
0
Alternative Function:
DDRA
Bit
0
0
1
DD
Address:
Port B is an 8-bit special function port that shares all eight of its port pins
with the analog-to-digital converter (ADC) module, see
The port B data register contains a data latch for each of the eight port B
pins.
PTB[7:0] — Port B Data Bits
Table 12-2
by internal pull-up.
Reset:
Read:
Write:
PTA Bit
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.
X
X
X
(1)
Rev. 2.0
Table 12-2. Port A Pin Functions
$0001
PTB7
ADC7
Bit 7
Figure 12-6. Port B Data Register (PTB)
Input, Hi-Z
Input, V
I/O Pin Mode
summarizes the operation of the port A pins.
Output
Input/Output (I/O) Ports
PTB6
ADC6
DD
6
(2)
(4)
Accesses to DDRA
ADC5
PTB5
5
DDRA[6:0]
DDRA[6:0]
DDRA[6:0]
Read/Write
Unaffected by reset
ADC4
PTB4
4
ADC3
PTB3
3
PTA[6:0]
Read
Pin
Pin
Accesses to PTA
ADC2
PTB2
2
Input/Output (I/O) Ports
PTA[6:0]
PTA[6:0]
Section 11.
PTA[6:0]
Write
ADC2
PTB1
1
Technical Data
(3)
(3)
PTB0
ADC0
Bit 0
Port B
159

Related parts for MC68HC908JK3EMP