Download V850 Debug - Renesas Electronics

Transcript
CubeSuite+ V2.00.00
APPENDIX B USER OPEN INTERFACE
SuoSendSerialDataList
Performs serial transmission (more than one data).
Caution
This function cannot be called in the MakeUserModel function. It can only be called in a callback
function.
[Syntax]
#include
int
"suo.h"
SuoSendSerialDataList(SuoHandle handle, long count, unsigned long dataList[]);
[Argument(s)]
Argument
Description
handle
Handle of the serial interface
count
Number of data to be transmitted (1 to 32767)
dataList[]
Transmit data
Specify an array consisting of the number of data to be transmitted.
[Return value]
Macro
Description
SUO_NOERROR
Normal completion
Error number
Exit with error (abend) (see "B.4.8 Error numbers")
[Description]
- This function is used to start transmitting two or more serial data.
- It takes time to complete transmission of the serial data. If you want to know the timing of transmission completion,
set the transmission end notification function by using the SuoSetNotifySentSerialCallback function.
- If this function is called for a serial interface that is currently transmitting data, an error occurs.
[Example]
#include
"suo.h"
SuoHandle hSerial1;
void func1(void)
{
unsigned long dataList[6] = {0x73, 0x65, 0x72, 0x69, 0x61, 0x6c};
.........
SuoSendSerialDataList(hSerial1, 6, dataList);
/* Send dataList */
}
R20UT2446EJ0100 Rev.1.00
Feb 01, 2013
Page 596 of 636