RL78/G13 CHAPTER 2 PIN FUNCTIONS
R01UH0146EJ0100 Rev.1.00 84
Sep 22, 2011
(2) Control mode
P40 to P47 function as serial interface data I/O, clock I/O, external interrupt request input, data I/O for a flash memory
programmer/debugger, and timer I/O.
(a) TI04, TI05, TI07
These are the pins for inputting an external count clock/capture trigger to 16-bit timers 04, 05, and 07.
(b) TO04, TO05, TO07
These are the timer output pins from 16-bit timers 04, 05, and 07.
(c) TOOL0
This is a data I/O pin for a flash memory programmer/debugger.
Be sure to pull up this pin externally when on-chip debugging is enabled (pulling it down is prohibited).
(d) INTP1, INTP2
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.
(e) SCK01
This is a serial clock I/O pin of serial interface CSI01.
(f) SCL01
This is a serial clock output pin of serial interface IIC01.
(g) SDA01
This is a serial data I/O pin of serial interface IIC01.
(h) SI01
This is a serial data input pin of serial interface CSI01.
(i) SO01
This is a serial data output pin of serial interface CSI01.
Caution After reset release, the relationships between P40/TOOL0 and the operating mode are as follows.
For details, see 25. 5 Programming Method.
Table 2-2. Relationships Between P40/TOOL0 and Operation Mode After Reset Release
P40/TOOL0 Operating mode
VDD Normal operation mode
0 V Flash memory programming mode