Motorola MC68VZ328 Manuale Utente

Pagina di 376
Programming Model
I/O Ports
10-23
10.4.6.4   
Port E Pull-up Enable Register
The Port E pull-up enable register (PEPUEN) controls the pull-up resistors for each line in Port E. The 
settings for the bit positions of the PEPUEN register are shown in Table 10-29.
PEPUEN
Port E Pull-up Enable Register
0x(FF)FFF422
10.4.6.5   
Port E Select Register
The Port E select register (PESEL) determines if a bit position in the Port E data register (PEDATA) is 
assigned as a GPIO or to a dedicated I/O function. The settings for the bit positions of the PEDIR register 
are shown in Table 10-30.
PESEL
Port E Select Register
0x(FF)FFF423
6
Data bit 6
RTS1
7
Data bit 7
CTS1
BIT  7
6
5
4
3
2
1
BIT  0
PU7
PU6
PU5
PU4
PU3
PU2
PU1
PU0
TYPE
rw
rw
rw
rw
rw
rw
rw
rw
RESET
1
1
1
1
1
1
1
1
0xFF
Table 10-29.   Port E Pull-up Enable Register Description
Name Description 
Setting
PUx
Bits 7–0
Pull-up—These bits enable the pull-up resis-
tors on the port 
0 = Pull-up resistors are disabled
1 = Pull-up resistors are enabled
BIT  7
6
5
4
3
2
1
BIT  0
SEL7
SEL6
SEL5
SEL4
SEL3
SEL2
SEL1
SEL0
TYPE
rw
rw
rw
rw
rw
rw
rw
rw
RESET
1
1
1
1
1
1
1
1
0xFF
Table 10-30.   Port E Select Register Description
Name Description 
Setting
SELx
Bits 7–0
Select—These bits select whether the internal chip 
function or I/O port signals are connected to the pins. 
0 = The dedicated function pins are connected.
1 = The I/O port function pins are connected.
Table 10-28.   Port E Dedicated Function Assignments (Continued)
Bit
 GPIO Function
Dedicated I/O Function