User`s manual

RX62N Group, RX621 Group 4. Library Reference
3) R_SCI_Destroy
Synopsis
Shut down a SCI channel.
Prototype
bool R_SCI_Destroy(
uint8_t data
// Channel selection
);
Description
Stop data flow and shutdown the selected SCI channel.
[data]
Select channel SCIn (where n = 0 to 6, but not 4).
Return value
True if all parameters are valid; otherwise false.
Category
SCI
Reference
None.
Remarks
The SCI channel is put into the power-down state.
Program example
/* RPDL definitions */
#include "r_pdl_sci.h"
/* RPDL device-specific definitions */
#include "r_pdl_definitions.h"
void func(void)
{
/* Shutdown SCI channel 1 */
R_SCI_Destroy(
1
);
}
R20UT0084EE0112 Rev.1.12 Page 4-174
July. 16, 2014