CCAux
2.20.0.0
CCAux API reference
|
Functions | |
EXTERN_C CCAUXDLL_API POWERHANDLE CCAUXDLL_CALLING_CONV | GetPower (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | Power_release (POWERHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Power_getBLPowerStatus (POWERHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Power_getCanPowerStatus (POWERHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Power_getVideoPowerStatus (POWERHANDLE, uint8_t *videoStatus) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Power_getExtFanPowerStatus (POWERHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Power_getButtonPowerTransitionStatus (POWERHANDLE, ButtonPowerTransitionStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Power_getVideoOCDStatus (POWERHANDLE, OCDStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Power_getCanOCDStatus (POWERHANDLE, OCDStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Power_setBLPowerStatus (POWERHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Power_setCanPowerStatus (POWERHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Power_setVideoPowerStatus (POWERHANDLE, uint8_t status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Power_setExtFanPowerStatus (POWERHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Power_ackPowerRequest (POWERHANDLE) |
Functions in the Power class
EXTERN_C CCAUXDLL_API POWERHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetPower | ( | void | ) |
Factory function that creates instances of the Power object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700, Yukon, V510, V710, V1000, V1200, X1200
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_ackPowerRequest | ( | POWERHANDLE | ) |
Acknowledge a power request from the system supervisor. This is handled by the service/daemon and should normally not be used by applications unless the CrossControl service/daemon is not being run on the system. If that is the case, the following requests (read by getButtonPowerTransitionStatus) should be acknowledged: BPTS_ShutDown, BPTS_Suspend and BPTS_Restart
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700, Yukon, V510, V710, V1000, V1200, X1200
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_getBLPowerStatus | ( | POWERHANDLE | , |
CCStatus * | status | ||
) |
Get backlight power status.
Supported Platform(s): XL, XL5, XM, XM9
status | Backlight power status. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_getButtonPowerTransitionStatus | ( | POWERHANDLE | , |
ButtonPowerTransitionStatus * | status | ||
) |
Get the current status for front panel button and on/off signal.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700, Yukon, V510, V710, V1000, V1200, X1200
status | The current status. See the definition of ButtonPowerTransitionStatus for details. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_getCanOCDStatus | ( | POWERHANDLE | , |
OCDStatus * | status | ||
) |
Get Can power overcurrent detection status. Find out if the Can power supervision has detected overcurrent, likely caused by short circuit problems. The overcurrent detection system will immediately turn of the power if such a condition occurs. If the overcurrent remains, Can power is turned off permanently until the unit is restarted. Up to 5 consecutive over-current conditions needed until power is turned off completely. If application software turns off and on the power, the failure counter will be reset.
Supported Platform(s): XL, XL5, XM, XS, XA
status | The current overcurrent detection status |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_getCanPowerStatus | ( | POWERHANDLE | , |
CCStatus * | status | ||
) |
Get can power status.
Supported Platform(s): XL, XL5, XM, XS, XA
status | Can power status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_getExtFanPowerStatus | ( | POWERHANDLE | , |
CCStatus * | status | ||
) |
Get external fan power status.
Supported Platform(s): XL, XL5, XM
status | Fan power status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_getVideoOCDStatus | ( | POWERHANDLE | , |
OCDStatus * | status | ||
) |
Get Video power overcurrent detection status. Find out if the video power supervision has detected overcurrent, likely caused by short circuit problems. The overcurrent detection system will immediately turn of the power if such a condition occurs. If the overcurrent remains, video power is turned off permanently until the unit is restarted. Up to 5 consecutive over-current conditions needed until power is turned off completely. If application software turns off and on the power, the failure counter will be reset.
Supported Platform(s): XL, XM, XS, XA
status | The current overcurrent detection status |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_getVideoPowerStatus | ( | POWERHANDLE | , |
uint8_t * | videoStatus | ||
) |
Get Video power status.
Supported Platform(s): XL, XL5, XM, XS, XA
videoStatus | Video power status. Bit0: Video 1. Bit1: Video 2. Bit2: Video 3. Bit3: Video 4. (1=on, 0=off) |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::Power_release | ( | POWERHANDLE | ) |
Delete the Power object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700, Yukon, V510, V710, V1000, V1200
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_setBLPowerStatus | ( | POWERHANDLE | , |
CCStatus | status | ||
) |
Set backlight power status.
Supported Platform(s): XL, XL5, XM, XM9
status | Backlight power status. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_setCanPowerStatus | ( | POWERHANDLE | , |
CCStatus | status | ||
) |
Set can power status.
Supported Platform(s): XL, XL5, XM, XS, XA
status | Can power status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_setExtFanPowerStatus | ( | POWERHANDLE | , |
CCStatus | status | ||
) |
Set external fan power status.
Supported Platform(s): XL, XL5, XM
status | Fan power status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_setVideoPowerStatus | ( | POWERHANDLE | , |
uint8_t | status | ||
) |
Set Video power status.
Supported Platform(s): XL, XM, XS, XA
status | Video power status. Bit0: Video 1. Bit1: Video 2. Bit2: Video 3. Bit3: Video 4. (1=on, 0=off) |