www.DataSheet4U.com
CHAPTER 6 PORT FUNCTIONS
139
6.2.4 Port 2 (
µ
PD78014Y Subseries)
Port 2 is an 8-bit input/output port with output latch. P20 to P27 pins can be set to the input mode/output mode
bit-wise with the port mode register 2 (PM2). When P20 to P27 pins are used as input ports, an on-chip pull-up resistor
can be connected to them in 8-bit units with a pull-up resistor option register (PUO).
Alternate functions include serial interface data input/output, clock input/output, automatic transmit/receive busy
input, and strobe output.
RESET input sets port 2 to input mode.
Figures 6-8 and 6-9 show a block diagram of port 2.
Cautions
1.
If used as alternate function pin, set the input/output latch according to the functions. Refer
to Figure 16-6 Serial Operating Mode Register 0 Format and Figure 17-3 Serial Operating Mode
Register 1 Format for setting.
2.
When the status of pins is read in the SBI mode, set PM2n of the PM2 to 1 (n = 5 or 6) (refer
to 16.4.3 SBI mode operation (10) Distinction method of slave busy state).
Figure 6-8. P20, P21, P23 to P26 Block Diagrams (
µ
PD78014Y Subseries)
PUO : Pull-up resistor option register
PM
: Port mode register
RD
: Port 2 read signal
WR
: Port 2 write signal
WR
PUO
RD
WR
PORT
WR
PM
PUO2
Output Latch
(P20, P21,
P23 to P26)
PM20, PM21,
PM23 to PM26
Selector
V
DD
P-ch
P20/SI1,
P21/SO1,
P23/STB,
P24/BUSY,
P25/SI0/SB0/
SDA0,
P26/SO0/SB1/
SDA1
Internal Bus
Alternate
Function
Содержание 78011BGC AB8 Series
Страница 2: ...www DataSheet4U com 2 MEMO ...
Страница 8: ...www DataSheet4U com 8 MEMO ...
Страница 22: ...www DataSheet4U com 22 MEMO ...
Страница 30: ...www DataSheet4U com 30 MEMO ...
Страница 34: ...www DataSheet4U com 34 MEMO ...
Страница 62: ...www DataSheet4U com CHAPTER 2 OUTLINE µPD78014Y Subseries 62 MEMO ...
Страница 78: ...www DataSheet4U com CHAPTER 3 PIN FUNCTION µPD78014 Subseries 78 MEMO ...
Страница 94: ...www DataSheet4U com CHAPTER 4 PIN FUNCTION µPD78014Y Subseries 94 MEMO ...
Страница 170: ...www DataSheet4U com CHAPTER 7 CLOCK GENERATOR 170 MEMO ...
Страница 222: ...www DataSheet4U com CHAPTER 9 8 BIT TIMER EVENT COUNTER 222 MEMO ...
Страница 230: ...www DataSheet4U com CHAPTER 10 WATCH TIMER 230 MEMO ...
Страница 262: ...www DataSheet4U com CHAPTER 14 A D CONVERTER 262 MEMO ...
Страница 318: ...www DataSheet4U com CHAPTER 15 SERIAL INTERFACE CHANNEL 0 µPD78014 Subseries 318 MEMO ...
Страница 408: ...www DataSheet4U com CHAPTER 16 SERIAL INTERFACE CHANNEL 0 µPD78014Y Subseries 408 MEMO ...
Страница 446: ...www DataSheet4U com CHAPTER 17 SERIAL INTERFACE CHANNEL 1 446 MEMO ...
Страница 472: ...www DataSheet4U com CHAPTER 18 INTERRUPT FUNCTIONS AND TEST FUNCTION 472 MEMO ...
Страница 502: ...www DataSheet4U com CHAPTER 22 µPD78P014 78P014Y 502 MEMO ...
Страница 520: ...www DataSheet4U com CHAPTER 23 INSTRUCTION SET 520 MEMO ...