
Rev.1.00 May 22 2012
REJ09B0566
4.2.9 40BSerial Communication Interface R_SCI_Destroy
2) 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 SCIFn (where n = 0 to 7).
Return value
True if all parameters are valid; otherwise false.
Category
SCI
Reference
R_SCI_Create
Remarks
• The SCI channel is put into the power-down state.
Program example
/* PDL definitions */
#include “r_pdl_sci.h”
/* PDL device-specific definitions */
#include “r_pdl_definitions.h”
void func(void)
{
/* Shutdown SCI channel 1 */
R_SCI_Destroy(1);
}
Comentarios a estos manuales