XC68HC705JJ7 Motorola, XC68HC705JJ7 Datasheet - Page 96

no-image

XC68HC705JJ7

Manufacturer Part Number
XC68HC705JJ7
Description
MICROCONTROLLER
Manufacturer
Motorola
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
XC68HC705JJ7CP
Manufacturer:
ON
Quantity:
6 233
Part Number:
XC68HC705JJ7CP
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Parallel Input/Output
7.4.7 PB5/SDO Logic
Advance Information
96
Port B
PB0
PB1
PB2
PB3
PB4
1. DDRB can always be read or written.
2. Don’t care
Pin
CMP1 COE1 OPT in COPR OLVL
X
X
X
X
X
0
1
(2)
(2)
(2)
(2)
(2)
Comparator 1
X
X
X
X
0
1
1
(2)
(2)
(2)
(2)
X
X
X
The PB5/SDO pin can be used as a simple I/O port pin or be controlled
by the SIOP serial interface as shown in
the PB5 pin are summarized in
When using the PB5/SDO pin, these interactions must be noted:
Table 7-2. Port B Pin Functions — PB0–PB4
0
1
1
1
(2)
(2)
(2)
1. If the SIOP function is required, then the SPE bit in the SCR must
2. If the SIOP function is in control of the PB5/SDO pin, the DDRB5
Control Bits
be set. This causes the PB5/SDO pin buffer to be enabled and to
be driven by the serial data output (SDO) from the SIOP. The
pulldown device will be disabled in this case.
and PB5 data register bits are still accessible to the CPU and can
be altered or read without affecting the SIOP functionality.
However, if the DDRB5 bit is cleared, reading the PB5 data
register will return the current state of the PB5/SDO pin.
Timer
X
X
X
0
0
0
1
(2)
(2)
(2)
Parallel Input/Output
in MOR
SWPDI
X
X
X
X
X
X
0
0
1
0
0
1
(2)
(2)
(2)
(2)
(2)
(2)
PDIBx DDRBx
X
X
X
X
X
X
X
X
0
1
0
1
(2)
(2)
(2)
(2)
(2)
(2)
(2)
(2)
Port B
Table
MC68HC705JJ7 • MC68HC705JP7 — REV 4
0
0
0
1
0
0
0
1
1
1
1
1
.
(1)
7-3.
PORTB Access
Figure
Read
Data
Data
Data
Data
(Pin or Data
Pin
Pin
Pin
Pin
Pin
Pin
1
1
Register)
7-10. The operations of
Write Pulldown
Data
Data
Data
Data
Data
Data
Data
Data
Data
Data
Data
Data
Port B Pins
On
Off
Off
Off
On
Off
Off
Off
Off
Off
Off
Off
Result on
MOTOROLA
PB4 out
PB4 out
PB4 out
PBx out
PBx in
PBx in
PBx in
PB4 in
PB4 in
PB4 in
Pin
1
1

Related parts for XC68HC705JJ7