User`s manual

RX62N Group, RX621 Group 4. Library Reference
2) R_IIC_Destroy
Synopsis
Disable an I²C channel.
Prototype
bool R_IIC_Destroy(
uint8_t data
// Channel selection
);
Description
Shut down the selected I²C module.
[data]
Select channel IICn (where n = 0 or 1).
Return value
True if the parameter is valid; otherwise false.
Category
I²C
Reference
R_IIC_Create
Remarks
The I²C module is put into the power-down state.
Program example
/* RPDL definitions */
#include "r_pdl_iic.h"
/* RPDL device-specific definitions */
#include "r_pdl_definitions.h"
void func(void)
{
/* Shutdown IIC channel 1 */
R_IIC_Destroy(
1
);
}
R20UT0084EE0112 Rev.1.12 Page 4-192
July. 16, 2014