Port B Dedicated I/O Functions; Port B Pull-Up Enable Register; Table 10-9 Port B Dedicated Function Assignments - Motorola MC68VZ328 User Manual

Motorola mc68vz328 integrated processor user's manual
Table of Contents

Advertisement

Programming Model
10.4.2.3

Port B Dedicated I/O Functions

The eight PBDATA lines are multiplexed with the chip-select, DRAM control, TIN/TOUT, and PWM
dedicated I/O signals whose assignments are shown in Table 10-9.
Bit
0
1
2
3
4
5
6
7
Bits 1–5 operate as chip-select signals or DRAM signals. Signal selection is controlled by bit 9 (DRAM) in
the chip-select D (CSD) register, which is described in Section 6.3.3, "Chip-Select Registers," on page 6-8.
Bit 0 is used only as D0 or CSB0. No additional programming is required.
The TIN/TOUT line can be specified as either timer-input or timer-output by programming bit 6 in the
PBDIR register. Clearing the bit makes the line TIN. Setting the bit to 1 makes it TOUT. Unlike other port
register pins, the TOUT/TIN/PB6 pin direction is still controlled by the DIR6 bit in the Port B register even
though the pin is assigned to the GP timers. Refer to Section 12.1.4, "TOUT/TIN/PB6 Pin," on page 12-3
for details about the operation and programming of the pin.
The PWMO1 signal is an output signal resulting from the logical operation (AND or OR) of both the
PWM 1 and PWM 2 modules. Bits 3–2 (P[1:0]) of the peripheral control register (PCR) select the logic
used for combining the modules. The PB7/PWMO1 pin defaults to a GPIO input pulled high. Refer to
Chapter 15, "Pulse-Width Modulator 1 and 2," for additional information.
10.4.2.4

Port B Pull-up Enable Register

The Port B pull-up enable register (PBPUEN) controls the pull-up resistors for each line in Port B. The
settings for the bit positions are shown in Table 10-10 on page 10-11.
10-10
Table 10-9. Port B Dedicated Function Assignments
GPIO Function
Data bit 0
Data bit 1
Data bit 2
Data bit 3
Data bit 4
Data bit 5
Data bit 6
Data bit 7
MC68VZ328 User's Manual
Dedicated I/O Functions
CSB0
CSB1/SDWE
CSC0/RAS0
CSC1/RAS1
CSD0/CAS0
CSD1/CAS1
TIN/TOUT
PWMO1

Advertisement

Table of Contents
loading

Table of Contents