RL78/G1H CHAPTER 15 SERIAL INTERFACE IICA
R01UH0575EJ0120 Rev. 1.20 Page 446 of 920
Dec 22, 2016
15.3.8 Register to control port function of serial I/O pin
When serial interface IICA is used, set the registers (port mode register 6 (PM6) and port register 6 (P6)) that
controls the port functions for alternately used with SCLAn pin and SDAAn pin.
For details, see 5.3.1 Port mode registers (PMxx), 5.3.2 Port registers (Pxx), and 5.3.6 Port mode control
registers (PMCxx).
Set the IICEn bit (bit 7 of IICA control register n0 (IICCTLn0)) to 1 before setting the output mode because the
SCLAn and SDAAn pins output a low level (fixed) when the IICEn bit is 0.