242
9.4
Port 3
9.4.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,
TxD1, RxD1, SCK1), and external interrupt input pins (
IRQ4
,
IRQ5
). 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. 9-3.
Port 3 pins
P37
P36
P35
P34
P33
P32
P31
P30
Port 3
(I/O)
(I/O)
(I/O) / SCK1 (I/O) /
IRQ5
(input)
(I/O) / RxD1 (input)
(I/O) / TxD1 (output)
(I/O) / SCK0 (I/O) /
IRQ4
(input)
(I/O) / RxD0 (input)
(I/O) / TxD0 (output)
Figure 9-3 Port 3 Pin Functions
9.4.2
Register Configuration
Table 9-6 shows the configuration of port 3 registers.
Table 9-6
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
Notes:
*
Lower 16 bits of the address.
Содержание H8S/2645
Страница 4: ......
Страница 16: ......
Страница 58: ...26 ...
Страница 110: ...78 ...
Страница 120: ...88 ...
Страница 132: ...100 ...
Страница 160: ...128 ...
Страница 172: ...140 ...
Страница 235: ...203 Transfer SAR or DAR DAR or SAR Block area First block Nth block Figure 8 8 Memory Mapping in Block Transfer Mode ...
Страница 418: ...386 ...
Страница 444: ...412 ...
Страница 530: ...498 ...
Страница 562: ...530 ...
Страница 642: ...610 ...
Страница 662: ...630 ...
Страница 688: ...656 ...
Страница 756: ...724 ...
Страница 784: ...752 ...
Страница 812: ...780 ...
Страница 837: ...805 A 2 Instruction Codes Table A 2 shows the instruction codes ...
Страница 1152: ...1120 ...