MC68HC05L28B MOTOROLA [Motorola, Inc], MC68HC05L28B Datasheet - Page 45
MC68HC05L28B
Manufacturer Part Number
MC68HC05L28B
Description
Flexible general-purpose microcomputer
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
1.MC68HC05L28B.pdf
(156 pages)
- Current page: 45 of 156
- Download datasheet (621Kb)
In single chip mode, the MC68HC05L28 has a total of 22 I/O lines, arranged as two 8-bit ports (A
and B) and one 6-bit port (D). Each I/O line is individually programmable as either input or output,
under the software control of the data direction registers. Port D shares various I/O configurations
with the timer and I
To avoid glitches on the output pins, data should be written to the I/O port data register before
writing ones to the corresponding data direction register bits to set the pins to output mode.
4.1
The bidirectional port lines may be programmed as inputs or outputs under software control. The
direction of each pin is normally determined by the state of the corresponding bit in the port data
direction register (DDR). Each port has an associated DDR. Any standard I/O port pin is
configured as an output if its corresponding DDR bit is set to a logic one. A pin is configured as an
input if its corresponding DDR bit is cleared.
At power-on or reset, all DDRs are cleared, configuring all port pins as inputs. The data direction
registers can be written to or read by the MCU. During the programmed output state, a read of the
data register actually reads the value of the output data latch and not the I/O pin. The operation of
the standard port hardware is shown schematically in Figure 4-1.
This is summarized in Table 4-1, which shows the effect of reading from or writing to an I/O pin in
various circumstances. Note that the read/write signal shown is internal and not available to the
user.
MC68HC05L28
Input/output programming
R/W
0
0
1
1
DDRn
2
0
1
0
1
C subsystems.
INPUT/OUTPUT PORTS
The I/O pin is in input mode. Data is written into the output data latch.
Data is written into the output data latch, and output to the I/O pin.
The state of the I/O pin is read.
The I/O pin is in output mode. The output data latch is read.
INPUT/OUTPUT PORTS
Table 4-1 I/O pin states
Action of MCU write to/read of data bit
4
MOTOROLA
TPG
4-1
4
Related parts for MC68HC05L28B
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Motorola, Inc [VOLTAGE REGULATOR]
Manufacturer:
Motorola
Datasheet:
Part Number:
Description:
6367254 MOTOROLA SC (XSTRS/R F)
Manufacturer:
MOTOROLA [Motorola, Inc]
Datasheet:
Part Number:
Description:
MC1494LMotorola, Inc [MONOLITHIC FOUR-QUADRANT MULTIPLIER]
Manufacturer:
Motorola
Datasheet:
Part Number:
Description:
MC1466LMotorola, Inc [PRECISION WIDE RANGE VOLTAGE AND CURRENT REGULATOR]
Manufacturer:
Motorola
Datasheet:
Part Number:
Description:
MC145532DWMotorola, Inc [ADPCM Transcoder]
Manufacturer:
Motorola
Datasheet:
Part Number:
Description:
Silicon Controlled Rectifiers
Manufacturer:
MOTOROLA [Motorola, Inc]
Datasheet:
Part Number:
Description:
RF Power Field Effect Transistors N-Channel Enhancement-Mode Lateral MOSFETs
Manufacturer:
MOTOROLA [Motorola, Inc]
Datasheet:
Part Number:
Description:
RF POWER FIELD EFFECT TRANSISTORS
Manufacturer:
MOTOROLA [Motorola, Inc]
Datasheet:
Part Number:
Description:
LATERAL N-CHANNEL BROADBAND RF POWER MOSFETs
Manufacturer:
MOTOROLA [Motorola, Inc]
Datasheet:
Part Number:
Description:
RF POWER FIELD EFFECT TRANSISTOR
Manufacturer:
MOTOROLA [Motorola, Inc]
Datasheet:
Part Number:
Description:
RF LOW POWER TRANSISTOR NPN SILICON
Manufacturer:
MOTOROLA [Motorola, Inc]
Datasheet:
Part Number:
Description:
PLASTIC SURFACE MOUNT ZENER DIODES 1.5 WATTS 3.3-68 VOLTS
Manufacturer:
MOTOROLA [Motorola, Inc]
Datasheet:
Part Number:
Description:
OVERVOLTAGE TRANSIENT SUPPRESSOR
Manufacturer:
MOTOROLA [Motorola, Inc]
Datasheet:
Part Number:
Description:
TMOS POWER FET 15 AMPERES 60 VOLTS
Manufacturer:
MOTOROLA [Motorola, Inc]
Datasheet:
Part Number:
Description:
TMOS POWER FET LOGIC LEVEL 19 AMPERES 30 VOLTS RDS(on) = 0.099 OHM
Manufacturer:
MOTOROLA [Motorola, Inc]
Datasheet: