RL78/G13 CHAPTER 2 PIN FUNCTIONS
R01UH0146EJ0100 Rev.1.00 86
Sep 22, 2011
(a) SCLA0, SCLA1
These are the serial clock I/O pins of serial interface IICA.
(b) SDAA0, SDAA1
These are the serial data I/O pins of serial interface IICA.
(c) TI10, TI11, TI12, TI13
These are the pins for inputting an external count clock/capture trigger to 16-bit timers 10, 11, 12, and 13.
(d) TO10, TO11, TO12, TO13
These are the timer output pins of 16-bit timers 10, 11, 12, and 13.
2.2.8 P70 to P77 (port 7)
P70 to P77 function as an I/O port. These pins also function as key interrupt input, serial interface data I/O, clock I/O,
and external interrupt request input.
Use of an on-chip pull-up resistor can be specified by pull-up resistor option register 7 (PU7).
Output from the P71 and P74 pins can be specified as normal CMOS output or N-ch open-drain output (V
DD tolerance)
in 1-bit units, using port output mode register 7 (POM7).
The following operation modes can be specified in 1-bit units.
(1) Port mode
P70 to P77 function as an I/O port. P70 to P77 can be set to input or output port in 1-bit units using port mode
register 7 (PM7).
(2) Control mode
P70 to P77 function as key interrupt input, serial interface data I/O, clock I/O, and external interrupt request input.
(a) INTP8 to INTP11
These are the external interrupt request input pins for which the valid edge (rising edge, falling edge, or both
rising and falling edges) can be specified.
(b) KR0 to KR7
These are the key interrupt input pins.
(c) SI01, SI21
These are the serial data input pins of serial interface CSI01 and CSI21.
(d) SO01, SO21
These are the serial data output pins of serial interface CSI01 and CSI21.
(e) SCK01, SCK21
These are the serial clock I/O pins of serial interface CSI01 and CSI21.
(f) SCL01, SCL21
These are the serial clock output pins of serial interface IIC01 and IIC21.
(g) SDA01, SDA21
These are the serial data I/O pins of serial interface IIC01 and IIC21.