Rev. 1.0, 02/00, page 204 of 1141
10.5
Port 3
10.5.1
Overview
Port 3 is an 8-bit I/O port. Table 10.11 shows the port 3 configuration.
Port 3 consists of pins that are used both as standard I/O ports (P37 to P30) and timer J timer
output (TMO), buzzer output (BUZZ), 8-bit PWM outputs (PWM3 to PWM0), SCI2 strobe output
(STRB), or chip select input (
&6
). It is switched by port mode register 3 (PMR3) and port control
register 3 (PCR3).
Port 3 can select the MOS pull-up function.
Table 10.11 Port 3 Configuration
Port
Function
Alternative Function
P37 (standard I/O port)
TMO (timer J timer output)
P36 (standard I/O port)
BUZZ (timer J buzzer output)
P35 (standard I/O port)
PWM3 (8-bit PWM output)
P34 (standard I/O port)
PWM2 (8-bit PWM output)
P33 (standard I/O port)
PWM1 (8-bit PWM output)
P32 (standard I/O port)
PWM0 (8-bit PWM output)
P31 (standard I/O port)
SV2 (servo monitor output)
Port 3
P30 (standard I/O port)
SV1 (servo monitor output)
10.5.2
Register Configuration
Table 10.12 shows the port 3 register configuration.
Table 10.12 Port 3 Register Configuration
Name
Abbrev.
R/W
Size
Initial Value
Address
*
Port mode register 3
PMR3
R/W
Byte
H'00
H'FFD0
Port control register 3
PCR3
W
Byte
H'00
H'FFD3
Port data register 3
PDR3
R/W
Byte
H'00
H'FFC3
MOS pull-up select
register 3
PUR3
R/W
Byte
H'00
H'FFE3
Note:
*
Lower 16 bits of the address.