Device Settings HAL 0.2.0
 
Loading...
Searching...
No Matches
dsHost.h File Reference
#include "dsError.h"
#include "dsTypes.h"
Include dependency graph for dsHost.h:

Go to the source code of this file.

Macros

#define EDID_DATA_SIZE   256
 
#define EDID_MAX_DATA_SIZE   512
 

Functions

dsError_t dsHostInit ()
 Initializes the Host HAL sub-system.
 
dsError_t dsSetHostPowerMode (int newPower)
 Set the power mode.
 
dsError_t dsGetHostPowerMode (int *currPower)
 Get the current power mode.
 
dsError_t dsHostTerm ()
 Terminates the Host sub-system.
 
dsError_t dsGetPreferredSleepMode (dsSleepMode_t *pMode)
 This function returns the preferred sleep mode which is persisted.
 
dsError_t dsSetPreferredSleepMode (dsSleepMode_t mode)
 This function sets the preferred sleep mode which needs to be persisted.
 
dsError_t dsGetCPUTemperature (float *cpuTemperature)
 Gets the CPU temperature in centigrade.
 
dsError_t dsGetVersion (uint32_t *versionNumber)
 Get DS HAL API Version.
 
dsError_t dsSetVersion (uint32_t versionNumber)
 Allows the application to set the runtime version of the dsHAL.
 
dsError_t dsGetSocIDFromSDK (char *socID)
 Returns the SOC ID.
 
dsError_t dsGetHostEDID (unsigned char *edid, int *length)
 Gets the host EDID and length.
 
dsError_t dsGetMS12ConfigType (const char *configType)
 This function is used to get the MS12 config platform supports.