79
CHAPTER 5 PORT FUNCTIONS
5.2.5 Port 4
Port 4 is a 5-bit input/output port with output latch. P40 to P44 pins can specify the input mode/output mode in
1-bit units with the port mode register 4 (PM4).
Alternate functions also include timer input/output.
RESET input sets port 4 to input mode.
Figure 5-6 shows a block diagram of port 4.
Figure 5-6. P40 to P44 Block Diagram
PM
: Port mode register
RD
: Port 4 read signal
WR
: Port 4 write signal
RD
P40/TI00 to P42/TI02
P43/TIO2
P44/TIO3
WR
PORT
WR
PM
Output latch
(P40 to P44)
PM40 to PM44
Alternate
functions
Selector
Internal bus
Summary of Contents for mPD780973 Series
Page 2: ...2 MEMO ...
Page 66: ...66 MEMO ...
Page 98: ...98 MEMO ...
Page 138: ...138 MEMO ...
Page 164: ...164 MEMO ...
Page 182: ...182 MEMO ...
Page 204: ...204 MEMO ...
Page 244: ...244 MEMO ...
Page 262: ...262 MEMO ...
Page 278: ...278 MEMO ...
Page 290: ...290 MEMO ...