SVC_IO_Read

Reads up to the 'size' bytes to the user destination buffer from the I/O input buffer (also known as the "command" buffer). Returns the size actually read (if the end of the data is reached the returned size can be smaller than the requested one).

Synopsis  
unsigned int SVC_IO_Read(FmMsgHandle token, 
			  void *destination, 
			  int size); 
Syntax options  

SVC_IO_Read8

SVC_IO_Read16

SVC_IO_Read32

These functions are like SVC_IO_Read() except that the size of the data is assumed by the input data type and endian conversion is performed.

The implementation may be able to make these functions faster than the generic SVC_IO_Read().

unsigned int SVC_IO_Read8(FmMsgHandle token, 
			   uint8_t *v);
unsigned int SVC_IO_Read16(FmMsgHandle token, 
			    uint16_t *v);
unsigned int SVC_IO_Read32(FmMsgHandle token, 
			    uint32_t *v);