
I/O Ports
Port E
MC68HC08AZ32A — Rev 1.0
Technical Data
MOTOROLA
I/O Ports
307
19.7 Port E
Port E is an 8-bit special function port that shares two of its pins with the
timer interface module (TIMA), two of its pins with the serial
communications interface module (SCI) and four of its pins with the
serial peripheral interface module (SPI).
19.7.1 Port E Data Register (PTE)
The port E data register contains a data latch for each of the eight port
E pins.
PTE[7:0] — Port E Data Bits
PTE[7:0] are read/write, software programmable bits. Data direction
of each port E pin is under the control of the corresponding bit in data
direction register E.
SPSCK — SPI Serial Clock
The PTE7/SPSCK pin is the serial clock input of a SPI slave module
and serial clock output of a SPI master modules. When the SPE bit is
clear, the PTE7/SPSCK pin is available for general-purpose I/O.
MOSI — Master Out/Slave In
The PTE6/MOSI pin is the master out/slave in terminal of the SPI
module. When the SPE bit is clear, the PTE6/MOSI pin is available for
general-purpose I/O. See
SPI Control Register (SPCR)
on page
252.
Bit 7
6
5
4
3
2
1
Bit 0
PTE
$0008
Read:
PTE7
PTE6
PTE5
PTE4
PTE3
PTE2
PTE1
PTE0
Write:
Reset:
Unaffected by reset
Alternate
Function:
SPSCK
MOSI
MISO
SS
TACH1
TACH0
RxD
TxD
Figure 19-13. Port E Data Register (PTE)
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.