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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Under development<br />

Preliminary document<br />

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

<strong>RL78</strong>/<strong>D1A</strong> CHAPTER 2 PIN FUNCTIONS<br />

2.2.4 P30 to P37 (port3)<br />

48-pin products: P30, P31, P33 function as a 3-bit I/O port.<br />

64-pin products: P30 to P33 function as a 4-bit I/O port.<br />

80-pin products: P30 to P37 function as an 8-bit I/O port.<br />

100-pin products: P30 to P37 function as an 8-bit I/O port.<br />

These pins also function as timer I/O, serial interface data I/O, and segment signal outputs for the LCD controller/driver.<br />

Input to the P31 pin can be specified through a normal Schmitt3 input buffer or a Schmitt1 input buffer, using port input<br />

mode register 1 (PIM3).<br />

Output from the P30 and P31 pins can be specified as normal CMOS output or N-ch open-drain output (VDD tolerance)<br />

in 1-bit units, using port output mode register (POM).<br />

The following operation modes can be specified in 1-bit units.<br />

(1) Port mode<br />

48-pin products: P30, P31, P33 function as a 3-bit I/O port.<br />

64-pin products: P30 to P33 function as a 4-bit I/O port.<br />

80-pin products: P30 to P37 function as an 8-bit I/O port.<br />

100-pin products: P30 to P37 function as an 8-bit I/O port.<br />

P30 to P37 can be set to input or output port in 1-bit units using port mode register 3 (PM3). Use of an on-chip pull-up<br />

resistor can be specified by pull-up resistor option register 3 (PU3).<br />

(2) Control mode<br />

P30 to P37 function as timer I/O, serial interface data I/O, and segment signal outputs for the LCD controller/driver.<br />

(a) TI20 (P30) to TI27 (P37)<br />

These are the pins for inputting an external count clock/capture trigger to 16-bit timers 20 to 27.<br />

(b) TO20 (P30) to TO27(P37)<br />

These are the timer output pins of 16-bit timers 20 to 27.<br />

(c) SO00 (P32 in 80-pin and 100-pin product)<br />

This is a serial data output pin of serial interface CSI00.<br />

(d) SI00 (P33 in 80-pin and 100-pin product)<br />

This is a serial data input pin of serial interface CSI00.<br />

(e) SCK00 (P34)<br />

This is the serial clock I/O pin of serial interface CSI00.<br />

(f) SCL11 (P30)<br />

This is a serial clock output pin of serial interface for simplified I2C.<br />

(g) SDA11 (P31)<br />

This is a serial data I/O pin of serial interface for simplified I2C.<br />

(h) SEG6 (P30) to SEG13 (P37)<br />

These are the segment signal output pins for the LCD controller/driver.<br />

R01UH0317EJ0004 Rev. 0.04 42<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!