Datasheet

RL78/L12 CHAPTER 13 SERIAL INTERFACE IICA
R01UH0330EJ0200 Rev.2.00 535
Dec 13, 2013
13.3.8 Port mode register 6 (PM6)
This register sets the input/output of port 6 in 1-bit units.
When using the P60/SCLA0/SEG21 pin as clock I/O and the P61/SDAA0/SEG20 pin as serial data I/O, clear PM60 and
PM61, and the output latches of P60 and P61 to 0.
Set the IICE0 bit (bit 7 of IICA control register 00 (IICCTL00)) to 1 before setting the output mode because the
P60/SCLA0/SEG21 and P61/SDAA0/SEG20 pins output a low level (fixed) when the IICE0 bit is 0.
The PM6 register can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation sets this register to FFH.
Figure 13-12. Format of Port Mode Register 6 (PM6)
PM60PM61111111
P6n pin I/O mode selection (n = 0, 1)
Output mode (output buffer on)
Input mode (output buffer off)
PM6n
0
1
01234567
PM6
Address: FFF26H After reset: FFH R/W
Symbol