SVC_IO_Write

Writes up to the size bytes from the user source buffer to the I/O output buffer (a.k.a. "reply" or "response" buffer). Returns the size actually written (if the capacity of the output buffer is reached the returned size can be smaller than the requested size).

Synopsis  
unsigned int SVC_IO_Write(FmMsgHandle token, 
			   void *source, 
			   int size);

 

Syntax options  

SVC_IO_Write8

SVC_IO_Write16

SVC_IO_Write32

Similar to SVC_IO_Read8/16/32(), but for writes to the reply buffer.

unsigned int SVC_IO_Write8(FmMsgHandle token, 
			    uint8_t v);
unsigned int SVC_IO_Write16(FmMsgHandle token, 
			     uint16_t v);
unsigned int SVC_IO_Write32(FmMsgHandle token, 
			     uint32_t v);