RL78/G13 CHAPTER 2 PIN FUNCTIONS
R01UH0146EJ0100 Rev.1.00 90
Sep 22, 2011
When the P147 pin is used as input, specify them as either digital or analog in Port mode control register 14 (PMC14).
This register can be specified in 1-bit unit.
The following operation modes can be specified in 1-bit units.
(1) Port mode
P140 to P147 function as an I/O port. P140 to P147 can be set to input or output port in 1-bit units using port mode
register 14 (PM14).
(2) Control mode
P140 to P147 function as clock/buzzer output, external interrupt request input, and A/D converter analog input, serial
interface data I/O, clock I/O, and timer I/O.
(a) ANI18
This is an analog input pin of A/D converter.
When using this pin as analog input pin, see Figure 11-46. Analog Input Pin Connection.
(b) INTP6, INTP7
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.
(c) PCLBUZ0, PCLBUZ1
These are the clock/buzzer output pins.
(d) RxD3
This is a serial data input pin of serial interface UART3.
(e) SCK30
This is a serial clock I/O pin of serial interface CSI30.
(f) SCL30
This is a serial clock Output pin of serial interface IIC30.
(g) SDA30
This is a serial data I/O pin of serial interface IIC30.
(h) SI30
This is a serial data input pin of serial interface CSI30.
(i) SO30
This is a serial data output pin of serial interface CSI30.
(j) TI07
This is a pin for inputting an external count clock/capture trigger to 16-bit timer 07.
(k) TO07
This is a timer output pin of 16-bit timer 07.
(l) TxD3
This is a serial data output pin of serial interface UART3.
<R>