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

no-image

MC68HC908JK3EMP

Manufacturer Part Number
MC68HC908JK3EMP
Description
Microcontrollers
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
12.5 Port D
MC68H(R)C908JL3E/JK3E/JK1E
MOTOROLA
NOTE:
When DDRBx is a logic 1, reading address $0001 reads the PTBx data
latch. When DDRBx is a logic 0, reading address $0001 reads the
voltage level on the pin. The data latch can always be written, regardless
of the state of its data direction bit.
of the port B pins.
Port D is an 8-bit special function port that shares two of its pins with
timer interface module, (see
analog-to-digital converter module (see
each has high current drive (25mA sink) and programmable pull-up.
PTD2, PTD3, PTD6 and PTD7 each has LED driving (sink) capability.
PTD0–PTD1 are available on MC68H(R)C908JL3E only.
Notes:
DDRB Bit
1. X = don’t care.
2. Hi-Z = high impedance.
3. Writing affects data register, but does not affect the input.
0
1
Rev. 2.0
READ DDRB ($0005)
WRITE DDRB ($0005)
WRITE PTB ($0001)
READ PTB ($0001)
PTB Bit
X
Input/Output (I/O) Ports
X
(1)
Table 12-3. Port B Pin Functions
Figure 12-8. Port B I/O Circuit
RESET
I/O Pin Mode
Input, Hi-Z
Output
Section
(2)
DDRBx
Table 12-3
PTBx
Accesses to DDRB
10.) and shares four of its pins with
Read/Write
DDRB[7:0]
DDRB[7:0]
Section
summarizes the operation
11.). PTD6 and PTD7
To Analog-To-Digital Converter
Input/Output (I/O) Ports
Read
Accesses to PTB
Pin
Pin
Technical Data
PTB[7:0]
PTB[7:0]
Write
Port D
PTBx
161
(3)

Related parts for MC68HC908JK3EMP