Renesas M16C/62P Group Manual de usuario Pagina 24

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 98
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 23
Rev.1.00 2007.11.1
REC10B0002-0100
24
__BasicSendingStatusRead
Synopsis
<Read transmit status>
Boolean __BasicSendingStatusRead(unsigned long data)
data Setup data
Description
Returns the transmit status of serial communication. For data, the following values can
be set.
RAPI_COM1 UART0 RAPI_COM2 UART1
RAPI_COM3 UART2 RAPI_COM4 SI/O3
RAPI_COM5 SI/O4
Return value
If no data exists in the transmit buffer, RAPI_TRUE is returned; if data exists,
RAPI_FALSE is returned.
Functionality
Serial I/O
Reference
__BasicStartSerialSending, __BasicStopSerialSending
Remark
If an undefined value is specified in the argument, operation of the API cannot be
guaranteed.
Program example
#include ”rapi_sif_m16c_62p”
void func( void )
{
..........
if (__BasicSendingStatusRead( RAPI_COM1 ) == RAPI_TRUE) {
/* Transmission completion */
}
..........
}
Vista de pagina 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 97 98

Comentarios a estos manuales

Sin comentarios