Renesas RL78/G1P Hardware User Manual page 491

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P
Address: F0230H (IICCTL00), F0238H (IICCTL10)
Symbol
<7>
IICCTLn0
IICEn
IICEn
0
Stop operation. Reset the IICA status register n (IICSn)
1
Enable operation.
Be sure to set this bit (1) while the SCLAn and SDAAn lines are at high level.
Condition for clearing (IICEn = 0)
 Cleared by instruction
 Reset
Notes 2, 3
LRELn
0
Normal operation
1
This exits from the current communications and sets standby mode. This setting is automatically cleared
to 0 after being executed.
Its uses include cases in which a locally irrelevant extension code has been received.
The SCLAn and SDAAn lines are set to high impedance.
The following flags of IICA control register n0 (IICCTLn0) and the IICA status register n (IICSn) are
cleared to 0.
• STTn • SPTn • MSTSn • EXCn • COIn • TRCn • ACKDn • STDn
The standby mode following exit from communications remains in effect until the following communications entry
conditions are met.
 After a stop condition is detected, restart is in master mode.
 An address match or extension code reception occurs after the start condition.
Condition for clearing (LRELn = 0)
 Automatically cleared after execution
 Reset
Notes 2, 3
WRELn
0
1
When the WRELn bit is set (wait canceled) during the wait period at the ninth clock pulse in the transmission status
(TRCn = 1), the SDAAn line goes into the high impedance state (TRCn = 0).
Condition for clearing (WRELn = 0)
 Automatically cleared after execution
 Reset
Notes 1. The IICA status register n (IICSn), the STCFn and IICBSYn bits of the IICA flag register n (IICFn),
and the CLDn and DADn bits of IICA control register n1 (IICCTLn1) are reset.
2. The signal of this bit is invalid while IICEn is 0.
3. When the LRELn and WRELn bits are read, 0 is always read.
Caution If the operation of I
line is low level, and the digital filter is turned on (DFCn bit of IICCTLn1 register = 1), a start
condition will be inadvertently detected immediately. In this case, set (1) the LRELn bit by
using a 1-bit memory manipulation instruction immediately after enabling operation of I
(IICEn = 1).
Remark
n = 0, 1
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Figure 12-6. Format of IICA Control Register n0 (IICCTLn0) (1/4)
<6>
<5>
<4>
LRELn
WRELn
SPIEn
Do not cancel wait
Cancel wait. This setting is automatically cleared after wait is canceled.
2
C is enabled (IICEn = 1) when the SCLAn line is high level, the SDAAn
CHAPTER 12 SERIAL INTERFACE IICA
After reset: 00H
R/W
<3>
<2>
WTIMn
ACKEn
2
I
C operation enable
Note 1
. Stop internal operation.
Condition for setting (IICEn = 1)
 Set by instruction
Exit from communications
Condition for setting (LRELn = 1)
 Set by instruction
Wait cancellation
Condition for setting (WRELn = 1)
 Set by instruction
<1>
<0>
STTn
SPTn
2
C
472

Advertisement

Table of Contents
loading

Table of Contents