R01UH0822EJ0100 Rev.1.00
Page 799 of 1041
Jul 31, 2019
RX13T Group
24. I
2
C-bus Interface (RIICa)
24.15 Usage Notes
24.15.1
Setting Module Stop Function
Module stop state can be entered or released using module stop control register B (MSTPCRB). The initial setting is for
operation of the RIIC to be stopped. RIIC register access is enabled by releasing the module stop state.
For details on module stop control register B, refer to
section 11, Low Power Consumption
.
24.15.2
Notes on Starting Transfer
If the IR flag corresponding to the RIIC interrupt is 1 when transfer is started (ICCR1.ICE bit is 1), follow the procedure
below to clear interrupts before enabling operations. Starting transfer with the IR flag set to 1 while the ICCR1.ICE bit is
1 leads to an interrupt request being internally retained after transfer starts, and this can lead to unanticipated behavior of
the IR flag.
1. Confirm that the ICCR1.ICE bit is 0.
2. Set the relevant interrupt enable bits (ICIER.TIE, etc.) on the peripheral function side to 0.
3. Read the relevant interrupt enable bits (ICIER.TIE, etc.) on the peripheral function side and confirm that its value is 0.
4. Set the IR flag to 0.