IPC API  3.40.00.06
Data Structures | Macros | Functions
MxServer.h File Reference

Detailed Description

Example of a slave-side module which implements the Mx module functions. The functions in MxServer are invoked remotely by the Mx module running on the host processor.

============================================================================


#include <stddef.h>
#include <stdint.h>
Include dependency graph for MxServer.h:

Go to the source code of this file.

Data Structures

struct  MxServer_Compute
 Compute structure. More...
 

Macros

#define MxServer_S_SUCCESS   (0)
 Operation is successful. More...
 
#define MxServer_E_FAIL   (-1)
 Operation failed. More...
 

Functions

int32_t MxServer_triple (uint32_t a)
 Sample function which multiplies argument by three. More...
 
int32_t MxServer_add (int32_t a, int32_t b)
 Sample function which addes two arguments. More...
 
int32_t MxServer_compute (MxServer_Compute *compute)
 Sample function which has pointer parameter to a structure with two embedded pointers. More...
 

Macro Definition Documentation

#define MxServer_S_SUCCESS   (0)

Operation is successful.

#define MxServer_E_FAIL   (-1)

Operation failed.

Function Documentation

int32_t MxServer_triple ( uint32_t  a)

Sample function which multiplies argument by three.

int32_t MxServer_add ( int32_t  a,
int32_t  b 
)

Sample function which addes two arguments.

int32_t MxServer_compute ( MxServer_Compute compute)

Sample function which has pointer parameter to a structure with two embedded pointers.

Copyright 2015, Texas Instruments Incorporated