347
10.3
Port 3
10.3.1
Overview
Port 3 is an 8-bit I/O port. Port 3 is a multi-purpose port for SCI I/O pins (TxD0, RxD0, SCK0,
IrTxD, IrRxD, TxD1, RxD1, SCK1, TxD4, RxD4, SCK4), external interrupt input pins (
IRQ4
,
IRQ5
) and IIC I/O pins (SCL0, SDA0, SCL1, SDA1). All of the port 3 pin functions have the
same operating mode. The configuration for each of the port 3 pins is shown in figure 10-2.
P37
P36
P35
/ SCK4 (input / output) / SCL0 (input / output) / IRQ5 (input)
P34
P33
P32
P31
P30
(input / output) /
(input / output) /
(input / output) /
(input / output) /
(input / output) /
(input / output) /
(input / output) /
(input / output) /
TxD4 (output)
RxD4 (input)
SCK1 (input / output)
RxD1 (input) / SDA0 (input / output)
TxD1 (input) / SCL1 (input / output)
SCK0 (input / output) / SDA1 (input / output) / IRQ4 (input)
RxD0 (input) / IrRxD (input)
TxD0 (output) / IrTxD (output)
Port 3 pins
Port 3
Figure 10-2 Port 3 Pin Functions
10.3.2
Register Configuration
Table 10-4 shows the configuration of port 3 registers.
Table 10-4 Port 3 Register Configuration
Name
Abbreviation
R/W
Initial Value
Address
*
Port 3 data direction register
P3DDR
W
H'00
H'FE32
Port 3 data register
P3DR
R/W
H'00
H'FF02
Port 3 register
PORT3
R
Undefined
H'FFB2
Port 3 open drain control register
P3ODR
R/W
H'00
H'FE46
Note:
*
Indicates the lower-place 16 bits.
Содержание H8S/2631
Страница 28: ...xviii Appendix G Package Dimensions 1154 ...
Страница 341: ...316 Transfer SAR or DAR DAR or SAR Block area First block Nth block Figure 9 8 Memory Mapping in Block Transfer Mode ...
Страница 918: ...905 ø DREQ0 DREQ1 tDRQS tDRQH Figure 25 19 DMAC DREQ Input Timing ...
Страница 955: ...943 A 2 Instruction Codes Table A 2 shows the instruction codes ...