10-22
MC68VZ328 User’s Manual
Programming Model
10.4.6.2
Port E Data Register
The settings for the bit positions of the PEDATA register are shown in Table 10-27.
PEDATA
Port E Data Register
0x(FF)FFF421
Port E is multiplexed with the serial peripheral interface (SPI), UART, and bus control signals. These pins
can be programmed as GPIO when the SPI, UART, and bus control features are not used. See Chapter 13,
“Serial Peripheral Interface 1 and 2,” and Section 2.6, “Bus Control Signals,” on page 2-6 for more
detailed information.
These bits control or report the data on the pins while the associated SELx bits
are high. While the DIRx
bits are high (output), the Dx bits control the pins. While the DIRx bits are low (input), the Dx bits report
the signal driving the pins. The Dx bits can be written at any time. Bits that are configured as inputs will
accept the data, but the data written to each cannot be accessed until the corresponding pin is configured as
an output. The actual value on the pin is reported when these bits are read, regardless of whether they are
configured as input or output.
10.4.6.3
Port E Dedicated I/O Functions
The eight PEDATA lines are multiplexed with the SPI and UART dedicated I/O signals whose
assignments are shown in Table 10-28.
BIT 7
6
5
4
3
2
1
BIT 0
D7
D6
D5
D4
D3
D2
D1
D0
TYPE
rw
rw
rw
rw
rw
rw
rw
rw
RESET
1
1
1
1
1
1
1
1
0xFF*
*Actual bit value depends on external circuits connected to pin.
Table 10-27. Port E Data Register Description
Name Description
Setting
Dx
Bits 7–0
Data—These bits reflect the
status of the I/O signal in an
8-bit system.
0 = Drives the output signal low when DIRx is set to 1 or the
external signal is low when DIRx is set to 0
1 = Drives the output signal high when DIRx is set to 1 or the
external signal is high when DIRx is set to 0
Table 10-28. Port E Dedicated Function Assignments
Bit
GPIO Function
Dedicated I/O Function
0
Data bit 0
SPITXD
1
Data bit 1
SPIRXD
2
Data bit 2
SPICLK2
3
Data bit 3
DWE/UCLK
4
Data bit 4
RXD1
5
Data bit 5
TXD1
Содержание MC68VZ328
Страница 1: ...MC68VZ328UM D Rev 0 02 2000 MC68VZ328 Integrated Processor User s Manual ...
Страница 14: ...xiv MC68VZ328 User s Manual ...
Страница 18: ...xviii MC68VZ328 User s Manual ...
Страница 26: ...xxvi MC68VZ328 User s Manual ...
Страница 42: ...1 12 MC68VZ328 User s Manual Modules of the MC68VZ328 ...
Страница 54: ...2 12 MC68VZ328 User s Manual In Circuit Emulation ICE Signals ...
Страница 68: ...3 14 MC68VZ328 User s Manual Programmer s Memory Map ...
Страница 110: ...6 22 MC68VZ328 User s Manual Programming Model ...