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 2 PIN FUNCTIONS<br />

2.2.9 P80 to P87 (port8)<br />

48-pin products: P80 to P83 function as an 4-bit I/O port.<br />

64-pin products: P80 to P87 function as an 8-bit I/O port.<br />

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

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

These pins also function as timer I/O, stepper motor controller/driver outputs/inputs, and segment signal outputs for the<br />

LCD controller/driver.<br />

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

(1) Port mode<br />

48-pin products: P80 to P83 function as an 4-bit I/O port.<br />

64-pin products: P80 to P87 function as an 8-bit I/O port.<br />

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

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

P80 to P87 can be set to input or output port in 1-bit units using port mode register 8 (PM8). Use of an on-chip pull-up<br />

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

(2) Control mode<br />

P80 to P87 function as timer I/O, stepper motor controller/driver outputs/inputs, and segment signal outputs for the<br />

LCD controller/driver.<br />

(a) TI01 (P80), TI03 (P81), TI05 (P82), TI07 (P83), TI11 (P84), TI13 (P85), TI15 (P86), and TI17 (P87)<br />

These are the pins for inputting an external count clock/capture trigger to 16-bit timers01, 03, 05, 07, 11, 13, 15,<br />

and 17.<br />

(b) TO01 (P80), TO03 (P81), TO05 (P82), TO07 (P83), TO11 (P84), TO13 (P85), TO15 (P86), and TO17 (P87)<br />

These are the timer output pins of 16-bit timers 01, 03, 05, 07, 11, 13, 15, and 17.<br />

(c) SM11 (P80) to SM14 (P83) and SM21 (P84) to SM24 (P87)<br />

These are the output pins for the stepper motor controller/driver.<br />

(d) ZPD14 (P83), ZPD24 (P87)<br />

These are the Zero Point Detection (ZPD) input pins for the stepper motor controller/driver.<br />

(e) SEG32 (P80) to SEG39 (P87)<br />

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

2.2.10 P90 to P97 (port9)<br />

48-pin products: P90 to P94 function as a 5-bit I/O port.<br />

64-pin products: P90 to P94 function as a 5-bit I/O port.<br />

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

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

These pins also function as timer I/O, output pins for the sound generator, stepper motor controller/driver outputs/inputs,<br />

real-time clock correction clock output, and segment signal outputs for the LCD controller/driver.<br />

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

R01UH0317EJ0004 Rev. 0.04 47<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!