121
8.2
Port 1
8.2.1
Overview
Port 1 is an 8-bit I/O port. Figure 8.1 shows its pin configuration.
P1
7
/
IRQ
3
/TMIF
P1
6
/
IRQ
2
/TMCIY
P1
5
/
IRQ
1
P1
4
/PWM
P1
3
/TMIG
P1
2
/TMOFH
P1
1
/TMOFL
P1
0
/TMOW
Port 1
Figure 8.1 Port 1 Pin Configuration
8.2.2
Register Configuration and Description
Table 8.2 shows the port 1 register configuration.
Table 8.2
Port 1 Registers
Name
Abbrev.
R/W
Initial Value
Address
Port data register 1
PDR1
R/W
H'00
H'FFD4
Port control register 1
PCR1
W
H'00
H'FFE4
Port pull-up control register 1
PUCR1
R/W
H'00
H'FF9C
Port mode register 1
PMR1
R/W
H'10
H'FF98