MC68HC908JK3 MOTOROLA [Motorola, Inc], MC68HC908JK3 Datasheet - Page 153
![no-image](/images/no-image-200.jpg)
MC68HC908JK3
Manufacturer Part Number
MC68HC908JK3
Description
MC68HC908JK1
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
1.MC68HC908JK3.pdf
(210 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC908JK3CP
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Part Number:
MC68HC908JK3ECDW
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
MC68HC908JK3ECDWE
Manufacturer:
INTERSIL
Quantity:
2 900
Part Number:
MC68HC908JK3ECP
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
MC68HC908JK3ECPE
Manufacturer:
ITE
Quantity:
10 000
Part Number:
MC68HC908JK3ECPE
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
MC68HC908JK3EMDWE
Manufacturer:
Freescale
Quantity:
218
Part Number:
MC68HC908JK3EMDWE
Manufacturer:
FREESCALE
Quantity:
20 000
12.5 Port B
12.5.1 Port B Data Register (PTB)
12.5.2 Data Direction Register B (DDRB)
MC68H(R)C908JL3
MOTOROLA
Alternative Function:
—
Rev. 1.0
Address:
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
Data direction register B determines whether each port B pin is an input
or an output. Writing a logic one to a DDRB bit enables the output buffer
for the corresponding port B pin; a logic zero disables the output buffer.
Reset:
Reset:
Read:
Write:
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.
DDRB7
$0001
$0005
PTB7
ADC7
Bit 7
Bit 7
Figure 12-6. Port B Data Register (PTB)
0
Figure 12-7. Data Direction Register B (DDRB)
DDRB6
PTB6
ADC6
6
6
0
I/O Ports
DDRB5
ADC5
PTB5
5
5
0
Unaffected by reset
DDRB4
ADC4
PTB4
4
4
0
DDRB3
ADC3
PTB3
3
3
0
DDRB2
ADC2
PTB2
2
2
0
Section 11.
DDRB1
ADC2
PTB1
1
1
0
Technical Data
I/O Ports
DDRB0
PTB0
ADC0
Bit 0
Bit 0
Port B
0
153