04.03.2013 Views

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

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.

Under development<br />

Preliminary document<br />

Specifications in this document are tentative and subject to change.<br />

<strong>RL78</strong>/<strong>D1A</strong> CHAPTER 4 PORT FUNCTIONS<br />

Internal bus<br />

WRPU<br />

RD<br />

WRPORT<br />

WRPM<br />

WRLCDPF<br />

Figure 4-5. Block Diagram of P04<br />

PU0<br />

PU04<br />

Alternate<br />

function<br />

P0<br />

Output latch<br />

(P04)<br />

PM0<br />

PM04<br />

Alternate<br />

function<br />

(TO04)<br />

Alternate<br />

function<br />

(TO14)<br />

Alternate<br />

function<br />

(SCK00)<br />

LCD controller/driver<br />

LCDPF0<br />

PF04<br />

Selector<br />

P0: Port register 0<br />

PU0: Pull-up resistor option register 0<br />

PM0: Port mode register 0<br />

LCDPF0: LCD port function registers 0<br />

RD: Read signal<br />

WRxx: Write signal<br />

P04/SCK00/TI04/<br />

TO04/TI14/TO14/<br />

SEG18<br />

Caution When using the alternate function TO04 or TO14, set the port latch to 0.<br />

When using the alternate function SCK00, set the port latch to 1.<br />

When using P04 as a general-purpose port, specify the port settings so that the alternate function<br />

outputs are fixed (Timer to 0 and Serial to 1).<br />

R01UH0317EJ0004 Rev. 0.04 151<br />

Feb. 22, 2013<br />

Selector<br />

EVDD<br />

P-ch

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

Saved successfully!

Ooh no, something went wrong!