Renesas RJJ10J1643-0101 Network Card User Manual


 
Rev.1.01 2007.02.16
RJJ10J1643-0101
52
__PollingSerialSending
Synopsis
<Polling transmission>
Unsigned __PollingSerialSending(unsigned long data)
data Setup data
Description
Performs transmission of serial communication by polling. This API sends transmit data
by an amount specified by __StartSerialSending from the transmit data buffer specified
by __StartSerialSending. When transmission of all transmit data is complete, it calls a
notification function (if a notification function is registered).
[data]
For data, the following values can be set.
(M16C)
RAPI_COM1 UART0 RAPI_COM2 UART1
RAPI_COM3 UART2 RAPI_COM4 SI/O3
RAPI_COM5 SI/O4
(R8C)
RAPI_COM1 UART0 RAPI_COM2 UART1
(H8/300H)
RAPI_COM1 SCI3 channel 1 RAPI_COM2 SCI3 channel 2
RAPI_COM3 SCI3 channel 3
Return value
Out of the transmit data counts requested, the number of untransmitted data is
returned.
Functionality
Serial I/O
Reference
__ConfigSerialDriverNotify
, __SetSerialInterrupt, __StartSerialReceiving
Remark
The specifiable serial ports differ with each CPU used.
If an undefined value is specified in the argument, operation of the API cannot be
guaranteed.
Program example
#include ”rapi_sif_r8c_13.h”