Renesas Single-Chip Microcomputer M38C89T-ADF Manual do Utilizador Página 108

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 138
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 107
1 2 ... 103 104 105 106 107 108 109 110 111 112 113 ... 137 138

Comentários a estes Manuais

Sem comentários