Port E; Port E Data Register (Pte) - Motorola MC68HC908AB32 Technical Data Manual

Hcmos microcontroller unit
Table of Contents

Advertisement

Input/Output (I/O) Ports

17.7 Port E

17.7.1 Port E Data Register (PTE)

Alternative Function:
Technical Data
326
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).
The port E data register contains a data latch for each of the eight port E
pins.
Address:
$0008
Bit 7
6
Read:
PTE7
PTE6
Write:
Reset:
SPSCK
MOSI
Figure 17-15. Port E Data Register (PTE)
PTE[7:0] — Port E Data Bits
These read/write bits are software programmable. Data direction of
each port E pin is under the control of the corresponding bit in data
direction register E. Reset has no effect on port E data.
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. See
16.14.1 SPI Control
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
Input/Output (I/O) Ports
5
4
3
PTE5
PTE4
PTE3
Unaffected by reset
MISO
SS
TACH1
Register.
16.14.1 SPI Control
2
1
Bit 0
PTE2
PTE1
PTE0
TACH0
RxD
TxD
Register.
MC68HC908AB32
Rev. 1.0
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents