Renesas RL78 Series User Manual page 556

16-bit single-chip microcontrollers
Hide thumbs Also See for RL78 Series:
Table of Contents

Advertisement

RL78/G1D
Address: FFF52H (IICF0), FFF56H (IICF1)
<7>
Symbol
IICFn
STCFn
STCFn
0
1
Condition for clearing (STCFn = 0)
· Cleared by STTn = 1
· When IICEn = 0 (operation stop)
· Reset
IICBSYn
0
1
Condition for clearing (IICBSYn = 0)
· Detection of stop condition
· When IICEn = 0 (operation stop)
· Reset
STCENn
0
1
Condition for clearing (STCENn = 0)
· Cleared by instruction
· Detection of start condition
· Reset
IICRSVn
0
1
Condition for clearing (IICRSVn = 0)
· Cleared by instruction
· Reset
Note Bits 6 and 7 are read-only.
Cautions 1. Write to the STCENn bit only when the operation is stopped (IICEn = 0).
2. As the bus release status (IICBSYn = 0) is recognized regardless of the actual bus
3. Write to IICRSVn only when the operation is stopped (IICEn = 0).
Remarks 1.
2.
R01UH0515EJ0120 Rev.1.20
Dec 16, 2016
Figure 14-8. Format of IICA Flag Register n (IICFn)
<6>
5
4
IICBSYn
0
0
Generate start condition
Start condition generation unsuccessful: clear the STTn flag
Bus release status (communication initial status when STCENn = 1)
Bus communication status (communication initial status when STCENn = 0)
After operation is enabled (IICEn = 1), enable generation of a start condition upon detection of
a stop condition.
After operation is enabled (IICEn = 1), enable generation of a start condition without detecting
a stop condition.
Communication reservation function disable bit
Enable communication reservation
Disable communication reservation
status when STCENn = 1, when generating the first start condition (STTn = 1), it is
necessary to verify that no third party communications are in progress in order to
prevent such communications from being destroyed.
STTn: Bit 1 of IICA control register n0 (IICCTLn0)
IICEn: Bit 7 of IICA control register n0 (IICCTLn0)
n = 0
CHAPTER 14 SERIAL INTERFACE IICA
Note
After reset: 00H
R/W
3
2
<1>
0
0
STCENn
STTn clear flag
Condition for setting (STCFn = 1)
· Generating start condition unsuccessful and the
STTn bit cleared to 0 when communication
reservation is disabled (IICRSVn = 1).
2
I
C bus status flag
Condition for setting (IICBSYn = 1)
· Detection of start condition
· Setting of the IICEn bit when STCENn = 0
Initial start enable trigger
Condition for setting (STCENn = 1)
· Set by instruction
Condition for setting (IICRSVn = 1)
· Set by instruction
<0>
IICRSVn
535

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rl78/g1dR5f11aggR5f11aghR5f11agj

Table of Contents