RL78/G15 CHAPTER 13 SERIAL INTERFACE IICA
R01UH0959EJ0110 Rev.1.10 Page 527 of 765
Mar 7, 2023
13.3.8 Registers controlling port functions of IICA serial input/output pins
When the IICA is to be used, set the registers that control the port functions multiplexed on the IICA serial I/O pins
(SCLA0 and SDAA0 pins): port mode register (PM0), port register (P0), port output mode register (POM0), and port
mode control register (PMC0).
For details on the registers that control the port functions, see 4.3.1 Port mode registers 0, 2, 4, 12 (PM0, PM2, PM4,
PM12), 4.3.2 Port registers 0, 2, 4, 12, 13 (P0, P2, P4, P12, P13), 4.3.4 Port input mode registers 0, 2, 4 (POM0,
POM2, POM4), and 4.3.5 Port mode control registers 0, 2 (PMC0, PMC2).
When you intend to use the clock I/O pin (SCLA0) and serial data I/O pin (SDAA0) of IICA0, set the corresponding bits in
port mode register (PM0) and port mode control register (PMC0) to 0 and the corresponding bits in port register (P0) and
port output mode register (POM0) to 1. For details, see 4.5.3 Register setting examples for used port and alternate
functions.
Since these pins are used as N-ch open-drain outputs (with a withstand voltage of V
DD
), use a resistor to pull them up to
the power-supply voltage of the external device.