XC68HC705JJ7 Motorola, XC68HC705JJ7 Datasheet - Page 139

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
8.12 Port B Interaction with Analog Inputs
8.13 Port B Pins as Inputs
8.14 Port B Pulldowns
MC68HC705JJ7 • MC68HC705JP7 — REV 4
MOTOROLA
by a single V
the internal V
N
case the OPT bit must be set in the COPR located at $1FF0 as in
Figure 8-12
to switch the VOFF bit during conversions, since the offset is controlled
by the HOLD and DHOLD bits when the VOFF is active. Refer to
8.3 Analog Multiplex Register
decoding of the sample and hold circuit.
The analog subsystem is connected directly to the port B I/O pins without
any intervening gates. It is, therefore, possible to measure the voltages
on port B pins set as inputs or to have the analog voltage measurements
corrupted by port B pins set as outputs.
All the port B pins will power up as inputs or return to inputs after a reset
of the device since the bits in the port B data direction register will be
reset.
If any port B pins are to be used for analog voltage measurements, they
should be left as inputs. In this case, not only can the voltage on the pin
be measured, but the logic state of the port B pins can be read from
location $0002.
All the port B pins have internal software programmable pulldown
devices available dependent on the state of the SWPDI bit in the mask
option register (MOR).
If the pulldowns are enabled, they will create an approximate 100 A
load to any analog source connected to the pin. In some cases, the
analog source may be able to supply this current without causing any
OFF
as described in
and the VOFF bit must be set in the ASR. It is not necessary
SS
SS
return pin. This offset also provides a means to measure
Analog Subsystem
level regardless of the comparator offset to determine
8.7 Voltage Measurement
for more details on the design and
Port B Interaction with Analog Inputs
Methods. In either
Advance Information
Analog Subsystem
139

Related parts for XC68HC705JJ7