Renesas Single-Chip Microcomputer M38C89T-ADF Manual de usuario Pagina 108

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 138
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 107
Rev.1.00 May 22 2012
REJ09B0566
4-88
Library Reference
4
4.2.9 40BSerial Communication Interface R_SCI_Stop
5) R_SCI_Stop
Synopsis
Terminate SCI transmission or reception.
Prototype bool R_SCI_Stop(
uint8_t data1, // Channel selection
uint8_t data2
// Setup data 2
);
Description
Stops SCI transmission or reception.
[data1]
Select channel SCIFn (where n = 0 to 7).
[data2]
Select the process to be stopped.
If multiple selections are required, use | to separate each selection.
PDL_SCI_TX Stop the transmission process.
PDL_SCI_RX Stop the reception process.
Return value
True if the channel is valid; otherwise false.
Category
SCI
Reference
R_SCI_Send, R_SCI_Receive
Remarks
None.
Program example
/* PDL definitions */
#include r_pdl_sci.h
/* PDL device-specific definitions */
#include r_pdl_definitions.h
void func(void)
{
/* Terminate SCI reception on channel 0 */
R_SCI_Stop(
0,
PDL_SCI_RX
);
}
Vista de pagina 107
1 2 ... 103 104 105 106 107 108 109 110 111 112 113 ... 137 138

Comentarios a estos manuales

Sin comentarios