ladclient.h File Reference
Detailed Description
The Link Arbiter Daemon (LAD) communication interface. Provides wrapper functions to communicate with LAD, allowing a client to: establish a connection to LAD; request startup of a DSP server executable; query DSP status; and release the DSP and disconnect from LAD.
Go to the source code of this file.
Data Structures |
struct | LAD_DspStatus |
Defines |
#define | LAD_MAXLENGTHIMAGENAME 512 |
#define | LAD_MAXLENGTHCONFIGNAME 32 |
Typedefs |
typedef Uns | LAD_ClientHandle |
Enumerations |
enum | LAD_Status {
LAD_SUCCESS = 0,
LAD_FAILURE,
LAD_INVALIDARG,
LAD_ACCESSDENIED,
LAD_ALREADYRUNNING,
LAD_STILLRUNNING,
LAD_IOFAILURE,
LAD_NOTCONNECTED,
LAD_INVALIDVERSION
} |
enum | LAD_DspState {
LAD_UNKNOWN = 0,
LAD_SETUP,
LAD_LOADED,
LAD_STARTED,
LAD_STOPPED,
LAD_IDLE,
LAD_RESET,
LAD_UNAVAILABLE
} |
Functions |
LAD_Status | LAD_connect (LAD_ClientHandle *handle) |
| Connect to LAD.
|
LAD_Status | LAD_disconnect (LAD_ClientHandle handle) |
| Disconnect from LAD.
|
LAD_Status | LAD_getDspStatus (LAD_ClientHandle handle, Int cpuId, LAD_DspStatus *statusInfo) |
| Get DSP status from LAD.
|
LAD_Status | LAD_releaseDsp (LAD_ClientHandle handle) |
| Release control of the DSP. This call is only appropriate if the client previously made a successful call to LAD_startupDsp().
|
LAD_Status | LAD_startupDsp (LAD_ClientHandle handle, Int cpuId, String linkConfigName, String imageName) |
| Load and start the DSP running.
|