IPC API
3.21.00.07
|
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>
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. | |
#define | MxServer_E_FAIL (-1) |
Operation failed. |
Functions | |
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. |
#define MxServer_S_SUCCESS (0) |
Operation is successful.
#define MxServer_E_FAIL (-1) |
Operation failed.
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.