29.01.2013 Views

uPD780065 Subseries PUM - Renesas Electronics

uPD780065 Subseries PUM - Renesas Electronics

uPD780065 Subseries PUM - Renesas Electronics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 4 PORT FUNCTIONS<br />

4.2.2 Port 2<br />

Port 2 is an 8-bit input/output port with output latch. Input mode/output mode can be specified for pins P20 to P27<br />

in 1-bit units with port mode register 2 (PM2). For pins P20 to P27, an on-chip pull-up resistor can be specified in<br />

1-bit units with pull-up resistor option register 2 (PU2).<br />

This port can also be used as the timer input/output.<br />

RESET input sets port 2 to input mode.<br />

Figure 4-3 shows a block diagram of port 2.<br />

Internal bus<br />

WRPU<br />

RD<br />

WRPORT<br />

WRPM<br />

PU: Pull-up resistor option register<br />

PM: Port mode register<br />

RD: Port 2 read signal<br />

WR: Port 2 write signal<br />

Figure 4-3. Block Diagram of P20 to P27<br />

PU20 to PU27<br />

Output latch<br />

(P20 to P27)<br />

PM20 to PM27<br />

Alternate functions<br />

Selector<br />

Preliminary User’s Manual U13420EJ2V0UM00<br />

VDD0<br />

P-ch<br />

P20/TI00/TO0,<br />

P21/TI01,<br />

P22/TI50/TO50,<br />

P23/TI51/TO51,<br />

P24 to P27<br />

75

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!