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 />

(a) TI20 (P60), TI21 (P61), TI24 (P66), TI25 (P65), TI26 (P63) and TI27 (P62)<br />

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

(b) TO20 (P60), TO21 (P61), TO24 (P66), TO25 (P65), TO26 (P63) and TO27 (P62)<br />

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

(c) SCL11 (P60)<br />

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

(d) SDA11 (P61)<br />

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

(e) RTC1HZ (P64)<br />

This is a real-time clock correction clock (1 Hz) output pin.<br />

(f) PCL (P66)<br />

This is a clock/buzzer output pin.<br />

(g) INTP1 (P60) and INTP3 (P61)<br />

These are the external interrupt request input pins for which the valid edge (rising edge, falling edge, or both<br />

rising and falling edges) can be specified.<br />

2.2.8 P70 to P75 (port7)<br />

P70 to P75 function as a 6-bit I/O port.<br />

These pins also function as A/D conversion start trigger input, output pins for the sound generator, serial interface data<br />

I/O, timer I/O, clock / buzzer output, flash memory programming I/O, external interrupt request input, and segment signal<br />

outputs for the LCD controller/driver.<br />

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

mode register 7 (PIM7).<br />

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

(1) Port mode<br />

P70 to P75 function as a 6-bit I/O port.<br />

P70 to P75 can be set to input or output port in 1-bit units using port mode register 7 (PM7). Use of an on-chip pull-up<br />

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

(2) Control mode<br />

P70 to P75 function as an I/O port. These pins also function as A/D conversion trigger input, output pins for the sound<br />

generator, serial interface data I/O, timer I/O, clock / buzzer output, flash memory programming I/O, external interrupt<br />

request input, and segment signal outputs for the LCD controller/driver.<br />

(a) ADTRG (P72)<br />

This is an external input pin for AD conversion start trigger.<br />

(b) SGO (P73)<br />

This is an output pin for the sound generator.<br />

R01UH0317EJ0004 Rev. 0.04 45<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!