91
CHAPTER 4 I/O PORTS
■
Block Diagram of Port 4
Figure 4.4-1 Block Diagram of Port 4
■
Registers of Port 4
The registers PDR4, DDR4, and OUT4 are associated with port 4.
The bits of these registers correspond to the pins of port 4 in one-to-one correspondence.
Table 4.4-2 tabulates the correspondence between the pins and the bits of the port 4 registers.
DDR
Pch
Nch
PDR
OUT
Inter
n
a
l d
a
t
a
bu
s
PDR re
a
d
PDR re
a
d
(when re
a
d-modify-write i
s
performed)
O
u
tp
u
t l
a
tch
PDR write
DDR write
S
top mode
(
S
PL = 1)
OUT re
a
d
OUT write
A/D converter
ch
a
nnel
s
elect
To A/D
converter'
s
a
n
a
log inp
u
t
A/D converter en
ab
le
b
it
Pin
s
S
top mode (
S
PL = 1)
DDR re
a
d
Table 4.4-2 Correspondence between the Pins and the Bits of the Port 4 Register
Port name
Bits of associated registers and corresponding pins
Port 4
PDR4, DDR4, OUT4
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
Pin corresponding to bit
-
-
-
-
P43
P42
P41
P40
Summary of Contents for F2MC-8L F202RA
Page 2: ......
Page 4: ......
Page 32: ...16 CHAPTER 1 OVERVIEW ...
Page 90: ...74 CHAPTER 3 CPU ...
Page 142: ...126 CHAPTER 5 TIME BASE TIMER POPW A RETI ENDS END ...
Page 150: ...134 CHAPTER 6 WATCHDOG TIMER ...
Page 176: ...160 CHAPTER 7 8 BIT PWM TIMER ...
Page 220: ...204 CHAPTER 8 8 16 BIT CAPTURE TIMER COUNTER ...
Page 240: ...224 CHAPTER 9 12 BIT PPG TIMER ...
Page 274: ...258 CHAPTER 11 EXTERNAL INTERRUPT CIRCUIT 2 LEVEL ...
Page 362: ...346 CHAPTER 15 BUZZER OUTPUT ...
Page 390: ...374 CHAPTER 17 FLASH MEMORY ...
Page 419: ...403 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 434: ...418 INDEX ...
Page 436: ......