Defines | Functions

IpcHost.h File Reference


Detailed Description

This file contains APIs and defines that are used by applications only on the host-side of the device.

Go to the source code of this file.

Defines

#define Ipc_CONTROLCMD_LOADCALLBACK   (0xBABE0000)
 Control command ID for load callback. This command should be used with Ipc_control function before using IPC with the slave, and after loading the slave with the slave executable. When ProcMgr is used, this command should be used after loading the slave execution.
#define Ipc_CONTROLCMD_STARTCALLBACK   (0xBABE0001)
 Control command ID for start callback. This command should be used with Ipc_control function before using IPC with the slave, and when the slave is in running state. When ProcMgr is used, this command should be used after starting the slave execution.
#define Ipc_CONTROLCMD_STOPCALLBACK   (0xBABE0002)
 Control command ID for stop callback. This command should be used with Ipc_control function when IPC no longer needs to be performed with the specific slave. When ProcMgr is used, this command should be used just before stopping the slave execution.

Functions

Int Ipc_control (UInt16 procId, Int32 cmdId, Ptr arg)
 Function to perform control operations for IPC with a specific slave.

Define Documentation

#define Ipc_CONTROLCMD_LOADCALLBACK   (0xBABE0000)

Control command ID for load callback. This command should be used with Ipc_control function before using IPC with the slave, and after loading the slave with the slave executable. When ProcMgr is used, this command should be used after loading the slave execution.

See also:
Ipc_control
#define Ipc_CONTROLCMD_STARTCALLBACK   (0xBABE0001)

Control command ID for start callback. This command should be used with Ipc_control function before using IPC with the slave, and when the slave is in running state. When ProcMgr is used, this command should be used after starting the slave execution.

See also:
Ipc_control
#define Ipc_CONTROLCMD_STOPCALLBACK   (0xBABE0002)

Control command ID for stop callback. This command should be used with Ipc_control function when IPC no longer needs to be performed with the specific slave. When ProcMgr is used, this command should be used just before stopping the slave execution.

See also:
Ipc_control

Function Documentation

Int Ipc_control ( UInt16  procId,
Int32  cmdId,
Ptr  arg 
)

Function to perform control operations for IPC with a specific slave.

Parameters:
procIdRemote processor ID
cmdIdCommand ID
argArgument
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Copyright 2011, Texas Instruments Incorporated