English
Language : 

MC68HC05E0 Datasheet, PDF (20/96 Pages) Motorola, Inc – High-density complementary metal oxide semiconductor (HCMOS) microcontroller unit
2.7
Port D (PD0 - PD7)
2
Port D is comprised of eight bidirectional pins (PD0 to PD7). The direction and state of each pin
is software programmable. Alternatively, Port D can be configured to provide address and control
lines for interfacing to external memory. During power-on or reset all port pins except PD0 are
defined as port inputs: PD0 is defined as an output and generates the internal bus timing signal
P02.
2.8
Port E (PE0 - PE3)
Port E is comprised of four bidirectional pins (PE0 to PE3). The direction and state of each pin is
software programmable. In addition, Port E can be configured to support the SPI and I2C-bus
functions. All pins are configured as inputs during power-on or reset.
2.9
CSROM
This active low output signal is used as a chip select for external ROM. If the XROM bit in the Timer
Control Register ($000C) is set to 1, this pin outputs a logic zero when an address in the range
$3000 to $FFFF is present on the address bus. CSROM is normally gated with P02 and is only
active during the “high” phase of P02. However, writing a logic zero to the XROM bit in the Timer
Control Register ($000C) forces CSROM to remain permanently low throughout the full memory
map ($0000-$FFFF). Clearing the XROM bit also has the effect of making all data bus lines input
only. This feature is intended for use in a two chip system (MC68HC05E0 and ROM/EPROM) and
helps minimise the amount of RFI generated by rapid switching of the bus and CSROM lines.
Note:
Although CSROM is permanently low throughout the full memory map, data on the data
bus will be ignored between addresses $0000-$01FF. This space is reserved for
internal memory in the MC68HC05E0. (The XROM bit does not affect the internal
memory map and Read and Write instructions can be executed as normal in this area.)
XROM
1
0
CSROM Pin
Data Bus
gated P02 ($3000-$FFFF) Input/Output
always 0 ($0000-$FFFF)
Input only
MOTOROLA
2-4
FUNCTIONAL PIN DESCRIPTION
MC68HC05E0