![]() |
CCAux
2.15.2.0
CCAux API reference
|
Data Structures | |
struct | BatteryTimerType |
struct | BuzzerSetup |
struct | FpgaLedTimingType |
struct | LedColorMixType |
struct | LedTimingType |
struct | received_video |
struct | TimerType |
struct | UpgradeStatus |
struct | version_info |
struct | video_dec_command |
Typedefs | |
typedef void * | ABOUTHANDLE |
typedef void * | ADCHANDLE |
typedef void * | AUXVERSIONHANDLE |
typedef void * | BACKLIGHTHANDLE |
typedef void * | BATTERYHANDLE |
typedef void * | BUZZERHANDLE |
typedef void * | CANSETTINGHANDLE |
typedef struct version_info | VersionType |
typedef void * | CFGINHANDLE |
typedef void * | CONFIGHANDLE |
typedef void * | DIAGNOSTICHANDLE |
typedef void * | DIGIOHANDLE |
typedef void * | FIRMWAREUPGHANDLE |
typedef void * | FRONTLEDHANDLE |
typedef void * | LIGHTSENSORHANDLE |
typedef void * | POWERHANDLE |
typedef void * | POWERMGRHANDLE |
typedef void * | PWMOUTHANDLE |
typedef void * | SMARTHANDLE |
typedef void * | SOFTKEYHANDLE |
typedef void * | TELEMATICSHANDLE |
typedef void * | TOUCHSCREENHANDLE |
typedef void * | TOUCHSCREENCALIBHANDLE |
typedef void * | VIDEOHANDLE |
Functions | |
EXTERN_C CCAUXDLL_API ABOUTHANDLE CCAUXDLL_CALLING_CONV | GetAbout (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | About_release (ABOUTHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getMainPCBSerial (ABOUTHANDLE, char_t *buff, int32_t len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getUnitSerial (ABOUTHANDLE, char_t *buff, int32_t len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getMainPCBArt (ABOUTHANDLE, char_t *buff, int32_t length) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getMainManufacturingDate (ABOUTHANDLE, char_t *buff, int32_t len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getMainHWversion (ABOUTHANDLE, char_t *buff, int32_t len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getMainProdRev (ABOUTHANDLE, char_t *buff, int32_t len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getMainProdArtNr (ABOUTHANDLE, char_t *buff, int32_t len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfETHConnections (ABOUTHANDLE, uint8_t *NrOfConnections) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfCANConnections (ABOUTHANDLE, uint8_t *NrOfConnections) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfVideoConnections (ABOUTHANDLE, uint8_t *NrOfConnections) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfUSBConnections (ABOUTHANDLE, uint8_t *NrOfConnections) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfSerialConnections (ABOUTHANDLE, uint8_t *NrOfConnections) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfDigIOConnections (ABOUTHANDLE, uint8_t *NrOfConnections) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getIsDisplayAvailable (ABOUTHANDLE, bool *available) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getIsTouchScreenAvailable (ABOUTHANDLE, bool *available) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getIsPCBBluetoothAvailable (ABOUTHANDLE, bool *available) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getDisplayResolution (ABOUTHANDLE, char_t *buff, int32_t len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getAddOnPCBSerial (ABOUTHANDLE, char_t *buff, int32_t len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getAddOnPCBArt (ABOUTHANDLE, char_t *buff, int32_t length) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getAddOnManufacturingDate (ABOUTHANDLE, char_t *buff, int32_t len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getAddOnHWversion (ABOUTHANDLE, char_t *buff, int32_t len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getIsWLANMounted (ABOUTHANDLE, bool *mounted) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getIsGPSMounted (ABOUTHANDLE, bool *mounted) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getIsGPRSMounted (ABOUTHANDLE, bool *mounted) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getIsBTMounted (ABOUTHANDLE, bool *mounted) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getFrontPcbRev (ABOUTHANDLE, uint8_t *major, uint8_t *minor) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getIsIOExpanderMounted (ABOUTHANDLE, bool *mounted) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getIOExpanderValue (ABOUTHANDLE, uint16_t *value) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_hasOsBooted (ABOUTHANDLE, bool *bootComplete) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getIsAnybusMounted (ABOUTHANDLE, bool *mounted) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfCfgInConnections (ABOUTHANDLE, uint8_t *NrOfConnections) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfPWMOutConnections (ABOUTHANDLE, uint8_t *NrOfConnections) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfButtons (ABOUTHANDLE, int32_t *numbuttons) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfAnalogInputs (ABOUTHANDLE, int32_t *numanalogins) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getUserEepromData (ABOUTHANDLE, char_t *buff, uint16_t length) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_setUserEepromData (ABOUTHANDLE, uint16_t startpos, const char_t *buff, uint16_t length) |
EXTERN_C CCAUXDLL_API ADCHANDLE CCAUXDLL_CALLING_CONV | GetAdc (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | Adc_release (ADCHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Adc_getVoltage (ADCHANDLE, VoltageEnum selection, float64_t *value) |
EXTERN_C CCAUXDLL_API AUXVERSIONHANDLE CCAUXDLL_CALLING_CONV | GetAuxVersion (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | AuxVersion_release (AUXVERSIONHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | AuxVersion_getFPGAVersion (AUXVERSIONHANDLE, uint8_t *major, uint8_t *minor, uint8_t *release, uint8_t *build) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | AuxVersion_getSSVersion (AUXVERSIONHANDLE, uint8_t *major, uint8_t *minor, uint8_t *release, uint8_t *build) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | AuxVersion_getFrontVersion (AUXVERSIONHANDLE, uint8_t *major, uint8_t *minor, uint8_t *release, uint8_t *build) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | AuxVersion_getCCAuxVersion (AUXVERSIONHANDLE, uint8_t *major, uint8_t *minor, uint8_t *release, uint8_t *build) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | AuxVersion_getOSVersion (AUXVERSIONHANDLE, uint8_t *major, uint8_t *minor, uint8_t *release, uint8_t *build) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | AuxVersion_getCCAuxDrvVersion (AUXVERSIONHANDLE, uint8_t *major, uint8_t *minor, uint8_t *release, uint8_t *build) |
EXTERN_C CCAUXDLL_API BACKLIGHTHANDLE CCAUXDLL_CALLING_CONV | GetBacklight (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | Backlight_release (BACKLIGHTHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_getIntensity (BACKLIGHTHANDLE, uint8_t *intensity) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_setIntensity (BACKLIGHTHANDLE, uint8_t intensity) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_getStatus (BACKLIGHTHANDLE, uint8_t *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_getHWStatus (BACKLIGHTHANDLE, bool *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_startAutomaticBL (BACKLIGHTHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_stopAutomaticBL (BACKLIGHTHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_getAutomaticBLStatus (BACKLIGHTHANDLE, uint8_t *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_setAutomaticBLParams (BACKLIGHTHANDLE, bool bSoftTransitions) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_getAutomaticBLParams (BACKLIGHTHANDLE, bool *bSoftTransitions, float64_t *k) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_setAutomaticBLFilter (BACKLIGHTHANDLE, uint32_t averageWndSize, uint32_t rejectWndSize, uint32_t rejectDeltaInLux, LightSensorSamplingMode mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_getAutomaticBLFilter (BACKLIGHTHANDLE, uint32_t *averageWndSize, uint32_t *rejectWndSize, uint32_t *rejectDeltaInLux, LightSensorSamplingMode *mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_getLedDimming (BACKLIGHTHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_setLedDimming (BACKLIGHTHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API BATTERYHANDLE CCAUXDLL_CALLING_CONV | GetBattery (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | Battery_release (BATTERYHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Battery_isBatteryPresent (BATTERYHANDLE, bool *batteryIsPresent) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Battery_getBatteryVoltageStatus (BATTERYHANDLE, uint8_t *batteryVoltagePercent) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Battery_getBatteryChargingStatus (BATTERYHANDLE, ChargingStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Battery_getPowerSource (BATTERYHANDLE, PowerSource *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Battery_getBatteryTemp (BATTERYHANDLE, int16_t *temperature) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Battery_getHwErrorStatus (BATTERYHANDLE, ErrorStatus *errorCode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Battery_getTimer (BATTERYHANDLE, BatteryTimerType *times) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Battery_getMinMaxTemp (BATTERYHANDLE, int16_t *minTemp, int16_t *maxTemp) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Battery_getBatteryHWversion (BATTERYHANDLE, char_t *buff, int32_t len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Battery_getBatterySwVersion (BATTERYHANDLE, uint16_t *major, uint16_t *minor, uint16_t *release, uint16_t *build) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Battery_getBatterySerial (BATTERYHANDLE, char_t *buff, int32_t len) |
EXTERN_C CCAUXDLL_API BUZZERHANDLE CCAUXDLL_CALLING_CONV | GetBuzzer (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | Buzzer_release (BUZZERHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Buzzer_getFrequency (BUZZERHANDLE, uint16_t *frequency) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Buzzer_getVolume (BUZZERHANDLE, uint16_t *volume) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Buzzer_getScaledVolume (BUZZERHANDLE, uint8_t *volume) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Buzzer_getTrigger (BUZZERHANDLE, bool *trigger) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Buzzer_setFrequency (BUZZERHANDLE, uint16_t frequency) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Buzzer_setVolume (BUZZERHANDLE, uint16_t volume) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Buzzer_setScaledVolume (BUZZERHANDLE, uint8_t volume) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Buzzer_setTrigger (BUZZERHANDLE, bool trigger) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Buzzer_buzze (BUZZERHANDLE, int32_t time, bool blocking) |
EXTERN_C CCAUXDLL_API CANSETTINGHANDLE CCAUXDLL_CALLING_CONV | GetCanSetting (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | CanSetting_release (CANSETTINGHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | CanSetting_getBaudrate (CANSETTINGHANDLE, uint8_t net, uint16_t *baudrate) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | CanSetting_getFrameType (CANSETTINGHANDLE, uint8_t net, CanFrameType *frameType) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | CanSetting_setBaudrate (CANSETTINGHANDLE, uint8_t net, uint16_t baudrate) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | CanSetting_setFrameType (CANSETTINGHANDLE, uint8_t net, CanFrameType frameType) |
EXTERN_C CCAUXDLL_API char_t const *CCAUXDLL_CALLING_CONV | GetErrorStringA (eErr errCode) |
EXTERN_C CCAUXDLL_API wchar_t const *CCAUXDLL_CALLING_CONV | GetErrorStringW (eErr errCode) |
EXTERN_C CCAUXDLL_API CFGINHANDLE CCAUXDLL_CALLING_CONV | GetCfgIn (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | CfgIn_release (CFGINHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | CfgIn_setCfgInMode (CFGINHANDLE, uint8_t channel, CfgInModeEnum set_mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | CfgIn_getCfgInMode (CFGINHANDLE, uint8_t channel, CfgInModeEnum *get_mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | CfgIn_getValue (CFGINHANDLE, uint8_t channel, uint16_t *sample_value) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | CfgIn_getPwmValue (CFGINHANDLE, uint8_t channel, float32_t *frequency, uint8_t *duty_cycle) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | CfgIn_getFrequencyValue (CFGINHANDLE, uint8_t channel, float32_t *frequency) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | CfgIn_getMinFrequencyThreshold (CFGINHANDLE, uint8_t channel, float32_t *frequency) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | CfgIn_setMinFrequencyThreshold (CFGINHANDLE, uint8_t channel, float32_t frequency) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | CfgIn_setFrequencyFilterLevel (CFGINHANDLE, uint8_t level) |
EXTERN_C CCAUXDLL_API CONFIGHANDLE CCAUXDLL_CALLING_CONV | GetConfig () |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | Config_release (CONFIGHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getStartupTriggerConfig (CONFIGHANDLE, TriggerConf *config) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getShortButtonPressAction (CONFIGHANDLE, PowerAction *action) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getLongButtonPressAction (CONFIGHANDLE, PowerAction *action) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getOnOffSigAction (CONFIGHANDLE, PowerAction *action) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getFrontBtnTrigTime (CONFIGHANDLE, uint16_t *triggertime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getExtOnOffSigTrigTime (CONFIGHANDLE, uint32_t *triggertime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getButtonFunction (CONFIGHANDLE, uint8_t button_number, ButtonConfigEnum *button_config) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getSuspendMaxTime (CONFIGHANDLE, uint16_t *maxTime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getCanStartupPowerConfig (CONFIGHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getVideoStartupPowerConfig (CONFIGHANDLE, uint8_t *config) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getExtFanStartupPowerConfig (CONFIGHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getStartupVoltageConfig (CONFIGHANDLE, float64_t *voltage) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getHeatingTempLimit (CONFIGHANDLE, int16_t *temperature) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getPowerOnStartup (CONFIGHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setStartupTriggerConfig (CONFIGHANDLE, TriggerConf conf) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setShortButtonPressAction (CONFIGHANDLE, PowerAction action) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setLongButtonPressAction (CONFIGHANDLE, PowerAction action) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setOnOffSigAction (CONFIGHANDLE, PowerAction action) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setFrontBtnTrigTime (CONFIGHANDLE, uint16_t triggertime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setExtOnOffSigTrigTime (CONFIGHANDLE, uint32_t triggertime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setButtonFunction (CONFIGHANDLE, uint8_t button_number, ButtonConfigEnum button_config) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setSuspendMaxTime (CONFIGHANDLE, uint16_t maxTime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setCanStartupPowerConfig (CONFIGHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setVideoStartupPowerConfig (CONFIGHANDLE, uint8_t config) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setExtFanStartupPowerConfig (CONFIGHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setStartupVoltageConfig (CONFIGHANDLE, float64_t voltage) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setHeatingTempLimit (CONFIGHANDLE, int16_t temperature) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setPowerOnStartup (CONFIGHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setRS485Enabled (CONFIGHANDLE, RS4XXPort port, bool enabled) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getRS485Enabled (CONFIGHANDLE, RS4XXPort port, bool *enabled) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setOnOffTriggerMode (CONFIGHANDLE, ConfigOnOffTriggerMode mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getOnOffTriggerMode (CONFIGHANDLE, ConfigOnOffTriggerMode *mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setNextBootMode (CONFIGHANDLE, BootModeEnum mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getNextBootMode (CONFIGHANDLE, BootModeEnum *mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setOSAliveMonitoring (CONFIGHANDLE, CCStatus enabled) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getOSAliveMonitoring (CONFIGHANDLE, CCStatus *enabled) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getOnOffSignalState (CONFIGHANDLE, CCStatus *enabled) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getDigPowerOutputStartupConfig (CONFIGHANDLE, PowerOutput output, CCStatus *enabled) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setDigPowerOutputStartupConfig (CONFIGHANDLE, PowerOutput output, CCStatus enabled) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getShortBeepSettings (CONFIGHANDLE, uint16_t *duration, uint16_t *frequency, uint16_t *volume) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setShortBeepSettings (CONFIGHANDLE, uint16_t duration, uint16_t frequency, uint16_t volume) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getLongBeepSettings (CONFIGHANDLE, uint16_t *duration, uint16_t *frequency, uint16_t *volume) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setLongBeepSettings (CONFIGHANDLE, uint16_t duration, uint16_t frequency, uint16_t volume) |
EXTERN_C CCAUXDLL_API DIAGNOSTICHANDLE CCAUXDLL_CALLING_CONV | GetDiagnostic (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | Diagnostic_release (DIAGNOSTICHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Diagnostic_getSSTemp (DIAGNOSTICHANDLE, int16_t *temperature) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Diagnostic_getPCBTemp (DIAGNOSTICHANDLE, int16_t *temperature) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Diagnostic_getPMTemp (DIAGNOSTICHANDLE, uint8_t index, int16_t *temperature, JidaSensorType *jst) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Diagnostic_getStartupReason (DIAGNOSTICHANDLE, uint16_t *reason) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Diagnostic_getShutDownReason (DIAGNOSTICHANDLE, uint16_t *reason) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Diagnostic_getHwErrorStatus (DIAGNOSTICHANDLE, uint16_t *errorCode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Diagnostic_getTimer (DIAGNOSTICHANDLE, TimerType *times) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Diagnostic_getMinMaxTemp (DIAGNOSTICHANDLE, int16_t *minTemp, int16_t *maxTemp) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Diagnostic_getPowerCycles (DIAGNOSTICHANDLE, uint16_t *powerCycles) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Diagnostic_clearHwErrorStatus (DIAGNOSTICHANDLE) |
EXTERN_C CCAUXDLL_API char_t const *CCAUXDLL_CALLING_CONV | GetHwErrorStatusStringA (uint16_t errCode) |
EXTERN_C CCAUXDLL_API wchar_t const *CCAUXDLL_CALLING_CONV | GetHwErrorStatusStringW (uint16_t errCode) |
EXTERN_C CCAUXDLL_API char_t const *CCAUXDLL_CALLING_CONV | GetStartupReasonStringA (uint16_t code) |
EXTERN_C CCAUXDLL_API wchar_t const *CCAUXDLL_CALLING_CONV | GetStartupReasonStringW (uint16_t code) |
EXTERN_C CCAUXDLL_API DIGIOHANDLE CCAUXDLL_CALLING_CONV | GetDigIO (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | DigIO_release (DIGIOHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | DigIO_getDigIO (DIGIOHANDLE, uint8_t *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | DigIO_setDigIO (DIGIOHANDLE, uint8_t state) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | DigIO_getDigPowerOutput (DIGIOHANDLE, PowerOutput output, CCStatus *enabled, uint8_t *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | DigIO_setDigPowerOutput (DIGIOHANDLE, PowerOutput output, CCStatus enabled) |
EXTERN_C CCAUXDLL_API FIRMWAREUPGHANDLE CCAUXDLL_CALLING_CONV | GetFirmwareUpgrade (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | FirmwareUpgrade_release (FIRMWAREUPGHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_startFpgaUpgrade (FIRMWAREUPGHANDLE, const char_t *filename, bool blocking) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_startFpgaVerification (FIRMWAREUPGHANDLE, const char_t *filename, bool blocking) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_startSSUpgrade (FIRMWAREUPGHANDLE, const char_t *filename, bool blocking) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_startSSVerification (FIRMWAREUPGHANDLE, const char_t *filename, bool blocking) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_startFrontUpgrade (FIRMWAREUPGHANDLE, const char_t *filename, bool blocking) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_startFrontVerification (FIRMWAREUPGHANDLE, const char_t *filename, bool blocking) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_getUpgradeStatus (FIRMWAREUPGHANDLE, UpgradeStatus *status, bool blocking) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_shutDown (FIRMWAREUPGHANDLE) |
EXTERN_C CCAUXDLL_API FRONTLEDHANDLE CCAUXDLL_CALLING_CONV | GetFrontLED (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | FrontLED_release (FRONTLEDHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_getSignal (FRONTLEDHANDLE, float64_t *frequency, uint8_t *dutyCycle) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_getOnTime (FRONTLEDHANDLE, uint8_t *onTime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_getOffTime (FRONTLEDHANDLE, uint8_t *offTime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_getIdleTime (FRONTLEDHANDLE, uint8_t *idleTime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_getNrOfPulses (FRONTLEDHANDLE, uint8_t *nrOfPulses) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_getColor (FRONTLEDHANDLE, uint8_t *red, uint8_t *green, uint8_t *blue) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_getStandardColor (FRONTLEDHANDLE, CCAuxColor *color) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_getEnabledDuringStartup (FRONTLEDHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_setSignal (FRONTLEDHANDLE, float64_t frequency, uint8_t dutyCycle) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_setOnTime (FRONTLEDHANDLE, uint8_t onTime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_setOffTime (FRONTLEDHANDLE, uint8_t offTime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_setIdleTime (FRONTLEDHANDLE, uint8_t idleTime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_setNrOfPulses (FRONTLEDHANDLE, uint8_t nrOfPulses) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_setColor (FRONTLEDHANDLE, uint8_t red, uint8_t green, uint8_t blue) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_setStandardColor (FRONTLEDHANDLE, CCAuxColor color) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_setOff (FRONTLEDHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_setEnabledDuringStartup (FRONTLEDHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_getBootLEDConfig (FRONTLEDHANDLE, uint8_t *red, uint8_t *green, uint8_t *blue, float32_t *frequency, uint8_t *dutyCycle) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_setBootLEDConfig (FRONTLEDHANDLE, uint8_t red, uint8_t green, uint8_t blue, float32_t frequency, uint8_t dutyCycle) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_getPostBootLEDConfig (FRONTLEDHANDLE, uint8_t *red, uint8_t *green, uint8_t *blue, float32_t *frequency, uint8_t *dutyCycle) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_setPostBootLEDConfig (FRONTLEDHANDLE, uint8_t red, uint8_t green, uint8_t blue, float32_t frequency, uint8_t dutyCycle) |
EXTERN_C CCAUXDLL_API LIGHTSENSORHANDLE CCAUXDLL_CALLING_CONV | GetLightsensor (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | Lightsensor_release (LIGHTSENSORHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Lightsensor_getIlluminance (LIGHTSENSORHANDLE, uint16_t *value) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Lightsensor_getIlluminance2 (LIGHTSENSORHANDLE, uint16_t *value, uint8_t *ch0, uint8_t *ch1) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Lightsensor_getAverageIlluminance (LIGHTSENSORHANDLE, uint16_t *value) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Lightsensor_startAverageCalc (LIGHTSENSORHANDLE, uint32_t averageWndSize, uint32_t rejectWndSize, uint32_t rejectDeltaInLux, LightSensorSamplingMode mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Lightsensor_stopAverageCalc (LIGHTSENSORHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Lightsensor_getOperatingRange (LIGHTSENSORHANDLE, LightSensorOperationRange *range) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Lightsensor_setOperatingRange (LIGHTSENSORHANDLE, LightSensorOperationRange range) |
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) |
EXTERN_C CCAUXDLL_API POWERMGRHANDLE CCAUXDLL_CALLING_CONV | GetPowerMgr (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | PowerMgr_release (POWERMGRHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | PowerMgr_registerControlledSuspendOrShutDown (POWERMGRHANDLE, PowerMgrConf conf) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | PowerMgr_getConfiguration (POWERMGRHANDLE, PowerMgrConf *conf) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | PowerMgr_getPowerMgrStatus (POWERMGRHANDLE, PowerMgrStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | PowerMgr_setAppReadyForSuspendOrShutdown (POWERMGRHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | PowerMgr_hasResumed (POWERMGRHANDLE, bool *resumed) |
EXTERN_C CCAUXDLL_API PWMOUTHANDLE CCAUXDLL_CALLING_CONV | GetPWMOut (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | PWMOut_release (PWMOUTHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | PWMOut_setPWMOutputChannelDutyCycle (PWMOUTHANDLE, uint8_t channel, uint8_t duty_cycle) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | PWMOut_setPWMOutputChannelFrequency (PWMOUTHANDLE, uint8_t channel, float32_t frequency) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | PWMOut_getPWMOutputChannelDutyCycle (PWMOUTHANDLE, uint8_t channel, uint8_t *duty_cycle) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | PWMOut_getPWMOutputChannelFrequency (PWMOUTHANDLE, uint8_t channel, float32_t *frequency) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | PWMOut_getPWMOutputStatus (PWMOUTHANDLE, uint8_t *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | PWMOut_setPWMOutOff (PWMOUTHANDLE, uint8_t channel) |
EXTERN_C CCAUXDLL_API SMARTHANDLE CCAUXDLL_CALLING_CONV | GetSmart (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | Smart_release (SMARTHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Smart_getRemainingLifeTime (SMARTHANDLE, uint8_t *lifetimepercent) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Smart_getRemainingLifeTime2 (SMARTHANDLE, uint8_t *lifetimepercent) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Smart_getDeviceSerial (SMARTHANDLE, char_t *buff, int32_t len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Smart_getDeviceSerial2 (SMARTHANDLE, char_t *buff, int32_t len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Smart_getInitialTime (SMARTHANDLE, time_t *time) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Smart_getInitialTime2 (SMARTHANDLE, time_t *time) |
EXTERN_C CCAUXDLL_API SOFTKEYHANDLE CCAUXDLL_CALLING_CONV | GetSoftKey (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | SoftKey_release (SOFTKEYHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | SoftKey_getStatus (SOFTKEYHANDLE, uint16_t *value) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | SoftKey_setBacklightIntensity (SOFTKEYHANDLE, uint8_t key, uint8_t intensity) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | SoftKey_getBacklightIntensity (SOFTKEYHANDLE, uint8_t key, uint8_t *intensity) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | SoftKey_setMultipleBacklightIntensities (SOFTKEYHANDLE, uint8_t *keys, uint8_t *intensities, uint8_t array_size) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | SoftKey_getMultipleBacklightIntensities (SOFTKEYHANDLE, uint8_t *keys, uint8_t *intensities, uint8_t array_size) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | SoftKey_getBacklightSignal (SOFTKEYHANDLE, float64_t *frequency, uint8_t *dutyCycle) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | SoftKey_getBacklightOnTime (SOFTKEYHANDLE, uint8_t *onTime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | SoftKey_getBacklightOffTime (SOFTKEYHANDLE, uint8_t *offTime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | SoftKey_getBacklightIdleTime (SOFTKEYHANDLE, uint8_t *idleTime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | SoftKey_getBacklightNrOfPulses (SOFTKEYHANDLE, uint8_t *nrOfPulses) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | SoftKey_setBacklightSignal (SOFTKEYHANDLE, float64_t frequency, uint8_t dutyCycle) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | SoftKey_setBacklightOnTime (SOFTKEYHANDLE, uint8_t onTime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | SoftKey_setBacklightOffTime (SOFTKEYHANDLE, uint8_t offTime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | SoftKey_setBacklightIdleTime (SOFTKEYHANDLE, uint8_t idleTime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | SoftKey_setBacklightNrOfPulses (SOFTKEYHANDLE, uint8_t nrOfPulses) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | SoftKey_setBacklightOff (SOFTKEYHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | SoftKey_getBacklightEnabledDuringStartup (SOFTKEYHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | SoftKey_setBacklightEnabledDuringStartup (SOFTKEYHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | SoftKey_getBootBacklightConfig (SOFTKEYHANDLE, uint8_t *bootIntensity, float32_t *bootFrequency, uint8_t *bootDutyCycle, uint8_t *postBootIntensity, float32_t *postBootFrequency, uint8_t *postBootDutyCycle, CCStatus *postBootConfig) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | SoftKey_setBootBacklightConfig (SOFTKEYHANDLE, uint8_t bootIntensity, float32_t bootFrequency, uint8_t bootDutyCycle, uint8_t postBootIntensity, float32_t postBootFrequency, uint8_t postBootDutyCycle, CCStatus postBootConfig) |
EXTERN_C CCAUXDLL_API TELEMATICSHANDLE CCAUXDLL_CALLING_CONV | GetTelematics (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | Telematics_release (TELEMATICSHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Telematics_getTelematicsAvailable (TELEMATICSHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Telematics_getGPRSPowerStatus (TELEMATICSHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Telematics_getGPRSStartUpPowerStatus (TELEMATICSHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Telematics_getWLANPowerStatus (TELEMATICSHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Telematics_getWLANStartUpPowerStatus (TELEMATICSHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Telematics_getBTPowerStatus (TELEMATICSHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Telematics_getBTStartUpPowerStatus (TELEMATICSHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Telematics_getGPSPowerStatus (TELEMATICSHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Telematics_getGPSStartUpPowerStatus (TELEMATICSHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Telematics_getGPSAntennaStatus (TELEMATICSHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Telematics_setGPRSPowerStatus (TELEMATICSHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Telematics_setGPRSStartUpPowerStatus (TELEMATICSHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Telematics_setWLANPowerStatus (TELEMATICSHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Telematics_setWLANStartUpPowerStatus (TELEMATICSHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Telematics_setBTPowerStatus (TELEMATICSHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Telematics_setBTStartUpPowerStatus (TELEMATICSHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Telematics_setGPSPowerStatus (TELEMATICSHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Telematics_setGPSStartUpPowerStatus (TELEMATICSHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API TOUCHSCREENHANDLE CCAUXDLL_CALLING_CONV | GetTouchScreen (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | TouchScreen_release (TOUCHSCREENHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | TouchScreen_getMode (TOUCHSCREENHANDLE, TouchScreenModeSettings *config) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | TouchScreen_getMouseRightClickTime (TOUCHSCREENHANDLE, uint16_t *time) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | TouchScreen_setMode (TOUCHSCREENHANDLE, TouchScreenModeSettings config) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | TouchScreen_setMouseRightClickTime (TOUCHSCREENHANDLE, uint16_t time) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | TouchScreen_setAdvancedSetting (TOUCHSCREENHANDLE, TSAdvancedSettingsParameter param, uint16_t data) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | TouchScreen_getAdvancedSetting (TOUCHSCREENHANDLE, TSAdvancedSettingsParameter param, uint16_t *data) |
EXTERN_C CCAUXDLL_API TOUCHSCREENCALIBHANDLE CCAUXDLL_CALLING_CONV | GetTouchScreenCalib (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | TouchScreenCalib_release (TOUCHSCREENCALIBHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | TouchScreenCalib_setMode (TOUCHSCREENCALIBHANDLE, CalibrationModeSettings mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | TouchScreenCalib_getMode (TOUCHSCREENCALIBHANDLE, CalibrationModeSettings *mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | TouchScreenCalib_setCalibrationPoint (TOUCHSCREENCALIBHANDLE, uint8_t pointNr) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | TouchScreenCalib_checkCalibrationPointFinished (TOUCHSCREENCALIBHANDLE, bool *finished, uint8_t pointNr) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | TouchScreenCalib_getConfigParam (TOUCHSCREENCALIBHANDLE, CalibrationConfigParam param, uint16_t *value) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | TouchScreenCalib_setConfigParam (TOUCHSCREENCALIBHANDLE, CalibrationConfigParam param, uint16_t value) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | TouchScreenCalib_autoSensorCalib (TOUCHSCREENCALIBHANDLE) |
EXTERN_C CCAUXDLL_API VIDEOHANDLE CCAUXDLL_CALLING_CONV | GetVideo (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | Video_release (VIDEOHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_init (VIDEOHANDLE, uint8_t deviceNr) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_showVideo (VIDEOHANDLE, bool show) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_setDeInterlaceMode (VIDEOHANDLE, DeInterlaceMode mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getDeInterlaceMode (VIDEOHANDLE, DeInterlaceMode *mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_setMirroring (VIDEOHANDLE, CCStatus mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getMirroring (VIDEOHANDLE, CCStatus *mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_setRotation (VIDEOHANDLE, VideoRotation rotation) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getRotation (VIDEOHANDLE, VideoRotation *rotation) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_setActiveChannel (VIDEOHANDLE, VideoChannel channel) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getActiveChannel (VIDEOHANDLE, VideoChannel *channel) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_setColorKeys (VIDEOHANDLE, uint8_t rKey, uint8_t gKey, uint8_t bKey) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getColorKeys (VIDEOHANDLE, uint8_t *rKey, uint8_t *gKey, uint8_t *bKey) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_setVideoArea (VIDEOHANDLE, uint16_t topLeftX, uint16_t topLeftY, uint16_t bottomRightX, uint16_t bottomRightY) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getRawImage (VIDEOHANDLE, uint16_t *width, uint16_t *height, float32_t *frameRate) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getVideoArea (VIDEOHANDLE, uint16_t *topLeftX, uint16_t *topLeftY, uint16_t *bottomRigthX, uint16_t *bottomRigthY) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getVideoStandard (VIDEOHANDLE, videoStandard *standard) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getStatus (VIDEOHANDLE, uint8_t *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_setScaling (VIDEOHANDLE, float32_t x, float32_t y) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getScaling (VIDEOHANDLE, float32_t *x, float32_t *y) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_activateSnapshot (VIDEOHANDLE, bool activate) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_takeSnapshot (VIDEOHANDLE, const char_t *path, bool bInterlaced) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_takeSnapshotRaw (VIDEOHANDLE, char_t *rawImgBuffer, uint32_t rawImgBuffSize, bool bInterlaced) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_takeSnapshotBmp (VIDEOHANDLE, char_t **bmpBuffer, uint32_t *bmpBufSize, bool bInterlaced, bool bNTSCFormat) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_createBitmap (VIDEOHANDLE, char_t **bmpBuffer, uint32_t *bmpBufSize, const char_t *rawImgBuffer, uint32_t rawImgBufSize, bool bInterlaced, bool bNTSCFormat) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_freeBmpBuffer (VIDEOHANDLE, char_t *bmpBuffer) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_minimize (VIDEOHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_restore (VIDEOHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_setDecoderReg (VIDEOHANDLE, uint8_t decoderRegister, uint8_t registerValue) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getDecoderReg (VIDEOHANDLE, uint8_t decoderRegister, uint8_t *registerValue) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_setCropping (VIDEOHANDLE, uint8_t top, uint8_t left, uint8_t bottom, uint8_t right) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getCropping (VIDEOHANDLE, uint8_t *top, uint8_t *left, uint8_t *bottom, uint8_t *right) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_showFrame (VIDEOHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_setGraphicsOverlay (VIDEOHANDLE, CCStatus mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getGraphicsOverlay (VIDEOHANDLE, CCStatus *mode) |
Variables | |
const uint8_t | Video1Conf = (1 << 0) |
const uint8_t | Video2Conf = (1 << 1) |
const uint8_t | Video3Conf = (1 << 2) |
const uint8_t | Video4Conf = (1 << 3) |
const uint8_t | DigitalIn_1 = (1 << 0) |
const uint8_t | DigitalIn_2 = (1 << 1) |
const uint8_t | DigitalIn_3 = (1 << 2) |
const uint8_t | DigitalIn_4 = (1 << 3) |
typedef void* ABOUTHANDLE |
typedef void* ADCHANDLE |
typedef void* AUXVERSIONHANDLE |
typedef void* BACKLIGHTHANDLE |
typedef void* BATTERYHANDLE |
typedef void* BUZZERHANDLE |
typedef void* CANSETTINGHANDLE |
typedef void* CFGINHANDLE |
typedef void* CONFIGHANDLE |
typedef void* DIAGNOSTICHANDLE |
typedef void* DIGIOHANDLE |
typedef void* FIRMWAREUPGHANDLE |
typedef void* FRONTLEDHANDLE |
typedef void* LIGHTSENSORHANDLE |
typedef void* POWERHANDLE |
typedef void* POWERMGRHANDLE |
typedef void* PWMOUTHANDLE |
typedef void* SMARTHANDLE |
typedef void* SOFTKEYHANDLE |
typedef void* TELEMATICSHANDLE |
typedef void* TOUCHSCREENCALIBHANDLE |
typedef void* TOUCHSCREENHANDLE |
typedef struct version_info VersionType |
typedef void* VIDEOHANDLE |
enum BootModeEnum |
enum ButtonConfigEnum |
Enumeration of Button Configuration (bitfield representation)
Current status for front panel button and on/off signal. If any of them generate a suspend or shutdown event, it may also be read, briefly. When the button/signal is released, typically BPTS_Suspend or BPTS_ShutDown follows. Note: Do not rely on getting BPTS_ShutDown or BPTS_Suspend from user applications. The system is likely to start shutting down before the status can be read. Instead, use the PowerMgr class for handling system shutdown/suspend events.
Touch screen calibration parameters
enum CanFrameType |
enum CCAuxColor |
enum CCStatus |
enum CfgInModeEnum |
Enumeration of ConfigurableInput modes
enum ChargingStatus |
Current charging status of the battery.
enum DeInterlaceMode |
enum eErr |
Error code enumeration
enum ErrorStatus |
enum hwErrorStatusCodes |
enum JidaSensorType |
enum OCDStatus |
Overcurrent detection status.
enum PowerAction |
enum PowerMgrConf |
Enumeration of the settings that can be used with the PowerMgr system.
enum PowerMgrStatus |
enum PowerOutput |
enum PowerSource |
enum RS4XXPort |
enum shutDownReasonCodes |
enum startupReasonCodes |
The restart codes returned by getStartupReason.
enum SystemMode |
enum TriggerConf |
Trigger configuration enumeration. Valid settings for enabling of front button and external on/off signal. For platforms XM, XL and XA platforms, front button and on/off (ignition) signal can be configured.
For the VC platform, CI state activity and Can data reception can also be used as wakeup sources from suspend mode. bit 0 - enable wakeup by front button (from OFF and suspend mode) bit 1 - enable wakeup by on/off (ignition) signal (from OFF and suspend mode) bit 2 - enable wakeup by CAN activity (from suspend mode, VC only) bit 3 - enable wakeup by CI (Configurabe input) state change (from suspend mode, VC only)
Note that there must always be a way to start the unit from shutdown mode. Therefore, at least one of the following must be true:
Touch screen advanced settings parameters
enum UpgradeAction |
Upgrade Action enumeration
enum VideoChannel |
enum VideoRotation |
enum videoStandard |
enum VoltageEnum |
Voltage type enumeration
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getAddOnHWversion | ( | ABOUTHANDLE | , |
char_t * | buff, | ||
int32_t | len | ||
) |
Get Add on hardware version.
Supported Platform(s): XL, XM, XS, XA
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getAddOnManufacturingDate | ( | ABOUTHANDLE | , |
char_t * | buff, | ||
int32_t | len | ||
) |
Get Add on manufacturing date.
Supported Platform(s): XL, XM, XS, XA
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getAddOnPCBArt | ( | ABOUTHANDLE | , |
char_t * | buff, | ||
int32_t | length | ||
) |
Get Add on PCB article number.
Supported Platform(s): XL, XM, XS, XA
buff | Text output buffer. |
length | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getAddOnPCBSerial | ( | ABOUTHANDLE | , |
char_t * | buff, | ||
int32_t | len | ||
) |
Get Add on PCB serial number.
Supported Platform(s): XL, XM, XS, XA
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getDisplayResolution | ( | ABOUTHANDLE | , |
char_t * | buff, | ||
int32_t | len | ||
) |
Get display resolution.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. The display resolution will be returned in the format "1024x768" |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getFrontPcbRev | ( | ABOUTHANDLE | , |
uint8_t * | major, | ||
uint8_t * | minor | ||
) |
Get the front hardware pcb revision in the format major.minor (e.g. 1.1).
Supported Platform(s): XA, XS
major | The major pcb revision. |
minor | The minor pcb revision. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getIOExpanderValue | ( | ABOUTHANDLE | , |
uint16_t * | value | ||
) |
Get Value for IO Expander
Supported Platform(s): XA, XS
value | IO Expander value. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getIsAnybusMounted | ( | ABOUTHANDLE | , |
bool * | mounted | ||
) |
Get Anybus mounting status.
Supported Platform(s): XA, XS
mounted | Is Anybus mounted? |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getIsBTMounted | ( | ABOUTHANDLE | , |
bool * | mounted | ||
) |
Get BlueTooth module mounting status.
Supported Platform(s): XL, XM, XS, XA
mounted | Is module mounted? |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getIsDisplayAvailable | ( | ABOUTHANDLE | , |
bool * | available | ||
) |
Get Display module status. (Some product variants does not have a display)
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
available | Is display available? |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getIsGPRSMounted | ( | ABOUTHANDLE | , |
bool * | mounted | ||
) |
Get GPRS module mounting status.
Supported Platform(s): XL, XM, XS, XA
mounted | Is module mounted? |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getIsGPSMounted | ( | ABOUTHANDLE | , |
bool * | mounted | ||
) |
Get GPS module mounting status.
Supported Platform(s): XL, XM, XS, XA
mounted | Is module mounted? |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getIsIOExpanderMounted | ( | ABOUTHANDLE | , |
bool * | mounted | ||
) |
Get IO Expander mounting status.
Supported Platform(s): XA, XS
mounted | Is IO Expander mounted? |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getIsPCBBluetoothAvailable | ( | ABOUTHANDLE | , |
bool * | available | ||
) |
Get PCB mounted bluetooth status. Not to be confused with the bluetooth module mounted on the telematics add on board
Supported Platform(s): VI2
available | Is bluetooth available? |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getIsTouchScreenAvailable | ( | ABOUTHANDLE | , |
bool * | available | ||
) |
Get Display TouchScreen status.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
available | Is TouchScreen available? |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getIsWLANMounted | ( | ABOUTHANDLE | , |
bool * | mounted | ||
) |
Get WLAN module mounting status.
Supported Platform(s): XL, XM, XS, XA
mounted | Is module mounted? |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getMainHWversion | ( | ABOUTHANDLE | , |
char_t * | buff, | ||
int32_t | len | ||
) |
Get main hardware version (PCB revision).
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getMainManufacturingDate | ( | ABOUTHANDLE | , |
char_t * | buff, | ||
int32_t | len | ||
) |
Get main manufacturing date.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getMainPCBArt | ( | ABOUTHANDLE | , |
char_t * | buff, | ||
int32_t | length | ||
) |
Get main PCB article number.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
buff | Text output buffer. |
length | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getMainPCBSerial | ( | ABOUTHANDLE | , |
char_t * | buff, | ||
int32_t | len | ||
) |
Get main PCB serial number.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getMainProdArtNr | ( | ABOUTHANDLE | , |
char_t * | buff, | ||
int32_t | len | ||
) |
Get main product article number.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getMainProdRev | ( | ABOUTHANDLE | , |
char_t * | buff, | ||
int32_t | len | ||
) |
Get main product revision.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfAnalogInputs | ( | ABOUTHANDLE | , |
int32_t * | numanalogins | ||
) |
Get number of external analog inputs.
Supported Platform(s): VI2
numanalogins | Number of external analog inputs. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfButtons | ( | ABOUTHANDLE | , |
int32_t * | numbuttons | ||
) |
Get number of configurable buttons.
Supported Platform(s): VC, VA, VS, VI2
numbuttons | Number of configurable buttons. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfCANConnections | ( | ABOUTHANDLE | , |
uint8_t * | NrOfConnections | ||
) |
Get number of CAN connections present.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
NrOfConnections | Returns the number of connections. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfCfgInConnections | ( | ABOUTHANDLE | , |
uint8_t * | NrOfConnections | ||
) |
Get number of configurable input connections present.
Supported Platform(s): VC, VA, VI2
NrOfConnections | Returns the number of inputs. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfDigIOConnections | ( | ABOUTHANDLE | , |
uint8_t * | NrOfConnections | ||
) |
Get number of digital I/O connections present.
Supported Platform(s): XL, XM, XS, XA
NrOfConnections | Returns the number of input or input/output connections. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfETHConnections | ( | ABOUTHANDLE | , |
uint8_t * | NrOfConnections | ||
) |
Get number of Ethernet connections present.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
NrOfConnections | Returns the number of connections. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfPWMOutConnections | ( | ABOUTHANDLE | , |
uint8_t * | NrOfConnections | ||
) |
Get number of PWM Output connections present.
Supported Platform(s): VC, VI2
NrOfConnections | Returns the number of outputs. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfSerialConnections | ( | ABOUTHANDLE | , |
uint8_t * | NrOfConnections | ||
) |
Get number of serial port (RS232) connections present.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
NrOfConnections | Returns the number of connections. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfUSBConnections | ( | ABOUTHANDLE | , |
uint8_t * | NrOfConnections | ||
) |
Get number of USB connections present.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
NrOfConnections | Returns the number of connections. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfVideoConnections | ( | ABOUTHANDLE | , |
uint8_t * | NrOfConnections | ||
) |
Get number of Video connections present.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
NrOfConnections | Returns the number of connections. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getUnitSerial | ( | ABOUTHANDLE | , |
char_t * | buff, | ||
int32_t | len | ||
) |
Get unit serial number.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getUserEepromData | ( | ABOUTHANDLE | , |
char_t * | buff, | ||
uint16_t | length | ||
) |
Get User Eeprom data. The user eeprom holds 4096 bytes of data which are fully accessible. Data is always read from position 0.
Supported Platform(s): XL, XM, XS, XA
buff | data buffer. |
length | data buffer length or number of data bytes to read. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_hasOsBooted | ( | ABOUTHANDLE | , |
bool * | bootComplete | ||
) |
Get the status of the OS boot process. In Linux, drivers may be delay-loaded at start-up. If the application is started early in the boot-process, this function can be used to determine when full functionality can be obtained from the API/drivers.
Supported Platform(s): XA, XS, VC, VA, VI2, VS, V700
bootComplete | Is the OS fully booted? |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::About_release | ( | ABOUTHANDLE | ) |
Delete the About object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_setUserEepromData | ( | ABOUTHANDLE | , |
uint16_t | startpos, | ||
const char_t * | buff, | ||
uint16_t | length | ||
) |
Set User Eeprom data. The user eeprom holds 4096 bytes of data which are fully accessible.
Supported Platform(s): XL, XM, XS, XA
startpos | eeprom write start position. |
buff | data buffer. |
length | buffer length to write. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Adc_getVoltage | ( | ADCHANDLE | , |
VoltageEnum | selection, | ||
float64_t * | value | ||
) |
Read measured voltage.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
selection | The type of voltage to get. |
value | Voltage value in Volt. Can be undefined if return value is error code. Not all values are supported on all platforms, ERR_NOT_SUPPORTED will indicate that. |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::Adc_release | ( | ADCHANDLE | ) |
Delete the ADC object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::AuxVersion_getCCAuxDrvVersion | ( | AUXVERSIONHANDLE | , |
uint8_t * | major, | ||
uint8_t * | minor, | ||
uint8_t * | release, | ||
uint8_t * | build | ||
) |
Get the CrossControl CCAux CCAuxDrv version. Can be used to check that the correct driver is loaded.
Supported Platform(s): XL, XM
major | Major version number |
minor | Minor version number |
release | Release version number |
build | Build version number |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::AuxVersion_getCCAuxVersion | ( | AUXVERSIONHANDLE | , |
uint8_t * | major, | ||
uint8_t * | minor, | ||
uint8_t * | release, | ||
uint8_t * | build | ||
) |
Get the CrossControl CCAux API version. CCAux includes: CCAuxService/ccauxd - Windows Service/Linux daemon. CCAux2.dll/libccaux2 - The implementation of this API.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
major | Major version number |
minor | Minor version number |
release | Release version number |
build | Build version number |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::AuxVersion_getFPGAVersion | ( | AUXVERSIONHANDLE | , |
uint8_t * | major, | ||
uint8_t * | minor, | ||
uint8_t * | release, | ||
uint8_t * | build | ||
) |
Get the FPGA software version
Supported Platform(s): XL, XM, XS, XA, VS
major | Major version number |
minor | Minor version number |
release | Release version number |
build | Build version number |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::AuxVersion_getFrontVersion | ( | AUXVERSIONHANDLE | , |
uint8_t * | major, | ||
uint8_t * | minor, | ||
uint8_t * | release, | ||
uint8_t * | build | ||
) |
Get the front microcontroller software version
Supported Platform(s): XL, XM, XS, XA
major | Major version number |
minor | Minor version number |
release | Release version number |
build | Build version number |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::AuxVersion_getOSVersion | ( | AUXVERSIONHANDLE | , |
uint8_t * | major, | ||
uint8_t * | minor, | ||
uint8_t * | release, | ||
uint8_t * | build | ||
) |
Get the CrossControl Operating System version.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
major | Major version number |
minor | Minor version number |
release | Release version number |
build | Build version number |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::AuxVersion_getSSVersion | ( | AUXVERSIONHANDLE | , |
uint8_t * | major, | ||
uint8_t * | minor, | ||
uint8_t * | release, | ||
uint8_t * | build | ||
) |
Get the System Supervisor software version
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
major | Major version number |
minor | Minor version number |
release | Release version number |
build | Build version number |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::AuxVersion_release | ( | AUXVERSIONHANDLE | ) |
Delete the AuxVersion object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_getAutomaticBLFilter | ( | BACKLIGHTHANDLE | , |
uint32_t * | averageWndSize, | ||
uint32_t * | rejectWndSize, | ||
uint32_t * | rejectDeltaInLux, | ||
LightSensorSamplingMode * | mode | ||
) |
Get light sensor filter parameters for automatic backlight control.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, V700
averageWndSize | The average window size in nr of samples. |
rejectWndSize | The reject window size in nr of samples. |
rejectDeltaInLux | The reject delta in lux. |
mode | The configured sampling mode. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_getAutomaticBLParams | ( | BACKLIGHTHANDLE | , |
bool * | bSoftTransitions, | ||
float64_t * | k | ||
) |
Get parameters for automatic backlight control.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, V700
bSoftTransitions | Soft transitions used? |
k | K value. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_getAutomaticBLStatus | ( | BACKLIGHTHANDLE | , |
uint8_t * | status | ||
) |
Get status from automatic backlight control.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, V700
status | 1=running, 0=stopped. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_getHWStatus | ( | BACKLIGHTHANDLE | , |
bool * | status | ||
) |
Get backlight hardware status.
status | Backlight controller status. true: All backlight drivers works ok, false: one or more backlight drivers are faulty. |
Supported Platform(s): XL, XM, XS, XA
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_getIntensity | ( | BACKLIGHTHANDLE | , |
uint8_t * | intensity | ||
) |
Get backlight intensity. Note that there might be hardware limitations, limiting the minimum and/or maximum value to other than (1..255).
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
intensity | The current backlight intensity (1..255). |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_getLedDimming | ( | BACKLIGHTHANDLE | , |
CCStatus * | status | ||
) |
Get the current setting for Led dimming. If enabled, the function automatically dimms the LED according to the current backlight setting; Low backlight gives less bright LED. This works with manual backlight setting and automatic backlight, but only if the led is set to pure red, green or blue color. If another color is being used, this functionality must be implemented separately.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
status | Enabled/Disabled |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_getStatus | ( | BACKLIGHTHANDLE | , |
uint8_t * | status | ||
) |
Get backlight controller status. Deprecated, use Backlight_getHWStatus instead.
Supported Platform(s): XL, XM
status | Backlight controller status. Bit 0: status controller 1. Bit 1: status controller 2. Bit 2: status controller 3. Bit 3: status controller 4. 1=normal, 0=fault. |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::Backlight_release | ( | BACKLIGHTHANDLE | ) |
Delete the backlight object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_setAutomaticBLFilter | ( | BACKLIGHTHANDLE | , |
uint32_t | averageWndSize, | ||
uint32_t | rejectWndSize, | ||
uint32_t | rejectDeltaInLux, | ||
LightSensorSamplingMode | mode | ||
) |
Set light sensor filter parameters for automatic backlight control.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, V700
averageWndSize | The average window size in nr of samples. |
rejectWndSize | The reject window size in nr of samples. |
rejectDeltaInLux | The reject delta in lux. |
mode | The configured sampling mode. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_setAutomaticBLParams | ( | BACKLIGHTHANDLE | , |
bool | bSoftTransitions | ||
) |
Set parameters for automatic backlight control.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, V700
bSoftTransitions | Use soft transitions? |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_setIntensity | ( | BACKLIGHTHANDLE | , |
uint8_t | intensity | ||
) |
Set backlight intensity. Note that there might be hardware limitations, limiting the minimum and/or maximum value to other than (1..255).
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
intensity | The backlight intensity to set (1..255). |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_setLedDimming | ( | BACKLIGHTHANDLE | , |
CCStatus | status | ||
) |
Enable/disable Led dimming. If enabled, the function automatically dimms the LED according to the current backlight setting; Low backlight gives less bright LED. This works with manual backlight setting and automatic backlight, but only if the led is set to pure red, green or blue color. If another color is being used, this functionality must be implemented separately.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
status | Enabled/Disabled |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_startAutomaticBL | ( | BACKLIGHTHANDLE | ) |
Start automatic backlight control. Note that reading the light sensor at the same time as running the automatic backlight control is not supported.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, V700
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_stopAutomaticBL | ( | BACKLIGHTHANDLE | ) |
Stop automatic backlight control.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, V700
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Battery_getBatteryChargingStatus | ( | BATTERYHANDLE | , |
ChargingStatus * | status | ||
) |
Get battery charging status.
Supported Platform(s): XM
status | the current charging mode of the battery. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Battery_getBatteryHWversion | ( | BATTERYHANDLE | , |
char_t * | buff, | ||
int32_t | len | ||
) |
Get battery hardware version (PCB revision).
Supported Platform(s): XM
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Battery_getBatterySerial | ( | BATTERYHANDLE | , |
char_t * | buff, | ||
int32_t | len | ||
) |
Get battery serial number.
Supported Platform(s): XM
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. The serial number is 10 characters plus terminating zero, in total 11 bytes in size. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Battery_getBatterySwVersion | ( | BATTERYHANDLE | , |
uint16_t * | major, | ||
uint16_t * | minor, | ||
uint16_t * | release, | ||
uint16_t * | build | ||
) |
Get the battery software version
Supported Platform(s): XM
major | Major version number |
minor | Minor version number |
release | Release version number |
build | Build version number |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Battery_getBatteryTemp | ( | BATTERYHANDLE | , |
int16_t * | temperature | ||
) |
Get battery temperature.
Supported Platform(s): XM
temperature | PCB Temperature in degrees Celsius. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Battery_getBatteryVoltageStatus | ( | BATTERYHANDLE | , |
uint8_t * | batteryVoltagePercent | ||
) |
Get battery voltage status.
Supported Platform(s): XM
batteryVoltagePercent | the current voltage level of the battery, in percent [0..100]. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Battery_getHwErrorStatus | ( | BATTERYHANDLE | , |
ErrorStatus * | errorCode | ||
) |
Get hardware error code. If hardware errors are found or other problems are discovered by the battery pack, they are reported here.
Supported Platform(s): XM
errorCode | Error code. Zero means no error. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Battery_getMinMaxTemp | ( | BATTERYHANDLE | , |
int16_t * | minTemp, | ||
int16_t * | maxTemp | ||
) |
Get temperature interval of the battery.
Supported Platform(s): XM
minTemp | Minimum measured temperature. |
maxTemp | Maximum measured temperature. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Battery_getPowerSource | ( | BATTERYHANDLE | , |
PowerSource * | status | ||
) |
Get the currently used power source.
Supported Platform(s): XM
status | the current power source, external power or battery. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Battery_getTimer | ( | BATTERYHANDLE | , |
BatteryTimerType * | times | ||
) |
Get battery diagnostic timer.
Supported Platform(s): XM
times | Get a struct with the current diagnostic times. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Battery_isBatteryPresent | ( | BATTERYHANDLE | , |
bool * | batteryIsPresent | ||
) |
Is an external battery connected?
Supported Platform(s): XM
batteryIsPresent | true if a battery is connected, otherwise false. |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::Battery_release | ( | BATTERYHANDLE | ) |
Delete the Battery object
Supported Platform(s): XM.
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Buzzer_buzze | ( | BUZZERHANDLE | , |
int32_t | time, | ||
bool | blocking | ||
) |
Buzzes for a specified time.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
time | Time (ms) to buzz. |
blocking | Blocking or non-blocking function. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Buzzer_getFrequency | ( | BUZZERHANDLE | , |
uint16_t * | frequency | ||
) |
Get buzzer frequency.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
frequency | Current frequency (700-10000 Hz). |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Buzzer_getScaledVolume | ( | BUZZERHANDLE | , |
uint8_t * | volume | ||
) |
Get scaled buzzer volume.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
volume | Current volume 0-100% |
Due limitation in HW, readback value may differ slightly from the value that was set.
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Buzzer_getTrigger | ( | BUZZERHANDLE | , |
bool * | trigger | ||
) |
Get buzzer trigger. The Buzzer is enabled when the trigger is enabled.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
trigger | Current trigger status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Buzzer_getVolume | ( | BUZZERHANDLE | , |
uint16_t * | volume | ||
) |
Get buzzer volume. Note: For platform compatibility, use Buzzer_getScaledVolume instead. This function may be removed in a future API version. Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
volume | Current volume (0-51) (VS: 0-2000) (VI2: 0-4095). |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::Buzzer_release | ( | BUZZERHANDLE | ) |
Delete the Buzzer object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Buzzer_setFrequency | ( | BUZZERHANDLE | , |
uint16_t | frequency | ||
) |
Set buzzer frequency.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
frequency | Frequency to set (700-10000 Hz). |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Buzzer_setScaledVolume | ( | BUZZERHANDLE | , |
uint8_t | volume | ||
) |
Set scaled buzzer volume.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
volume | Volume to set 0-100%. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Buzzer_setTrigger | ( | BUZZERHANDLE | , |
bool | trigger | ||
) |
Set buzzer trigger. The Buzzer is enabled when the trigger is enabled.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
trigger | Status to set. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Buzzer_setVolume | ( | BUZZERHANDLE | , |
uint16_t | volume | ||
) |
Set buzzer volume. Note: For platform compatibility, use Buzzer_setScaledVolume instead. This function may be removed in a future API version.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
volume | Volume to set (0-51) (VS: 0-2000) (VI2: 0-4095) (V700: 0-50) |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::CanSetting_getBaudrate | ( | CANSETTINGHANDLE | , |
uint8_t | net, | ||
uint16_t * | baudrate | ||
) |
Get Baud rate
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
net | CAN net (1-4) to get settings for. |
baudrate | CAN baud rate (kbit/s). |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::CanSetting_getFrameType | ( | CANSETTINGHANDLE | , |
uint8_t | net, | ||
CanFrameType * | frameType | ||
) |
Get frame type
Supported Platform(s): XL, XM
net | CAN net (1-4) to get settings for. |
frameType | CAN frame type |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::CanSetting_release | ( | CANSETTINGHANDLE | ) |
Delete the CanSetting object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::CanSetting_setBaudrate | ( | CANSETTINGHANDLE | , |
uint8_t | net, | ||
uint16_t | baudrate | ||
) |
Set Baud rate. The changes will take effect after a restart.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
net | CAN net (1-4). |
baudrate | CAN baud rate (kbit/s). The driver will calculate the best supported baud rate if it does not support the given baud rate. The maximum baud rate is 1000 kbit/s. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::CanSetting_setFrameType | ( | CANSETTINGHANDLE | , |
uint8_t | net, | ||
CanFrameType | frameType | ||
) |
Set frame type. The changes will take effect after a restart.
Supported Platform(s): XL, XM
net | CAN net (1-4). |
frameType | CAN frameType |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::CfgIn_getCfgInMode | ( | CFGINHANDLE | , |
uint8_t | channel, | ||
CfgInModeEnum * | get_mode | ||
) |
Get Configurable Input mode
Supported Platform(s): VC, VA, VS, VI2
channel | Which configurable input channel to use, 1-2 (VC), 1-8 (VA) or 1 (VS), corresponding to physical input channel |
get_mode | Storage container for retreived mode Configurable input can be set to different measurement modes, this reads the setting back |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::CfgIn_getFrequencyValue | ( | CFGINHANDLE | , |
uint8_t | channel, | ||
float32_t * | frequency | ||
) |
Read the sampled frequency value from configurable input, when in modes other than frequency mode:
VA: For ports 1-4, time base is 72 MHz ± 100 ppm (more accurate) For ports 5-8, time base is 60 kHz ± 100 ppm (less accurate) Input range is 0 Hz – 15 kHz. See technical manual for more details.
VA: For all ports 1-8: CFGIN_FREQ_PD_5V - sample_value in Hz CFGIN_FREQ_PD_10V - sample_value in Hz CFGIN_FREQ_PD_32V - sample_value in Hz CFGIN_FREQ_F_5V - sample_value in Hz CFGIN_FREQ_F_10V - sample_value in Hz CFGIN_FREQ_F_32V - sample_value in Hz
VA: For ports 5-8 only: CFGIN_FREQ_PU_5V - sample_value in Hz CFGIN_FREQ_PU_10V - sample_value in Hz CFGIN_FREQ_PU_32V - sample_value in Hz
VS: Port 1 only - sample_value in Hz
Supported Platform(s): VA, VS, VI2
channel | Which configurable input channel to use, 1 through 8, corresponding to physical input channel |
frequency | Read signal frequency in Hz; signal resolution and range depending on mode and port |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::CfgIn_getMinFrequencyThreshold | ( | CFGINHANDLE | , |
uint8_t | channel, | ||
float32_t * | frequency | ||
) |
Read the configured minimum frequency threshold for configurable input, when in frequency measurement mode (CFGIN_FREQ_FLOATING, CFGIN_FREQ_PULLUP, CFGIN_FREQ_PULLDOWN for VC, and CFGIN_FREQ_PD_5V, CFGIN_FREQ_PD_10V, CFGIN_FREQ_PD_32V, CFGIN_FREQ_F_5V, CFGIN_FREQ_F_10V, CFGIN_FREQ_F_32V, CFGIN_FREQ_PU_5V, CFGIN_FREQ_PU_10V, CFGIN_FREQ_PU_32V for VA). The frequency threshold is set to 1Hz at device start-up. Use the frequency threshold to set up how fast to detect
a frequency change or a static signal. If you know the frequency range of the measured signal - set the threshold slightly lower than this. That way, a change from pulses to a static signal is detected as fast as possible. If the frequency threshold is set to e.g. 0.1Hz, it can take up to 10 seconds before a change in frequency is detected - also depending on the actual frequency of the signal. For VC, when the measured signal is slower than the frequency threshold, CfgIn_getPwmValue will return frequency 0Hz, duty cycle 0 or 100%. For VA, when the measured signal is slower than the frequency threshold, CfgIn_getFrequencyValue will return frequency 0 Hz. For VS, this function/setting only applies for input channel 1.
Supported Platform(s): VC, VA, VS, VI2
channel | Which configurable input channel to use, 1-2 (VC), 1-8 (VA) or 1 (VS), corresponding to physical input channel |
frequency | Minimum frequency threshold, 0.0 - 50000.0 Hz for VC and VS, 0 - 15000 Hz for VA. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::CfgIn_getPwmValue | ( | CFGINHANDLE | , |
uint8_t | channel, | ||
float32_t * | frequency, | ||
uint8_t * | duty_cycle | ||
) |
Read the sampled value from configurable input, when in frequency measurement mode (CFGIN_FREQ_FLOATING, CFGIN_FREQ_PULLUP, CFGIN_FREQ_PULLDOWN).
Supported Platform(s): VC, VA, VI2
channel | Which configurable input channel to use, 1 or 2, corresponding to physical input channel |
frequency | Read signal frequency, 0.0 - 50000.0 Hz |
duty_cycle | Read signal duty cycle, 0-100% |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::CfgIn_getValue | ( | CFGINHANDLE | , |
uint8_t | channel, | ||
uint16_t * | sample_value | ||
) |
Read the sampled value from configurable input, when in modes other than frequency mode:
For VC plaform: CFGIN_HI_SWITCH - sample_value is 0-1 CFGIN_LOW_SWITCH - sample_value is 0-1 CFGIN_VOLTAGE_2V5 - sample_value is 0-30000 (0.1mV steps) CFGIN_VOLTAGE_5V - sample_value is 0-60000 (0.1mV steps) CFGIN_RESISTANCE - sample_value is 0-65535 Ohm
For VA platform, all ports 1-8: CFGIN_CURRENT_4_20 - sample_value in µA, accuracy ± 0.5% ± 50 µA (typical) CFGIN_VOLTAGE_5V - sample_value in mV, accuracy ± 0.5% ± 5 mV (typical) CFGIN_VOLTAGE_10V - sample_value in mV, accuracy ± 0.5% ± 10 mV (typical) CFGIN_VOLTAGE_32V - sample_value in mV, accuracy ± 0.5% ± 32 mV (typical) CFGIN_DIGITAL_PD_5V - sample_value is 0-1 CFGIN_DIGITAL_PD_10V - sample_value is 0-1 CFGIN_DIGITAL_PD_32V - sample_value is 0-1 CFGIN_DIGITAL_F_5V - sample_value is 0-1 CFGIN_DIGITAL_F_10V - sample_value is 0-1 CFGIN_DIGITAL_F_32V - sample_value is 0-1
For VA platform, ports 1-4 only: CFGIN_RESISTANCE - sample_value in Ohm, accuracy ± 0.5% ± 5 Ohm (typical) CFGIN_RESISTANCE_500 - sample_value in 0.1 Ohm/bit, accuracy ± 0.5% ± 0.5 Ohm (typical)
For VA platform, ports 5-8 only: CFGIN_DIGITAL_PU_5V - sample_value is 0-1 CFGIN_DIGITAL_PU_10V - sample_value is 0-1 CFGIN_DIGITAL_PU_32V - sample_value is 0-1
For VS platform, input 1-2 in any mode: sample_value in mV.
For VI2 platform, ports 1-4 only CFGIN_HI_SWITCH - sample_value is 0-1 CFGIN_LOW_SWITCH - sample_value is 0-1 CFGIN_VOLTAGE_5V - sample_value is 0-5500 (1mV steps) CFGIN_RESISTANCE - sample_value is 0-500 (0.1Ohm steps)
Supported Platform(s): VC, VA, VS, VI2
channel | Which configurable input channel to use, 1-2 (VC) or 1-8 (VA), corresponding to physical input channel |
sample_value | Read value which is relevant to actual mode setting The actual value is dependent on the mode setting |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::CfgIn_release | ( | CFGINHANDLE | ) |
Delete the CfgIn object.
Supported Platform(s): VC, VA, VS, VI2
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::CfgIn_setCfgInMode | ( | CFGINHANDLE | , |
uint8_t | channel, | ||
CfgInModeEnum | set_mode | ||
) |
Set Configurable Input mode
Supported Platform(s): VC, VA, VS, VI2
channel | Which configurable input channel to use, 1-2 (VC), 1-8 (VA) or 1 (VS), corresponding to physical input channel |
set_mode | Which mode to set Configurable input can be set to different measurement modes. See CfgInModeEnum for a description of which platform and input combinations are possible. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::CfgIn_setFrequencyFilterLevel | ( | CFGINHANDLE | , |
uint8_t | level | ||
) |
Sets the weight of the old sample value in frequency measurements as a percentage. The sampled frequency is filtered with a moving average. A large weight increases the filter level and gives better accuracy in high frequency measurements, but decreases the speed of which changes in the input frequency can be detected.
Supported Platform(s): VC, VA, VI2
level | Weight of the old sample value as a percentage (0-99) |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::CfgIn_setMinFrequencyThreshold | ( | CFGINHANDLE | , |
uint8_t | channel, | ||
float32_t | frequency | ||
) |
Set the minimum frequency threshold for configurable input, when in frequency measurement mode (CFGIN_FREQ_FLOATING, CFGIN_FREQ_PULLUP, CFGIN_FREQ_PULLDOWN for VC, and CFGIN_FREQ_PD_5V, CFGIN_FREQ_PD_10V, CFGIN_FREQ_PD_32V, CFGIN_FREQ_F_5V, CFGIN_FREQ_F_10V, CFGIN_FREQ_F_32V, CFGIN_FREQ_PU_5V, CFGIN_FREQ_PU_10V, CFGIN_FREQ_PU_32V for VA). The frequency threshold is set to 1Hz at device start-up. Use the frequency threshold to set up how fast to detect
a frequency change or a static signal. If you know the frequency range of the measured signal - set the threshold slightly lower than this. That way, a change from pulses to a static signal is detected as fast as possible. If the frequency threshold is set to e.g. 0.1Hz, it can take up to 10 seconds before a change in frequency is detected - also depending on the actual frequency of the signal. For VC, when the measured signal is slower than the frequency threshold, CfgIn_getPwmValue will return frequency 0Hz, duty cycle 0 or 100%. For VA, when the measured signal is slower than the frequency threshold, CfgIn_getFrequencyValue will return frequency 0 Hz. For VS, this function/setting only applies for input channel 1.
Supported Platform(s): VC, VA, VS, VI2
channel | Which configurable input channel to use, 1-2 (VC), 1-8 (VA) or 1 (VS), corresponding to physical input channel |
frequency | Minimum frequency threshold, 0.0 - 50000.0 Hz for VC and VS, 0-15000 Hz for VA. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getButtonFunction | ( | CONFIGHANDLE | , |
uint8_t | button_number, | ||
ButtonConfigEnum * | button_config | ||
) |
Get Button Function Configuration
Supported Platform(s): VC, VA, VS, VI2
button_number | Which button to configure (1-MAX_BUTTONS) |
button_config | Bitfield for button configuration, see enum ButtonConfigEnum for details. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getCanStartupPowerConfig | ( | CONFIGHANDLE | , |
CCStatus * | status | ||
) |
Get Can power at startup configuration. The status of Can power at startup and at resume from suspended mode. At resume from suspend, this setting overrides the setting of the setCanPowerStatus function.
Supported Platform(s): XL, XM, XS, XA
status | Enabled/Disabled |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getDigPowerOutputStartupConfig | ( | CONFIGHANDLE | , |
PowerOutput | output, | ||
CCStatus * | enabled | ||
) |
Get power output startup configuration. Power outputs 1 and 2 can be set to be turned on automatically at system startup.
Supported Platform(s): VS
output | Select power output (PowerOutput1 or PowerOutput2) . |
enabled | Is the power output configured to be enabled at startup? |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getExtFanStartupPowerConfig | ( | CONFIGHANDLE | , |
CCStatus * | status | ||
) |
Get External fan power at startup configuration. The status at startup and at resume from suspended mode. At resume from suspend, this setting overrides the setting of the setExtFanPowerStatus function.
Supported Platform(s): XL, XM
status | Enabled/Disabled |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getExtOnOffSigTrigTime | ( | CONFIGHANDLE | , |
uint32_t * | triggertime | ||
) |
Get external on/off signal trigger time.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
triggertime | Time in seconds that the external signal has to be low for the unit to enter suspend mode or shut down (trigger an action). This time can be set from one second up to several years, if needed. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getFrontBtnTrigTime | ( | CONFIGHANDLE | , |
uint16_t * | triggertime | ||
) |
Get front button trigger time for long press.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2
triggertime | Time in milliseconds that the button has to be pressed for the press to count as a long button press. A button press twice this time will generate a hard shut down. If this time is set under 4000ms, the hard shut down minimum time of 8s is used instead. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getHeatingTempLimit | ( | CONFIGHANDLE | , |
int16_t * | temperature | ||
) |
Get the temperature limit for heating. When temperature is below this limit, the system is internally heated until the temperature rises above the limit. The default and minimum value is -25 degrees Celsius. The maximum value is +5 degrees Celsius.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA
temperature | The current heating limit, in degrees Celsius (-25 to +5) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getLongBeepSettings | ( | CONFIGHANDLE | , |
uint16_t * | duration, | ||
uint16_t * | frequency, | ||
uint16_t * | volume | ||
) |
Get Long Beep Settings The computer issues a long beep at certain system events, for example a long button press. This beep may be configured or disabled by setting any of the parameters to 0.
Supported Platform(s): VS, V700
duration | Long beep duration (ms) |
frequency | Long beep frequency (Hz) |
volume | Long beep volume (0-2000) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getLongButtonPressAction | ( | CONFIGHANDLE | , |
PowerAction * | action | ||
) |
Get long button press action. Gets the configured action for a long button press: NoAction, ActionSuspend or ActionShutDown. A long button press is determined by the FrontBtnTrigTime.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2
action | The configured action. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getNextBootMode | ( | CONFIGHANDLE | , |
BootModeEnum * | mode | ||
) |
Get BootMode for next boot
Supported Platform(s): VS, VI2, V700
mode | Next BootMode |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getOnOffSigAction | ( | CONFIGHANDLE | , |
PowerAction * | action | ||
) |
Get On/Off signal action. Gets the configured action for an On/Off signal event: NoAction, ActionSuspend or ActionShutDown. An On/Off signal event is determined by the ExtOnOffSigTrigTime.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
action | The configured action. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getOnOffSignalState | ( | CONFIGHANDLE | , |
CCStatus * | enabled | ||
) |
Get OnOff signal state
Supported Platform(s): XM9, XL5, XA, XS, VC, VA, VS, VI2, V700
enabled | Is OnOff signal enabled/disabled |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getOnOffTriggerMode | ( | CONFIGHANDLE | , |
ConfigOnOffTriggerMode * | mode | ||
) |
Get OnOff/Ignition/KeySwitch signal trigger mode.
Supported Platform(s): XM9, XL5, XA, XS, VC, VA, VS, VI2, V700
mode | Signal trigger mode. See ConfigOnOffTriggerMode for details |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getOSAliveMonitoring | ( | CONFIGHANDLE | , |
CCStatus * | enabled | ||
) |
Get OS Alive Monitoring
Supported Platform(s): VS, VI2, V700
enabled | Is OS Alive monitoring enabled/disabled |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getPowerOnStartup | ( | CONFIGHANDLE | , |
CCStatus * | status | ||
) |
Get power on start-up behavior. If enabled, the unit always starts when power is turned on, disregarding the setting for StartupTriggerConfig at that time. The StartupTriggerConfig still applies if the unit is shut down or suspended, without removing the power supply.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
status | Enabled/Disabled |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getRS485Enabled | ( | CONFIGHANDLE | , |
RS4XXPort | port, | ||
bool * | enabled | ||
) |
Get RS485 mode configuration for RS4XX port.
Supported Platform(s): XA, XS
port | RS4XX port (RS4XXPort1-4) |
enabled | Is the RS485 port enabled (true/false) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getShortBeepSettings | ( | CONFIGHANDLE | , |
uint16_t * | duration, | ||
uint16_t * | frequency, | ||
uint16_t * | volume | ||
) |
Get Short Beep Settings The computer issues a short beep at certain system events such as boot or button press. This beep may be configured or disabled by setting any of the parameters to 0.
Supported Platform(s): VS, V700
duration | Short beep duration (ms) |
frequency | Short beep frequency (Hz) |
volume | Short beep volume (0-2000) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getShortButtonPressAction | ( | CONFIGHANDLE | , |
PowerAction * | action | ||
) |
Get short button press action. Gets the configured action for a short button press: NoAction, ActionSuspend or ActionShutDown.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2
action | The configured action. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getStartupTriggerConfig | ( | CONFIGHANDLE | , |
TriggerConf * | config | ||
) |
Get Start-up trigger configuration. Is the front button and/or the external on/off (ignition) signal enabled as triggers for startup and wake up from suspended mode? VC platform: CI state change and Can activity also available as wakeup triggers from suspend mode. See enum TriggerConf for more details.
Supported Platform(s): XL, XM, XL5, XM9, XS, XA, VC, VA, VS, VI2, V700
config | See enum TriggerConf. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getStartupVoltageConfig | ( | CONFIGHANDLE | , |
float64_t * | voltage | ||
) |
Get the voltage threshold required for startup. The external voltage must be stable above this value for the unit to start up. The default and minimum value is 9V. It could be set to a higher value for a 24V system.
Supported Platform(s): XL, XM
voltage | The current voltage setting. (9V .. 28V) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getSuspendMaxTime | ( | CONFIGHANDLE | , |
uint16_t * | maxTime | ||
) |
Get suspend mode maximum time.
Supported Platform(s): XL, XM, XM9 (CC Linux), VC, VA, VS, VI2, V700
maxTime | Maximum suspend time in minutes. After this time in suspended mode, the unit will shut down to save power. A value of 0 means that the automatic shut down function is not used. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getVideoStartupPowerConfig | ( | CONFIGHANDLE | , |
uint8_t * | config | ||
) |
Get Video power at startup configuration. The status of Video power at startup and at resume from suspended mode. At resume from suspend, this setting overrides the setting of the setVideoPowerStatus function.
Supported Platform(s): XL, XM, XS, XA
config | Bitwise representation of the four video channels. See the VideoXConf defines. if the bit is 1, the power is enabled, else disabled. |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::Config_release | ( | CONFIGHANDLE | ) |
Delete the Config object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setButtonFunction | ( | CONFIGHANDLE | , |
uint8_t | button_number, | ||
ButtonConfigEnum | button_config | ||
) |
Set button function configuration
Supported Platform(s): VC, VA, VS, VI2
button_number | Which button to configure (1-MAX_BUTTONS) |
button_config | Bitfield for button configuration, see enum ButtonConfigEnum for details. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setCanStartupPowerConfig | ( | CONFIGHANDLE | , |
CCStatus | status | ||
) |
Set Can power at startup configuration. The status of Can power at startup and at resume from suspended mode. At resume from suspend, this setting overrides the setting of the setCanPowerStatus function.
Supported Platform(s): XL, XM, XS, XA
status | Enabled/Disabled |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setDigPowerOutputStartupConfig | ( | CONFIGHANDLE | , |
PowerOutput | output, | ||
CCStatus | enabled | ||
) |
Set power output startup configuration. Power outputs 1 and 2 can be set to be turned on automatically at system startup.
Supported Platform(s): VS
output | Select power output (PowerOutput1 or PowerOutput2). |
enabled | Configure the power output to be enabled at startup. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setExtFanStartupPowerConfig | ( | CONFIGHANDLE | , |
CCStatus | status | ||
) |
Set External fan power at startup configuration. The status at startup and at resume from suspended mode. At resume from suspend, this setting overrides the setting of the setExtFanPowerStatus function.
Supported Platform(s): XL, XM
status | Enabled/Disabled |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setExtOnOffSigTrigTime | ( | CONFIGHANDLE | , |
uint32_t | triggertime | ||
) |
Set external on/off signal trigger time.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
triggertime | Time in seconds that the external signal has to be low for the unit to enter suspend mode or shut down (trigger an action). This time can be set from one second up to several years, if needed. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setFrontBtnTrigTime | ( | CONFIGHANDLE | , |
uint16_t | triggertime | ||
) |
Set front button trigger time for long press.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2
triggertime | Time in milliseconds that the button has to be pressed for the press to count as a long button press. A button press twice this time will generate a hard shut down. If this time is set under 4000ms, the hard shut down minimum time of 8s is used instead. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setHeatingTempLimit | ( | CONFIGHANDLE | , |
int16_t | temperature | ||
) |
Set the temperature limit for heating. When temperature is below this limit, the system is internally heated until the temperature rises above the limit. The default and minimum value is -25 degrees Celsius. The maximum value is +5 degrees Celsius.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA
temperature | The heating limit, in degrees Celsius (-25 to +5) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setLongBeepSettings | ( | CONFIGHANDLE | , |
uint16_t | duration, | ||
uint16_t | frequency, | ||
uint16_t | volume | ||
) |
Set Long Beep Settings The computer issues a long beep at certain system events, for example a long button press. This beep may be configured or disabled by setting any of the parameters to 0.
Supported Platform(s): VS, V700
duration | Long beep duration (ms) |
frequency | Long beep frequency (Hz) |
volume | Long beep volume (0-2000) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setLongButtonPressAction | ( | CONFIGHANDLE | , |
PowerAction | action | ||
) |
Set long button press action. Sets the configured action for a long button press: NoAction, ActionSuspend or ActionShutDown. A long button press is determined by the FrontBtnTrigTime.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2
action | The action to set. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setNextBootMode | ( | CONFIGHANDLE | , |
BootModeEnum | mode | ||
) |
Set BootMode for next boot. Default mode is restored after boot.
Supported Platform(s): VS, VI2, V700
mode | BootMode for next boot. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setOnOffSigAction | ( | CONFIGHANDLE | , |
PowerAction | action | ||
) |
Set On/Off signal action. Sets the configured action for an On/Off signal event: NoAction, ActionSuspend or ActionShutDown. An On/Off signal event is determined by the ExtOnOffSigTrigTime.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
action | The action to set. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setOnOffTriggerMode | ( | CONFIGHANDLE | , |
ConfigOnOffTriggerMode | mode | ||
) |
Set OnOff/Ignition/KeySwitch signal trigger mode.
Supported Platform(s): XM9, XL5, XA, XS, VC, VA, VS, VI2, V700
mode | Signal trigger mode. See ConfigOnOffTriggerMode for details |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setOSAliveMonitoring | ( | CONFIGHANDLE | , |
CCStatus | enabled | ||
) |
Set OS Alive Monitoring
Supported Platform(s): VS, VI2, V700
enabled | Enable/Disable OS Alive Monitoring |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setPowerOnStartup | ( | CONFIGHANDLE | , |
CCStatus | status | ||
) |
Set power on start-up behavior. If enabled, the unit always starts when power is turned on, disregarding the setting for StartupTriggerConfig at that time. The StartupTriggerConfig still applies if the unit is shut down or suspended, without removing the power supply.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
status | Enabled/Disabled |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setRS485Enabled | ( | CONFIGHANDLE | , |
RS4XXPort | port, | ||
bool | enabled | ||
) |
Set RS485 mode enabled or disabled for RS4XX port.
Supported Platform(s): XA, XS
port | RS4XX port (RS4XXPort1-4) |
enabled | RS485 enabled (true/false) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setShortBeepSettings | ( | CONFIGHANDLE | , |
uint16_t | duration, | ||
uint16_t | frequency, | ||
uint16_t | volume | ||
) |
Set Short Beep Settings The computer issues a short beep at certain system events such as boot or button press. This beep may be configured or disabled by setting any of the parameters to 0.
Supported Platform(s): VS, V700
duration | Short beep duration (ms) |
frequency | Short beep frequency (Hz) |
volume | Short beep volume (0-2000) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setShortButtonPressAction | ( | CONFIGHANDLE | , |
PowerAction | action | ||
) |
Set short button press action. Sets the configured action for a short button press: NoAction, ActionSuspend or ActionShutDown.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2
action | The action to set. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setStartupTriggerConfig | ( | CONFIGHANDLE | , |
TriggerConf | conf | ||
) |
Set Start-up trigger configuration. Should the front button and/or the external on/off (ignition) signal be enabled as triggers for startup and wake up from suspended mode? VC,VA platforms: CI state change and Can activity also available as wakeup triggers from suspend mode. See enum TriggerConf for more details.
Supported Platform(s): XL, XM, XS, XA, VC, VA, VS, VI2
conf | See enum TriggerConf. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setStartupVoltageConfig | ( | CONFIGHANDLE | , |
float64_t | voltage | ||
) |
Set the voltage threshold required for startup. The external voltage must be stable above this value for the unit to start up. The default and minimum value is 9V. It could be set to a higher value for a 24V system.
Supported Platform(s): XL, XM
voltage | The voltage to set (9V .. 28V). |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setSuspendMaxTime | ( | CONFIGHANDLE | , |
uint16_t | maxTime | ||
) |
Set suspend mode maximum time.
Supported Platform(s): XL, XM, XM9 (CC Linux), VC, VA, VS, VI2, V700
maxTime | Maximum suspend time in minutes. After this time in suspended mode, the unit will shut down to save power. A value of 0 means that this function is not used. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setVideoStartupPowerConfig | ( | CONFIGHANDLE | , |
uint8_t | config | ||
) |
Set Video power at startup configuration. The status of Video power at startup and at resume from suspended mode. At resume from suspend, this setting overrides the setting of the setVideoPowerStatus function.
Supported Platform(s): XL, XM, XS, XA
config | Bitwise representation of the four video channels. See the VideoXConf defines. if the bit is 1, the power is enabled, else disabled. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Diagnostic_clearHwErrorStatus | ( | DIAGNOSTICHANDLE | ) |
Clear the HW error status (this function is used by the CrossControl service/daemon to log any hardware errors)
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Diagnostic_getHwErrorStatus | ( | DIAGNOSTICHANDLE | , |
uint16_t * | errorCode | ||
) |
Get hardware error code. If hardware errors are found or other problems are discovered by the SS, they are reported here. See DiagnosticCodes.h for error codes.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
errorCode | Error code. Zero means no error. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Diagnostic_getMinMaxTemp | ( | DIAGNOSTICHANDLE | , |
int16_t * | minTemp, | ||
int16_t * | maxTemp | ||
) |
Get diagnostic temperature interval of the unit.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
minTemp | Minimum measured PCB temperature. |
maxTemp | Maximum measured PCB temperature. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Diagnostic_getPCBTemp | ( | DIAGNOSTICHANDLE | , |
int16_t * | temperature | ||
) |
Get PCB temperature.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
temperature | PCB Temperature in degrees Celsius. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Diagnostic_getPMTemp | ( | DIAGNOSTICHANDLE | , |
uint8_t | index, | ||
int16_t * | temperature, | ||
JidaSensorType * | jst | ||
) |
Get Processor Module temperature. This temperature is read from the Kontron JIDA API or Congatec CGOS API. These API's also has a number of other functions, please see the JIDA/CGOS documentation for how to use them separately.
index | Zero-based index of the temperature sensor. Different boards may have different number of sensors. CCpilot XM and XL currently has 2 sensors, board and cpu. An error is returned if the index is not supported. CCpliot XM 2.0 supports only one sensor, CPU temperature. |
Supported Platform(s): XL, XM
temperature | Temperature in degrees Celsius. |
jst | The type of sensor that is being read. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Diagnostic_getPowerCycles | ( | DIAGNOSTICHANDLE | , |
uint16_t * | powerCycles | ||
) |
Get number of power cycles.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
powerCycles | Total number of power cycles. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Diagnostic_getShutDownReason | ( | DIAGNOSTICHANDLE | , |
uint16_t * | reason | ||
) |
Get shutdown reason.
Supported Platform(s): XL, XM
reason | See DiagnosticCodes.h for shutdown codes. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Diagnostic_getSSTemp | ( | DIAGNOSTICHANDLE | , |
int16_t * | temperature | ||
) |
Get System Supervisor temperature.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
temperature | System Supervisor temperature in degrees Celsius. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Diagnostic_getStartupReason | ( | DIAGNOSTICHANDLE | , |
uint16_t * | reason | ||
) |
Get startup reason.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
reason | See DiagnosticCodes.h for startup codes. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Diagnostic_getTimer | ( | DIAGNOSTICHANDLE | , |
TimerType * | times | ||
) |
Get diagnostic timer.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
times | Get a struct with the current diagnostic times. |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::Diagnostic_release | ( | DIAGNOSTICHANDLE | ) |
Delete the Diagnostic object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::DigIO_getDigIO | ( | DIGIOHANDLE | , |
uint8_t * | status | ||
) |
Get Digital inputs.
Supported Platform(s): XL, XM, XS, XA
status | Status of the four digital input pins. Bit0: Digital input 1. Bit1: Digital input 2. Bit2: Digital input 3. Bit3: Digital input 4. Bit 4..7 are always zero. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::DigIO_getDigPowerOutput | ( | DIGIOHANDLE | , |
PowerOutput | output, | ||
CCStatus * | enabled, | ||
uint8_t * | status | ||
) |
Get digital power output status.
Supported Platform(s): VS
output | Which output to read |
enabled | State of the power output signal. |
status | Error status of the power output signal. |
Error status: The error status byte can be used to detect certain error conditions. If the error status byte is set to 0, this indicates an error (1 is no error).
If the signal state is Enabled (high), the following error conditions gererates an error status: "Short circuit to GND" or "Over temperature". SS monitors the signal and turns it off immediately if an error is indicated when the signal has been set high. This means that "enabled" will be read as disabled and in this case the status may have any value - although in most cases it will be set to no error since the signal is now turned off.
If the signal is disabled (low), these error conditions generates an error status: "Short circuit to VDD" or "Off state open load".
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::DigIO_release | ( | DIGIOHANDLE | ) |
Delete the DigIO object.
Supported Platform(s): XL, XM, XS, XA
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::DigIO_setDigIO | ( | DIGIOHANDLE | , |
uint8_t | state | ||
) |
Set Digital outputs.
Supported Platform(s): XA, XS
state | State of the four digital output pins. Bit0: Digital output 1. Bit1: Digital output 2. Bit2: Digital output 3. Bit3: Digital output 4. Bit 4..7 not used. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::DigIO_setDigPowerOutput | ( | DIGIOHANDLE | , |
PowerOutput | output, | ||
CCStatus | enabled | ||
) |
Set Digital power outputs.
Supported Platform(s): VS
output | The output to set |
enabled | State of the power output signal. |
Outputs 1 and 2 can also be set to be turned on automatically at system startup using: Config_setDigPowerOutputStartupConfig.
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_getUpgradeStatus | ( | FIRMWAREUPGHANDLE | , |
UpgradeStatus * | status, | ||
bool | blocking | ||
) |
Gets the status of an upgrade operation. The upgrade status is common for all upgrade and verification methods.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
status | The current status of the upgrade operation. |
blocking | Whether or not the function should wait until a new status event has been reported. If blocking is set to false, the function will return immediately with the current status. |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_release | ( | FIRMWAREUPGHANDLE | ) |
Delete the FirmwareUpgrade object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_shutDown | ( | FIRMWAREUPGHANDLE | ) |
Shut down the operating system.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_startFpgaUpgrade | ( | FIRMWAREUPGHANDLE | , |
const char_t * | filename, | ||
bool | blocking | ||
) |
Start an upgrade of the FPGA. After a FPGA upgrade, the system should be shut down. Full functionality of the system cannot be guaranteed until a fresh startup has been performed.
Supported Platform(s): XL, XM, XS, XA, VS
filename | Path and filename to the .mcs file to program. |
blocking | Whether or not the function should wait until completion. If blocking is set to false, the function will return immediately. One must then call getUpgradeStatus to get the status of the upgrade operation. If blocking is set to true, the function will return when the operation is complete. This might take a few minutes. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_startFpgaVerification | ( | FIRMWAREUPGHANDLE | , |
const char_t * | filename, | ||
bool | blocking | ||
) |
Start a verification of the FPGA. Verifies the FPGA against the file to program. This could be useful if verification during programming fails.
Supported Platform(s): XL, XM, XS, XA, VS
filename | Path and filename to the .mcs file to verify against. |
blocking | Whether or not the function should wait until completion. If blocking is set to false, the function will return immediately. One must then call getUpgradeStatus to get the status of the operation. If blocking is set to true, the function will return when the operation is complete. This might take a few minutes. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_startFrontUpgrade | ( | FIRMWAREUPGHANDLE | , |
const char_t * | filename, | ||
bool | blocking | ||
) |
Start an upgrade of the front microprocessor. After a front upgrade, the system should be shut down. The front will not work until a fresh startup has been performed.
Supported Platform(s): XL, XM, XS, XA
filename | Path and filename to the .hex file to program. |
blocking | Whether or not the function should wait until completion. If blocking is set to false, the function will return immediately. One must then call fpgaUpgradeStatus to get the status of the upgrade operation. If blocking is set to true, the function will return when the operation is complete. This might take a few minutes. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_startFrontVerification | ( | FIRMWAREUPGHANDLE | , |
const char_t * | filename, | ||
bool | blocking | ||
) |
Start a verification of the front microprocessor. Verifies the front microprocessor against the file to program. This could be useful if verification during programming fails.
Supported Platform(s): XL, XM, XS, XA
filename | Path and filename to the .hex file to verify against. |
blocking | Whether or not the function should wait until completion. If blocking is set to false, the function will return immediately. One must then call getUpgradeStatus to get the status of the operation. If blocking is set to true, the function will return when the operation is complete. This might take a few minutes. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_startSSUpgrade | ( | FIRMWAREUPGHANDLE | , |
const char_t * | filename, | ||
bool | blocking | ||
) |
Start an upgrade of the System Supervisor microprocessor (SS). After an SS upgrade, the system must be shut down. The SS handles functions for shutting down of the computer. In order to shut down after an upgrade, shut down the OS and then toggle the power. The backlight will still be on after the OS has shut down.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
filename | Path and filename to the .hex file to program. |
blocking | Whether or not the function should wait until completion. If blocking is set to false, the function will return immediately. One must then call fpgaUpgradeStatus to get the status of the upgrade operation. If blocking is set to true, the function will return when the operation is complete. This might take a few minutes. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_startSSVerification | ( | FIRMWAREUPGHANDLE | , |
const char_t * | filename, | ||
bool | blocking | ||
) |
Start a verification of the System Supervisor microprocessor (SS). Verifies the SS against the file to program. This could be useful if verification during programming fails.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
filename | Path and filename to the .hex file to verify against. |
blocking | Whether or not the function should wait until completion. If blocking is set to false, the function will return immediately. One must then call getUpgradeStatus to get the status of the operation. If blocking is set to true, the function will return when the operation is complete. This might take a few minutes. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_getBootLEDConfig | ( | FRONTLEDHANDLE | , |
uint8_t * | red, | ||
uint8_t * | green, | ||
uint8_t * | blue, | ||
float32_t * | frequency, | ||
uint8_t * | dutyCycle | ||
) |
Get LED configuration during system boot. The behavior of the LED in terms of color (intensity) and blink frequency may be configured during system boot. Note that FrontLED_setEnabledDuringStartup overrides these settings, it has to be enabled for these settings to apply. Also note that the frequency limitations mentioned in the description of FrontLED_setSignal also apply here.
Supported Platform(s): VS, VI2, V700
red | Red color intensity 0-0x0F. |
green | Green color intensity 0-0x0F. |
blue | Blue color intensity 0-0x0F. |
frequency | LED blink frequency (0.2-50 Hz). |
dutyCycle | LED on duty cycle (0-100%). |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_getColor | ( | FRONTLEDHANDLE | , |
uint8_t * | red, | ||
uint8_t * | green, | ||
uint8_t * | blue | ||
) |
Get front LED color mix.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
On the VC, VA platforms - the blue parameter gets the button backlight intensity (0-15)
red | Red color intensity 0-0x0F. |
green | Green color intensity 0-0x0F. |
blue | Blue color intensity 0-0x0F. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_getEnabledDuringStartup | ( | FRONTLEDHANDLE | , |
CCStatus * | status | ||
) |
Is the front LED enabled during startup? If enabled, the LED will blink yellow to indicate startup progress. It will turn green once the OS has started.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
status | LED Enabled or Disabled during startup. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_getIdleTime | ( | FRONTLEDHANDLE | , |
uint8_t * | idleTime | ||
) |
Get front LED idle time.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
idleTime | Time in 100ms increments. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_getNrOfPulses | ( | FRONTLEDHANDLE | , |
uint8_t * | nrOfPulses | ||
) |
Get number of pulses during a blink sequence.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
nrOfPulses | Number of pulses. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_getOffTime | ( | FRONTLEDHANDLE | , |
uint8_t * | offTime | ||
) |
Get front LED off time.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
offTime | Time in 10ms increments. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_getOnTime | ( | FRONTLEDHANDLE | , |
uint8_t * | onTime | ||
) |
Get front LED on time.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
onTime | Time in 10ms increments. 0 = off |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_getPostBootLEDConfig | ( | FRONTLEDHANDLE | , |
uint8_t * | red, | ||
uint8_t * | green, | ||
uint8_t * | blue, | ||
float32_t * | frequency, | ||
uint8_t * | dutyCycle | ||
) |
Get LED configuration after system boot. The behavior of the LED in terms of color (intensity) and blink frequency may be configured. The system will set the LED to this state when the operating system has booted. The LED settings may after this time, at any time, be overridden by other FrontLED functions. Note that FrontLED_setEnabledDuringStartup overrides these settings, it has to be enabled for these settings to apply. Also note that the frequency limitations mentioned in the description of FrontLED_setSignal also apply here.
Supported Platform(s): VS, VI2, V700
red | Red color intensity 0-0x0F. |
green | Green color intensity 0-0x0F. |
blue | Blue color intensity 0-0x0F. |
frequency | LED blink frequency (0.2-50 Hz). |
dutyCycle | LED on duty cycle (0-100%). |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_getSignal | ( | FRONTLEDHANDLE | , |
float64_t * | frequency, | ||
uint8_t * | dutyCycle | ||
) |
Get front LED signal. Note, the values may vary from previously set values with setSignal. This is due to precision-loss in approximations.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
frequency | LED blink frequency (0.2-50 Hz). |
dutyCycle | LED on duty cycle (0-100%). |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_getStandardColor | ( | FRONTLEDHANDLE | , |
CCAuxColor * | color | ||
) |
Get front LED color from a set of standard colors. If the color is not one of the predefined colors, UNDEFINED_COLOR will be returned. It is not recommended to use this function on the VC or VA platforms.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
color | Color from CCAuxColor enum. |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::FrontLED_release | ( | FRONTLEDHANDLE | ) |
Delete the FrontLED object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_setBootLEDConfig | ( | FRONTLEDHANDLE | , |
uint8_t | red, | ||
uint8_t | green, | ||
uint8_t | blue, | ||
float32_t | frequency, | ||
uint8_t | dutyCycle | ||
) |
Set LED configuration during system boot. The behavior of the LED in terms of color (intensity) and blink frequency may be configured during system boot. Note that FrontLED_setEnabledDuringStartup overrides these settings, it has to be enabled for these settings to apply. Also note that the frequency limitations mentioned in the description of FrontLED_setSignal also apply here.
Supported Platform(s): VS, VI2, V700
red | Red color intensity 0-0x0F. |
green | Green color intensity 0-0x0F. |
blue | Blue color intensity 0-0x0F. |
frequency | LED blink frequency (0.2-50 Hz). |
dutyCycle | LED on duty cycle (0-100%). |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_setColor | ( | FRONTLEDHANDLE | , |
uint8_t | red, | ||
uint8_t | green, | ||
uint8_t | blue | ||
) |
Set front LED color mix.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
On the VC, VA platforms - use the blue parameter to set the button backlight intensity (0-15)
red | Red color intensity 0-0x0F. |
green | Green color intensity 0-0x0F. |
blue | Blue color intensity 0-0x0F. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_setEnabledDuringStartup | ( | FRONTLEDHANDLE | , |
CCStatus | status | ||
) |
Should the front LED be enabled during startup? If enabled, the LED will blink yellow to indicate startup progress. It will turn green once the OS has started.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
status | Enable or Disable the LED during startup. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_setIdleTime | ( | FRONTLEDHANDLE | , |
uint8_t | idleTime | ||
) |
Get front LED idle time.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
idleTime | Time in 100ms. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_setNrOfPulses | ( | FRONTLEDHANDLE | , |
uint8_t | nrOfPulses | ||
) |
Set front LED number of pulses during a blink sequence.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
nrOfPulses | Number of pulses. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_setOff | ( | FRONTLEDHANDLE | ) |
Set front LED off.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_setOffTime | ( | FRONTLEDHANDLE | , |
uint8_t | offTime | ||
) |
Set front LED off time.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
offTime | Time in 10ms increments. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_setOnTime | ( | FRONTLEDHANDLE | , |
uint8_t | onTime | ||
) |
Set front LED on time.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
onTime | Time in 10ms increments. 0 = off |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_setPostBootLEDConfig | ( | FRONTLEDHANDLE | , |
uint8_t | red, | ||
uint8_t | green, | ||
uint8_t | blue, | ||
float32_t | frequency, | ||
uint8_t | dutyCycle | ||
) |
Set LED configuration after system boot. The behavior of the LED in terms of color (intensity) and blink frequency may be configured. The system will set the LED to this state when the operating system has booted. The LED settings may after this time, at any time, be overridden by other FrontLED functions. Note that FrontLED_setEnabledDuringStartup overrides these settings, it has to be enabled for these settings to apply. Also note that the frequency limitations mentioned in the description of FrontLED_setSignal also apply here.
Supported Platform(s): VS, VI2, V700
red | Red color intensity 0-0x0F. |
green | Green color intensity 0-0x0F. |
blue | Blue color intensity 0-0x0F. |
frequency | LED blink frequency (0.2-50 Hz). |
dutyCycle | LED on duty cycle (0-100%). |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_setSignal | ( | FRONTLEDHANDLE | , |
float64_t | frequency, | ||
uint8_t | dutyCycle | ||
) |
Set front LED signal.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
frequency | LED blink frequency (0.2-50 Hz). |
dutyCycle | LED on duty cycle (0-100%). |
Note: The hardware cannot be set to have an on or off time of the LED that's longer than 2.55s (255*10ms) Hence there are limitations in this function when using frequencies slower than 0.39Hz. At 0.38Hz, the valid duty cycle range is [3 - 97]. At 0.30Hz, the valid duty cycle range is [24 - 76]. At 0.20Hz, the valid duty cycle range is [49 - 51]. At 0.19Hz and slower, the behavior is undefined for all duty cycles, so this is not allowed to be set. Additionally, the hardware cannot be set to have an on or off time of the LED that's shorter than 10ms. Hence, there are limitations in this function when using high frequencies. At 50 Hz, the valid duty cycle range is [50]. At 30 Hz, the valid duty cycle range is [30-70]. At 10 Hz, the valid duty cycle range is [10-90]. At 2 Hz, the valid duty cycle range is [2-98]. The behavior is undefined outside these ranges but setting 0% or 100% duty cycle will always work, regardless of the frequency. If you need to blink in an unsupported range, it can be done with a software timer instead.
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_setStandardColor | ( | FRONTLEDHANDLE | , |
CCAuxColor | color | ||
) |
Set one of the front LED standard colors. It is not recommended to use this function on the VC/VA/VI2 platform.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
color | Color from CCAuxColor enum. |
Example Usage:
EXTERN_C CCAUXDLL_API ABOUTHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetAbout | ( | void | ) |
Factory function that creates instances of the About object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
Returns NULL if it fails to allocate memory.
Example Usage:
EXTERN_C CCAUXDLL_API ADCHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetAdc | ( | void | ) |
Factory function that creates instances of the Adc object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
Returns NULL if it fails to allocate memory.
Example Usage:
EXTERN_C CCAUXDLL_API AUXVERSIONHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetAuxVersion | ( | void | ) |
Factory function that creates instances of the AuxVersion object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
Example Usage:
EXTERN_C CCAUXDLL_API BACKLIGHTHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetBacklight | ( | void | ) |
Factory function that creates instances of the Backlight object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
Example Usage:
EXTERN_C CCAUXDLL_API BATTERYHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetBattery | ( | void | ) |
Factory function that creates instances of the Battery object.
Supported Platform(s): XM
Example Usage:
EXTERN_C CCAUXDLL_API BUZZERHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetBuzzer | ( | void | ) |
Factory function that creates instances of the Buzzer object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
Example Usage:
EXTERN_C CCAUXDLL_API CANSETTINGHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetCanSetting | ( | void | ) |
Factory function that creates instances of the CanSetting object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
Example Usage:
EXTERN_C CCAUXDLL_API CFGINHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetCfgIn | ( | void | ) |
Factory function that creates instances of the CfgIn object.
Supported Platform(s): VC, VA, VS, VI2
Example Usage:
EXTERN_C CCAUXDLL_API CONFIGHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetConfig | ( | ) |
Video channel 4 config
Factory function that creates instances of the Config object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
Example Usage:
EXTERN_C CCAUXDLL_API DIAGNOSTICHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetDiagnostic | ( | void | ) |
Factory function that creates instances of the Diagnostic object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
Example Usage:
EXTERN_C CCAUXDLL_API DIGIOHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetDigIO | ( | void | ) |
Factory function that creates instances of the DigIO object.
Supported Platform(s): XL, XM, XS, XA
Example Usage:
EXTERN_C CCAUXDLL_API char_t const* CCAUXDLL_CALLING_CONV CrossControl::GetErrorStringA | ( | eErr | errCode | ) |
to get a string description.
Get a string description of an error code.
Supported Platform(s): XL, XM, XS, XA, VS, VI2
errCode | An error code for which to get a string description. |
EXTERN_C CCAUXDLL_API wchar_t const* CCAUXDLL_CALLING_CONV CrossControl::GetErrorStringW | ( | eErr | errCode | ) |
Get a string description of an error code.
Supported Platform(s): XL, XM, XS, XA, VS, VI2
errCode | An error code for which |
EXTERN_C CCAUXDLL_API FIRMWAREUPGHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetFirmwareUpgrade | ( | void | ) |
Factory function that creates instances of the FirmwareUpgrade object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
Example Usage:
EXTERN_C CCAUXDLL_API FRONTLEDHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetFrontLED | ( | void | ) |
Factory function that creates instances of the FrontLED object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
Example Usage:
EXTERN_C CCAUXDLL_API char_t const* CCAUXDLL_CALLING_CONV CrossControl::GetHwErrorStatusStringA | ( | uint16_t | errCode | ) |
Get a string description of an error code returned from getHwErrorStatus.
Supported Platform(s): All
errCode | An error code for which to get a string description. |
EXTERN_C CCAUXDLL_API wchar_t const* CCAUXDLL_CALLING_CONV CrossControl::GetHwErrorStatusStringW | ( | uint16_t | errCode | ) |
Get a string description of an error code returned from getHwErrorStatus.
Supported Platform(s): All
errCode | An error code for which to get a string description. |
EXTERN_C CCAUXDLL_API LIGHTSENSORHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetLightsensor | ( | void | ) |
Factory function that creates instances of the Lightsensor object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, V700
Example Usage:
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
Example Usage:
EXTERN_C CCAUXDLL_API POWERMGRHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetPowerMgr | ( | void | ) |
Factory function that creates instances of the PowerMgr object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
Example Usage:
EXTERN_C CCAUXDLL_API PWMOUTHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetPWMOut | ( | void | ) |
Factory function that creates instances of the PWMOut object.
Supported Platform(s): VC, VA, VI2
Example Usage:
EXTERN_C CCAUXDLL_API SMARTHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetSmart | ( | void | ) |
Factory function that creates instances of the Smart object.
Supported Platform(s): XL, XM
Example Usage:
EXTERN_C CCAUXDLL_API SOFTKEYHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetSoftKey | ( | void | ) |
Factory function that creates instances of the SoftKey object.
Supported Platform(s): VI2
Returns NULL if it fails to allocate memory.
Example Usage:
EXTERN_C CCAUXDLL_API char_t const* CCAUXDLL_CALLING_CONV CrossControl::GetStartupReasonStringA | ( | uint16_t | code | ) |
Get a string description of a startup reason code returned from getStartupReason.
Supported Platform(s): All
code | A code for which to get a string description. |
EXTERN_C CCAUXDLL_API wchar_t const* CCAUXDLL_CALLING_CONV CrossControl::GetStartupReasonStringW | ( | uint16_t | code | ) |
Get a string description of a startup reason code returned from getStartupReason.
Supported Platform(s): All
code | A code for which to get a string description. |
EXTERN_C CCAUXDLL_API TELEMATICSHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetTelematics | ( | void | ) |
Factory function that creates instances of the Telematics object.
Supported Platform(s): XM, XA, XS
Example Usage:
EXTERN_C CCAUXDLL_API TOUCHSCREENHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetTouchScreen | ( | void | ) |
Factory function that creates instances of the TouchScreen object.
Supported Platform(s): XL, XM, XS, XA
Example Usage:
EXTERN_C CCAUXDLL_API TOUCHSCREENCALIBHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetTouchScreenCalib | ( | void | ) |
Factory function that creates instances of the TouchScreenCalib object.
Supported Platform(s): XL, XM, XS, XA
EXTERN_C CCAUXDLL_API VIDEOHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetVideo | ( | void | ) |
Factory function that creates instances of the Video object.
Supported Platform(s): XL, XM, XS, XA, VC, VA, VS
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Lightsensor_getAverageIlluminance | ( | LIGHTSENSORHANDLE | , |
uint16_t * | value | ||
) |
Get average illuminance (light) value from light sensor.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, V700
value | Illuminance value (Lux). |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Lightsensor_getIlluminance | ( | LIGHTSENSORHANDLE | , |
uint16_t * | value | ||
) |
Get illuminance (light) value from light sensor.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, V700
value | Illuminace value (Lux). |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Lightsensor_getIlluminance2 | ( | LIGHTSENSORHANDLE | , |
uint16_t * | value, | ||
uint8_t * | ch0, | ||
uint8_t * | ch1 | ||
) |
Get illuminance (light) value from light sensor. The parameters cho and ch1 are raw ADC values read from a TAOS TSL2550 lightsensor.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, V700
value | Illuminance value (Lux). |
ch0 | Channel0 value. (Not applicable on VC platform - always 0) |
ch1 | Channel1 value. (Not applicable on VC platform - always 0) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Lightsensor_getOperatingRange | ( | LIGHTSENSORHANDLE | , |
LightSensorOperationRange * | range | ||
) |
Get operating range. The light sensor can operate in two ranges. Standard and extended range. In standard range, the range is smaller but resolution higher. See the TSL2550 data sheet for more information. On the VC platform, the ranges correspond to 1000 and 4000 lux maximum value.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, V700
range | Operating range. RangeStandard or RangeExtended. |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::Lightsensor_release | ( | LIGHTSENSORHANDLE | ) |
Delete the Lightsensor object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, V700
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Lightsensor_setOperatingRange | ( | LIGHTSENSORHANDLE | , |
LightSensorOperationRange | range | ||
) |
Set operating range. The light sensor can operate in two ranges. Standard and extended range. In standard range, the range is smaller but resolution higher. See the TSL2550 data sheet for more information. On the VC platform, the ranges correspond to 1000 and 4000 lux maximum value.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, V700
range | Operating range to set. RangeStandard or RangeExtended. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Lightsensor_startAverageCalc | ( | LIGHTSENSORHANDLE | , |
uint32_t | averageWndSize, | ||
uint32_t | rejectWndSize, | ||
uint32_t | rejectDeltaInLux, | ||
LightSensorSamplingMode | mode | ||
) |
Start average calculation. The average calculation works by calculating the average from a number of consecutive samples, the average window size. The reject window is used to discard sudden changes or single extreme values of the measurement. If the difference of the maximum value and the minimum value in the number of samples in the reject delta window is larger than the reject delta, those samples are discarded.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, V700
averageWndSize | The average window size in nr of samples. |
rejectWndSize | The reject window size in nr of samples. |
rejectDeltaInLux | The reject delta in lux. |
mode | The configured sampling mode. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Lightsensor_stopAverageCalc | ( | LIGHTSENSORHANDLE | ) |
Stop average calculation.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, V700
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
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_getBLPowerStatus | ( | POWERHANDLE | , |
CCStatus * | status | ||
) |
Get backlight power status.
Supported Platform(s): XL, XM
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
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, 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, 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, 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, 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
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_setBLPowerStatus | ( | POWERHANDLE | , |
CCStatus | status | ||
) |
Set backlight power status.
Supported Platform(s): XL, XM
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, 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, 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) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::PowerMgr_getConfiguration | ( | POWERMGRHANDLE | , |
PowerMgrConf * | conf | ||
) |
Get the configuration that is in use.
Supported Platform(s): XL, XL5 ,XM, XM9, XS, XA, VC, VA, VS, VI2, V700
conf | The configuration in use. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::PowerMgr_getPowerMgrStatus | ( | POWERMGRHANDLE | , |
PowerMgrStatus * | status | ||
) |
Get the current status of the PowerMgr. This functions should be called periodically, to detect when suspend or shutdown requests arrive.
Supported Platform(s): XL, XL5 ,XM, XM9, XS, XA, VC, VA, VS, VI2, V700
status | The current status. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::PowerMgr_hasResumed | ( | POWERMGRHANDLE | , |
bool * | resumed | ||
) |
This function can be used in a suspend-resume scenario. After the application has used setAppReadyForSuspendOrShutdown() to init the suspend, this function may be polled in order to detect when the system is up and running again. Calling this function before calling setAppReadyForSuspendOrShutdown will return resumed = true.
Supported Platform(s): XL, XL5, XM, XM9 (CC Linux), VC, VA, VS, VI2, V700
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::PowerMgr_registerControlledSuspendOrShutDown | ( | POWERMGRHANDLE | , |
PowerMgrConf | conf | ||
) |
Configure the PowerMgr. Call this function once initially to turn on the functionality.
Supported Platform(s): XL, XL5 ,XM, XM9, XS, XA, VC, VA, VS, VI2, V700
conf | The configuration to use. |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::PowerMgr_release | ( | POWERMGRHANDLE | ) |
Delete the PowerMgr object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::PowerMgr_setAppReadyForSuspendOrShutdown | ( | POWERMGRHANDLE | ) |
Acknowledge that the application is ready for suspend/shutdown. Should be called after a request has been received in order to execute the request. The application must acknowledge a request within 20s from when it arrives.
Supported Platform(s): XL, XL5 ,XM, XM9, XS, XA, VC, VA, VS, VI2, V700
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::PWMOut_getPWMOutputChannelDutyCycle | ( | PWMOUTHANDLE | , |
uint8_t | channel, | ||
uint8_t * | duty_cycle | ||
) |
Get PWM Output channel duty cycle
Supported Platform(s): VC, VA, VI2
channel | Which channel to get value from There are two output channels, 1 or 2. |
duty_cycle | The read back duty cycle value NOTE: For low side PWM outputs, a duty cycle of 60% means 60% low, 40% high For high side PWM outputs, a duty cycle of 60% means 60% high, 40% low |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::PWMOut_getPWMOutputChannelFrequency | ( | PWMOUTHANDLE | , |
uint8_t | channel, | ||
float32_t * | frequency | ||
) |
Get PWM Output frequency for a channel
Supported Platform(s): VC, VA, VI2
channel | Which channel to set There are two output channels, 1 or 2. |
frequency | 0.0 - 5000.0 Hz frequency value |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::PWMOut_getPWMOutputStatus | ( | PWMOUTHANDLE | , |
uint8_t * | status | ||
) |
Get PWM Output status
Supported Platform(s): VC, VA, VI2
status | Read back status value Bit 0 represents PWM Output channel 1. Bit 1 represents PWM Output channel 2. If bit is set, it means unconnected, short to ground or over temperature detected. The output will be turned off when the error occurrs. The error status remains until the output is turned on successfully. |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::PWMOut_release | ( | PWMOUTHANDLE | ) |
Delete the PWMOut object.
Supported Platform(s): VC, VA, VI2
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::PWMOut_setPWMOutOff | ( | PWMOUTHANDLE | , |
uint8_t | channel | ||
) |
Turn off a PWM Output channel. This function sets both frequency and duty cycle to 0.
Supported Platform(s): VC, VA, VI2
channel | Which channel to set |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::PWMOut_setPWMOutputChannelDutyCycle | ( | PWMOUTHANDLE | , |
uint8_t | channel, | ||
uint8_t | duty_cycle | ||
) |
Set PWM Output Duty cycle for a channel
Supported Platform(s): VC, VA, VI2
channel | Which channel to set There are two output channels, 1 or 2. |
duty_cycle | Which duty cycle (0-100 %) to use NOTE: For low side PWM outputs, a duty cycle of 60% means 60% low, 40% high For high side PWM outputs, a duty cycle of 60% means 60% high, 40% low |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::PWMOut_setPWMOutputChannelFrequency | ( | PWMOUTHANDLE | , |
uint8_t | channel, | ||
float32_t | frequency | ||
) |
Set PWM Output frequency for a channel
Supported Platform(s): VC, VA, VI2
channel | Which channel to set There are two output channels, 1 or 2. |
frequency | 0.0 - 5000.0 Hz frequency value |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Smart_getDeviceSerial | ( | SMARTHANDLE | , |
char_t * | buff, | ||
int32_t | len | ||
) |
Get serial number of the secondary storage device.
Supported Platform(s): XL, XM
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. At least an 21 bytes buffer size must be used since the serial number can be 20 bytes + trailing zero. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Smart_getDeviceSerial2 | ( | SMARTHANDLE | , |
char_t * | buff, | ||
int32_t | len | ||
) |
Get serial number of the second secondary storage device. Use this function to access the second card if the the device uses two cards.
Supported Platform(s): XL
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. At least an 21 bytes buffer size must be used since the serial number can be 20 bytes + trailing zero. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Smart_getInitialTime | ( | SMARTHANDLE | , |
time_t * | time | ||
) |
Get the date/time when the SMART monitoring began for this storage device. This time is either when the card first was used or when the system software was updated to support S.M.A.R.T. monitoring for the first time. Logging of time is based on the local time of the computer at the time of logging and may therefore not always be accurate.
Supported Platform(s): XL, XM
time | A 32bit time_t value representing the number of seconds elapsed since 00:00 hours, Jan 1, 1970 UTC. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Smart_getInitialTime2 | ( | SMARTHANDLE | , |
time_t * | time | ||
) |
Get the date/time when the SMART monitoring began for this storage device. This time is either when the card first was used or when the system software was updated to support S.M.A.R.T. monitoring for the first time. Logging of time is based on the local time of the computer at the time of logging and may therefore not always be accurate.
Use this function to access the second card if the the device uses two cards.
Supported Platform(s): XL
time | A 32bit time_t value representing the number of seconds elapsed since 00:00 hours, Jan 1, 1970 UTC. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Smart_getRemainingLifeTime | ( | SMARTHANDLE | , |
uint8_t * | lifetimepercent | ||
) |
Get remaining lifetime of the secondary storage device.
Supported Platform(s): XL, XM
lifetimepercent | The expected remaining lifetime (0..100%). |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Smart_getRemainingLifeTime2 | ( | SMARTHANDLE | , |
uint8_t * | lifetimepercent | ||
) |
Get remaining lifetime of the second secondary storage device. Use this function to access the second card if the the device uses two cards.
Supported Platform(s): XL
lifetimepercent | The expected remaining lifetime (0..100%). |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::Smart_release | ( | SMARTHANDLE | ) |
Delete the Smart object.
Supported Platform(s): XL, XM
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::SoftKey_getBacklightEnabledDuringStartup | ( | SOFTKEYHANDLE | , |
CCStatus * | status | ||
) |
Is the Softkey Backlight enabled during startup? If enabled, the LED will blink to indicate startup progress. It will turn solid once the OS has started.
Supported Platform(s): VI2
status | Softkey Backlight Enabled or Disabled during startup. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::SoftKey_getBacklightIdleTime | ( | SOFTKEYHANDLE | , |
uint8_t * | idleTime | ||
) |
Get SoftKey Backlight IDLE time.
Supported Platform(s): VI2
idleTime | Time in 100ms increments. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::SoftKey_getBacklightIntensity | ( | SOFTKEYHANDLE | , |
uint8_t | key, | ||
uint8_t * | intensity | ||
) |
Get softkey backlight intensity.
Supported Platform(s): VI2
key | Key that's intensity is read. Start index 1. |
intensity | Intensity value 0 - 100% |
Due limitation in HW, readback value may differ from the value that was set.
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::SoftKey_getBacklightNrOfPulses | ( | SOFTKEYHANDLE | , |
uint8_t * | nrOfPulses | ||
) |
Get number of pulses during a Softkey backlight blink sequence.
Supported Platform(s): VI2
nrOfPulses | Number of pulses. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::SoftKey_getBacklightOffTime | ( | SOFTKEYHANDLE | , |
uint8_t * | offTime | ||
) |
Get SoftKey Backlight OFF time.
Supported Platform(s): VI2
offTime | Time in 10ms increments. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::SoftKey_getBacklightOnTime | ( | SOFTKEYHANDLE | , |
uint8_t * | onTime | ||
) |
Get SoftKey Backlight ON time.
Supported Platform(s): VI2
onTime | Time in 10ms increments. 0 = off |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::SoftKey_getBacklightSignal | ( | SOFTKEYHANDLE | , |
float64_t * | frequency, | ||
uint8_t * | dutyCycle | ||
) |
Get SoftKey Backlight signal. Note, the values may vary from previously set values with setSignal. This is due to precision-loss in approximations.
Supported Platform(s): VI2
frequency | Backlight blink frequency (0.2-50 Hz). |
dutyCycle | Backlight on duty cycle (0-100%). |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::SoftKey_getBootBacklightConfig | ( | SOFTKEYHANDLE | , |
uint8_t * | bootIntensity, | ||
float32_t * | bootFrequency, | ||
uint8_t * | bootDutyCycle, | ||
uint8_t * | postBootIntensity, | ||
float32_t * | postBootFrequency, | ||
uint8_t * | postBootDutyCycle, | ||
CCStatus * | postBootConfig | ||
) |
Get SoftKey backlight configuration during and after system boot. These settings applies to all SoftKeys, they cannot be configured individually. The behavior of the backlight LED in terms of intensity and blink frequency may be configured for system boot and after boot. The post-boot setting can also be disabled using the postBootConfig parameter. When disabled, the boot-settings will remain until a user application reconfigures the backlight.
Supported Platform(s): VI2
bootIntensity | Backlight intensity (0-100%) during system boot. |
bootFrequency | Backlight blink frequency (0.2-50 Hz) during system boot. |
bootDutyCycle | Backlight on duty cycle (0-100%) during system boot. |
postBootIntensity | Backlight intensity (0-100%) after system boot. |
postBootFrequency | Backlight blink frequency (0.2-50 Hz) after system boot. |
postBootDutyCycle | Backlight on duty cycle (0-100%) after system boot. |
postBootConfig | Post-boot settings enabled or disabled. |
Due limitation in HW, readback value may differ from the value that was set.
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::SoftKey_getMultipleBacklightIntensities | ( | SOFTKEYHANDLE | , |
uint8_t * | keys, | ||
uint8_t * | intensities, | ||
uint8_t | array_size | ||
) |
Get multiple SoftKey backlight intensities.
Supported Platform(s): VI2
keys | Array of Keys that's intensity to set. Key indexing starts at number 1. |
intensities | Array of intensities for the keys listed above. Inetnsity value in range 0 - 100% |
array_size | Number of key/intensity - pairs |
Due limitation in HW, readback value may differ from the value that was set.
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::SoftKey_getStatus | ( | SOFTKEYHANDLE | , |
uint16_t * | value | ||
) |
Get current status of keys
Supported Platform(s): VI2
value | Bitfield of keys that are pressed. LSB is KEY1. Can be undefined if return value is error code. |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::SoftKey_release | ( | SOFTKEYHANDLE | ) |
Delete the SOFTKEY object.
Supported Platform(s): VI2
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::SoftKey_setBacklightEnabledDuringStartup | ( | SOFTKEYHANDLE | , |
CCStatus | status | ||
) |
Should the Softkey Backlight be enabled during startup? If enabled, the LED will blink to indicate startup progress. It will turn solid once the OS has started.
Supported Platform(s): VI2
status | Enable or Disable the Softkey Backlight during startup. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::SoftKey_setBacklightIdleTime | ( | SOFTKEYHANDLE | , |
uint8_t | idleTime | ||
) |
Set SoftKey Backlight IDLE time.
Supported Platform(s): VI2
idleTime | Time in 100ms. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::SoftKey_setBacklightIntensity | ( | SOFTKEYHANDLE | , |
uint8_t | key, | ||
uint8_t | intensity | ||
) |
Set softkey backlight intensity.
Supported Platform(s): VI2
key | Key that's intensity is set. Start index 1. |
intensity | Intensity value in range 0 - 100% |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::SoftKey_setBacklightNrOfPulses | ( | SOFTKEYHANDLE | , |
uint8_t | nrOfPulses | ||
) |
Set number of pulses during a SoftKey Backlight blink sequence.
Supported Platform(s): VI2
nrOfPulses | Number of pulses. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::SoftKey_setBacklightOff | ( | SOFTKEYHANDLE | ) |
Set Softkey Backlight off.
Supported Platform(s): VI2
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::SoftKey_setBacklightOffTime | ( | SOFTKEYHANDLE | , |
uint8_t | offTime | ||
) |
Set SoftKey Backlight OFF time.
Supported Platform(s): VI2
offTime | Time in 10ms increments. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::SoftKey_setBacklightOnTime | ( | SOFTKEYHANDLE | , |
uint8_t | onTime | ||
) |
Set SoftKey Backlight ON time.
Supported Platform(s): VI2
onTime | Time in 10ms increments. 0 = off |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::SoftKey_setBacklightSignal | ( | SOFTKEYHANDLE | , |
float64_t | frequency, | ||
uint8_t | dutyCycle | ||
) |
Set SoftKey Backlight signal.
Supported Platform(s): VI2
frequency | SoftKey Backlight blink frequency (0.2-50 Hz). |
dutyCycle | SoftKey Backlight ON duty cycle (0-100%). |
Note: The hardware cannot be set to have an on or off time of the LED that's longer than 2.55s (255*10ms) Hence there are limitations in this function when using frequencies slower than 0.39Hz. At 0.38Hz, the valid duty cycle range is [3 - 97]. At 0.30Hz, the valid duty cycle range is [24 - 76]. At 0.20Hz, the valid duty cycle range is [49 - 51]. At 0.19Hz and slower, the behavior is undefined for all duty cycles, so this is not allowed to be set. Additionally, the hardware cannot be set to have an on or off time of the LED that's shorter than 10ms. Hence, there are limitations in this function when using high frequencies. At 50 Hz, the valid duty cycle range is [50]. At 30 Hz, the valid duty cycle range is [30-70]. At 10 Hz, the valid duty cycle range is [10-90]. At 2 Hz, the valid duty cycle range is [2-98]. The behavior is undefined outside these ranges but setting 0% or 100% duty cycle will always work, regardless of the frequency. If you need to blink in an unsupported range, it can be done with a software timer instead.
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::SoftKey_setBootBacklightConfig | ( | SOFTKEYHANDLE | , |
uint8_t | bootIntensity, | ||
float32_t | bootFrequency, | ||
uint8_t | bootDutyCycle, | ||
uint8_t | postBootIntensity, | ||
float32_t | postBootFrequency, | ||
uint8_t | postBootDutyCycle, | ||
CCStatus | postBootConfig | ||
) |
Set SoftKey backlight configuration during and after system boot. These settings applies to all SoftKeys, they cannot be configured individually. The behavior of the backlight LED in terms of intensity and blink frequency may be configured for system boot and after boot. The post-boot setting can also be disabled using the postBootConfig parameter. When disabled, the boot-settings will remain until a user application reconfigures the backlight. Note that the frequency limitations mentioned in the description of SoftKey_setBacklightSignal also apply here.
Supported Platform(s): VI2
bootIntensity | Backlight intensity (0-100%) during system boot. |
bootFrequency | Backlight blink frequency (0.2-50 Hz) during system boot. |
bootDutyCycle | Backlight on duty cycle (0-100%) during system boot. |
postBootIntensity | Backlight intensity (0-100%) after system boot. |
postBootFrequency | Backlight blink frequency (0.2-50 Hz) after system boot. |
postBootDutyCycle | Backlight on duty cycle (0-100%) after system boot. |
postBootConfig | Post-boot settings enabled or disabled. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::SoftKey_setMultipleBacklightIntensities | ( | SOFTKEYHANDLE | , |
uint8_t * | keys, | ||
uint8_t * | intensities, | ||
uint8_t | array_size | ||
) |
Set Multiple SoftKey backlight intensities.
Supported Platform(s): VI2
keys | Array of Keys that's intensity to set. Key indexing starts at number 1. |
intensities | Array of intensities for the keys listed above. Intensity value in range 0 - 100% |
array_size | Number of key/intensity - pairs |
To set all keys to same intensitity. Use key number 0 and array_size 1.
Not all values are supported on all platforms, ERR_NOT_SUPPORTED will indicate that.
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_getBTPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus * | status | ||
) |
Get Bluetooth power status.
Supported Platform(s): XM, XA, XS
status | Bluetooth power status. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_getBTStartUpPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus * | status | ||
) |
Get Bluetooth power status at startup and at resume from suspended mode.
Supported Platform(s): XM, XA, XS
status | Bluetooth power status. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_getGPRSPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus * | status | ||
) |
Get GPRS power status.
Supported Platform(s): XM, XA, XS
status | GPRS power status. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_getGPRSStartUpPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus * | status | ||
) |
Get GPRS power status at startup and at resume from suspended mode.
Supported Platform(s): XM, XA, XS
status | GPRS power status. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_getGPSAntennaStatus | ( | TELEMATICSHANDLE | , |
CCStatus * | status | ||
) |
Get GPS antenna status. Antenna open/short detection. The status is set to disabled if no antenna is present or a short is detected. Note, This function is only supported on revision A Telematic Addon Cards (produced before 2015-09).
Supported Platform(s): XM
status | GPS antenna power status. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_getGPSPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus * | status | ||
) |
Get GPS power status. Note that it can take some time after calling setGPSPowerStatus before the status is reported correctly.
Supported Platform(s): XM, XA, XS
status | GPS power status. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_getGPSStartUpPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus * | status | ||
) |
Get GPS power status at startup and at resume from suspended mode.
Supported Platform(s): XM, XA, XS
status | GPS power status. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_getTelematicsAvailable | ( | TELEMATICSHANDLE | , |
CCStatus * | status | ||
) |
Is a telematics add-on card installed?
Supported Platform(s): XM, XA, XS
status | Enabled if a telematics add-on card is installed, otherwise Disabled. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_getWLANPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus * | status | ||
) |
Get WLAN power status.
Supported Platform(s): XM, XA, XS
status | WLAN power status. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_getWLANStartUpPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus * | status | ||
) |
Get WLAN power status at startup and at resume from suspended mode.
Supported Platform(s): XM, XA, XS
status | WLAN power status. |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::Telematics_release | ( | TELEMATICSHANDLE | ) |
Delete the Telematics object.
Supported Platform(s): XM, XA, XS
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_setBTPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus | status | ||
) |
Set Bluetooth power status.
Supported Platform(s): XM, XA, XS
status | Bluetooth power status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_setBTStartUpPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus | status | ||
) |
Set Bluetooth power status at startup and at resume from suspended mode.
Supported Platform(s): XM, XA, XS
status | Bluetooth power status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_setGPRSPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus | status | ||
) |
Set GPRS modem power status.
Supported Platform(s): XM, XA, XS
status | GPRS modem power status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_setGPRSStartUpPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus | status | ||
) |
Set GPRS power status at startup and at resume from suspended mode.
Supported Platform(s): XM, XA, XS
status | GPRS power status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_setGPSPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus | status | ||
) |
Set GPS power status.
Supported Platform(s): XM, XA, XS
status | GPS power status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_setGPSStartUpPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus | status | ||
) |
Set GPS power status at startup and at resume from suspended mode.
Supported Platform(s): XM, XA, XS
status | GPS power status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_setWLANPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus | status | ||
) |
Set WLAN power status.
Supported Platform(s): XM, XA, XS
status | WLAN power status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_setWLANStartUpPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus | status | ||
) |
Set WLAN power status at startup and at resume from suspended mode.
Supported Platform(s): XM, XA, XS
status | WLAN power status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreen_getAdvancedSetting | ( | TOUCHSCREENHANDLE | , |
TSAdvancedSettingsParameter | param, | ||
uint16_t * | data | ||
) |
Get advanced touch screen settings. See the description of TSAdvancedSettingsParameter for a description of the parameters.
Supported Platform(s): XL, XM, XS, XA
param | The setting to get. |
data | The current data for the setting. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreen_getMode | ( | TOUCHSCREENHANDLE | , |
TouchScreenModeSettings * | config | ||
) |
Get Touch Screen mode. Gets the current mode of the USB profile.
Supported Platform(s): XL, XM, XS, XA
config | The current mode. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreen_getMouseRightClickTime | ( | TOUCHSCREENHANDLE | , |
uint16_t * | time | ||
) |
Get mouse right click time. Applies only to the mouse profile. Use the OS settings for the touch profile.
Supported Platform(s): XL, XM, XS, XA
time | The right click time, in milliseconds. |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::TouchScreen_release | ( | TOUCHSCREENHANDLE | ) |
Delete the TouchScreen object.
Supported Platform(s): XL, XM, XS, XA
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreen_setAdvancedSetting | ( | TOUCHSCREENHANDLE | , |
TSAdvancedSettingsParameter | param, | ||
uint16_t | data | ||
) |
Set advanced touch screen settings. See the description of TSAdvancedSettingsParameter for a description of the parameters.
Supported Platform(s): XL, XM, XS, XA
param | The setting to set. |
data | The data value to set. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreen_setMode | ( | TOUCHSCREENHANDLE | , |
TouchScreenModeSettings | config | ||
) |
Set Touch Screen mode. Sets the mode of the USB profile.
Supported Platform(s): XL, XM, XS, XA
config | The mode to set. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreen_setMouseRightClickTime | ( | TOUCHSCREENHANDLE | , |
uint16_t | time | ||
) |
Set mouse right click time. Applies only to the mouse profile. Use the OS settings for the touch profile.
Supported Platform(s): XL, XM, XS, XA
time | The right click time, in milliseconds. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreenCalib_autoSensorCalib | ( | TOUCHSCREENCALIBHANDLE | ) |
Perform automatic sensor calibration
Supported Platform(s): VA
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreenCalib_checkCalibrationPointFinished | ( | TOUCHSCREENCALIBHANDLE | , |
bool * | finished, | ||
uint8_t | pointNr | ||
) |
Check if a calibration point is finished
Supported Platform(s): XL, XM, XS, XA
finished | Is current point finished? |
pointNr | Calibration point number (1 to total number of points) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreenCalib_getConfigParam | ( | TOUCHSCREENCALIBHANDLE | , |
CalibrationConfigParam | param, | ||
uint16_t * | value | ||
) |
Get calibration config parameters
Supported Platform(s): XL, XM, XS, XA
param | Config parameter |
value | Parameter value |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreenCalib_getMode | ( | TOUCHSCREENCALIBHANDLE | , |
CalibrationModeSettings * | mode | ||
) |
Get mode of front controller.
Supported Platform(s): XL, XM, XS, XA
mode | Current calibration mode |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::TouchScreenCalib_release | ( | TOUCHSCREENCALIBHANDLE | ) |
Delete the TouchScreenCalib object.
Supported Platform(s): XL, XM, XS, XA
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreenCalib_setCalibrationPoint | ( | TOUCHSCREENCALIBHANDLE | , |
uint8_t | pointNr | ||
) |
Set calibration point
Supported Platform(s): XL, XM, XS, XA
pointNr | Calibration point number (1 to total number of points) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreenCalib_setConfigParam | ( | TOUCHSCREENCALIBHANDLE | , |
CalibrationConfigParam | param, | ||
uint16_t | value | ||
) |
Set calibration config parameters
Supported Platform(s): XL, XM, XS, XA
param | Config parameter |
value | parameter value |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreenCalib_setMode | ( | TOUCHSCREENCALIBHANDLE | , |
CalibrationModeSettings | mode | ||
) |
Set mode of front controller.
Supported Platform(s): XL, XM, XS, XA
mode | Selected calibration mode |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_activateSnapshot | ( | VIDEOHANDLE | , |
bool | activate | ||
) |
To be able to take snapshot the snapshot function has to be active. After activation it takes 120ms before first snapshot can be taken. The Snapshot function can be active all the time. If power consumption and heat is an issue, snapshot may be turned off.
Supported Platform(s): XL, XM (Windows)
activate | Set to true if the snapshot function shall be active. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_createBitmap | ( | VIDEOHANDLE | , |
char_t ** | bmpBuffer, | ||
uint32_t * | bmpBufSize, | ||
const char_t * | rawImgBuffer, | ||
uint32_t | rawImgBufSize, | ||
bool | bInterlaced, | ||
bool | bNTSCFormat | ||
) |
Create a bitmap from a raw image buffer. The bmp buffer is allocated in the function and has to be deallocated by the application.
Supported Platform(s): XL, XM (Windows)
bmpBuffer | Bitmap ram buffer allocated by the API, has to be deallocated with freeBmpBuffer() by the application. |
bmpBufSize | Size of the returned bitmap buffer. |
rawImgBuffer | Raw image buffer from takeSnapShotRaw. |
rawImgBufSize | Size of the raw image buffer. |
bInterlaced | Interlaced, if true the bitmap only contains every second line in the image, to save bandwidth. |
bNTSCFormat | True if the video format in rawImageBuffer is NTSC format. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_freeBmpBuffer | ( | VIDEOHANDLE | , |
char_t * | bmpBuffer | ||
) |
Free the memory allocated for BMP buffer.
Supported Platform(s): XL, XM (Windows)
bmpBuffer | The bmp buffer to free. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getActiveChannel | ( | VIDEOHANDLE | , |
VideoChannel * | channel | ||
) |
Get the current video channel.
Supported Platform(s): XL, XM, XS, XA, VC, VA
channel | Enum defining available channels. (VC platform has only 1 channel, Analog_Channel_1) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getColorKeys | ( | VIDEOHANDLE | , |
uint8_t * | rKey, | ||
uint8_t * | gKey, | ||
uint8_t * | bKey | ||
) |
Get color key values. Note that the system uses 18 bit colors, so the two least significant bits are not used.
Supported Platform(s): XL, XM
rKey | Red value. |
gKey | Green value. |
bKey | Blue value. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getCropping | ( | VIDEOHANDLE | , |
uint8_t * | top, | ||
uint8_t * | left, | ||
uint8_t * | bottom, | ||
uint8_t * | right | ||
) |
Get Crop parameters.
Supported Platform(s): XL, XM, XS, XA, VC, VA
top | Crop top (lines). |
left | Crop left (lines). |
bottom | Crop bottom (lines). |
right | Crop right (lines). |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getDecoderReg | ( | VIDEOHANDLE | , |
uint8_t | decoderRegister, | ||
uint8_t * | registerValue | ||
) |
Get Video decoder bus register. Advanced function for direct access to the video decoder TVP5150AM1 registers.
Supported Platform(s): XL, XM, XS, XA, VC, VA
decoderRegister | Decoder Register Address. |
registerValue | register value. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getDeInterlaceMode | ( | VIDEOHANDLE | , |
DeInterlaceMode * | mode | ||
) |
Get the deinterlace mode used when decoding the interlaced video stream.
Supported Platform(s): XL, XM
mode | The current mode. See enum DeInterlaceMode for descriptions of the modes. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getGraphicsOverlay | ( | VIDEOHANDLE | , |
CCStatus * | mode | ||
) |
Get the current graphics overlaying mode.
Supported Platform(s): XA, XS, VC, VA
mode | Overlay enable mode |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getMirroring | ( | VIDEOHANDLE | , |
CCStatus * | mode | ||
) |
Get the current mirroring mode of the video image.
Supported Platform(s): XL, XM, XS, XA, VC, VA, VS
mode | The current mode. Enabled or Disabled. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getRawImage | ( | VIDEOHANDLE | , |
uint16_t * | width, | ||
uint16_t * | height, | ||
float32_t * | frameRate | ||
) |
Get the raw image size of moving image before any scaling and frame rate. For snapshot the height is 4 row less.
Supported Platform(s): XL, XM, XS, XA, VC, VA, VS
width | Width of raw image. |
height | Height of raw moving image, snapshot are 4 bytes less. |
frameRate | Received video frame rate. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getRotation | ( | VIDEOHANDLE | , |
VideoRotation * | rotation | ||
) |
Get the current rotation of the video image.
Supported Platform(s): XA, XS, VC, VA, VS
rotation | Enum defining the current rotation. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getScaling | ( | VIDEOHANDLE | , |
float32_t * | x, | ||
float32_t * | y | ||
) |
Get Video Scaling (image size). If the deinterlace mode is set to DeInterlace_Even or DeInterlace_Odd, this function divides the actual vertical scaling by a factor of two, to get the same scaling factor as set with setScaling.
Supported Platform(s): XL, XM
x | Horizontal scaling (0.25-4). |
y | Vertical scaling (0.25-4 DeInterlace_BOB) (0.125-2 DeInterlace_Even, DeInterlace_Odd). |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getStatus | ( | VIDEOHANDLE | , |
uint8_t * | status | ||
) |
Video status byte.
Supported Platform(s): XL, XM, XS, XA, VC, VA, VS
status | Status byte Bit 0: video on/off 0 = Off, 1 = On. Bit 2-1: De-interlacing method, 0 = Only even rows, 1 = Only odd rows, 2 = BOB, 3 = invalid. Bit 3: Mirroring mode, 0 = Off, 1 = On Bit 4: Read or write operation to analogue video decoder in progress. Bit 5: Analogue video decoder ready bit. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getVideoArea | ( | VIDEOHANDLE | , |
uint16_t * | topLeftX, | ||
uint16_t * | topLeftY, | ||
uint16_t * | bottomRigthX, | ||
uint16_t * | bottomRigthY | ||
) |
Get the area where video is shown.
Supported Platform(s): XL, XM, XS, XA, VC, VA, VS
topLeftX | Top left X coordinate on screen. |
topLeftY | Top left Y coordinate on screen. |
bottomRigthX | Bottom right X coordinate on screen. |
bottomRigthY | Bottom right Y coordinate on screen. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getVideoStandard | ( | VIDEOHANDLE | , |
videoStandard * | standard | ||
) |
Get video standard. The video decoder auto detects the video standard of the source.
Supported Platform(s): XL, XM, XS, XA, VC, VA, VS
standard | Video standard. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_init | ( | VIDEOHANDLE | , |
uint8_t | deviceNr | ||
) |
Initialize a video device. The video device will initially use the following settings: DeInterlace_BOB and mirroring disabled.
Supported Platform(s): XL, XM, XS, XA, VC, VA, VS
deviceNr | Device to connect to (1,2). Select one of 2 devices to connect to. (VC platform has only 1 device) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_minimize | ( | VIDEOHANDLE | ) |
Minimizes the video area. Restore with restore() call.
Supported Platform(s): XL, XM, XS, XA, VC, VA, VS
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::Video_release | ( | VIDEOHANDLE | ) |
Delete the Video object.
Supported Platform(s): XL, XM, XS, XA, VC, VA, VS
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_restore | ( | VIDEOHANDLE | ) |
Restores the video area to the size it was before a minimize() call. Don't use restore if minimize has not been used first.
Supported Platform(s): XL, XM, XS, XA, VC, VA, VS
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_setActiveChannel | ( | VIDEOHANDLE | , |
VideoChannel | channel | ||
) |
Sets the active video channel.
Supported Platform(s): XL, XM, XS, XA, VC, VA, VS
channel | Enum defining available channels. (VC and VS platforms have only 1 channel, Analog_Channel_1) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_setColorKeys | ( | VIDEOHANDLE | , |
uint8_t | rKey, | ||
uint8_t | gKey, | ||
uint8_t | bKey | ||
) |
Set color keys. Writes RGB color key values. Note that the system uses 18 bit colors, so the two least significant bits are not used.
Supported Platform(s): XL, XM
rKey | Red key value. |
gKey | Green key value. |
bKey | Blue key value. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_setCropping | ( | VIDEOHANDLE | , |
uint8_t | top, | ||
uint8_t | left, | ||
uint8_t | bottom, | ||
uint8_t | right | ||
) |
Crop video image. Note that the video chip manual says the following about horisontal cropping: The number of pixels of active video must be an even number. The parameters top and bottom are internally converted to an even number. This is due to the input video being interlaced, a pair of odd/even lines are allways cropped together. On XA/XS platforms, cropping from top/bottom on device 2 (channels 3 and 4) is not supported.
Supported Platform(s): XL, XM, XS, XA, VC, VA
top | Crop top (0-255 lines). |
left | Crop left (0-127 lines). |
bottom | Crop bottom (0-255 lines). |
right | Crop right (0-127 lines). |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_setDecoderReg | ( | VIDEOHANDLE | , |
uint8_t | decoderRegister, | ||
uint8_t | registerValue | ||
) |
Set Video decoder bus register. Advanced function for direct access to the video decoder TVP5150AM1 registers.
Supported Platform(s): XL, XM, XS, XA, VC, VA
decoderRegister | Decoder Register Address. |
registerValue | register value. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_setDeInterlaceMode | ( | VIDEOHANDLE | , |
DeInterlaceMode | mode | ||
) |
Set the deinterlace mode used when decoding the interlaced video stream.
Supported Platform(s): XL, XM
mode | The mode to set. See enum DeInterlaceMode for descriptions of the modes. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_setGraphicsOverlay | ( | VIDEOHANDLE | , |
CCStatus | mode | ||
) |
Enable or disable overlaying of graphics on top of video.
Supported Platform(s): XA, XS, VC, VA
mode | Overlay enable mode |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_setMirroring | ( | VIDEOHANDLE | , |
CCStatus | mode | ||
) |
Enable or disable mirroring of the video image.
Supported Platform(s): XL, XM, XS, XA, VC, VA, VS
mode | The mode to set. Enabled or Disabled. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_setRotation | ( | VIDEOHANDLE | , |
VideoRotation | rotation | ||
) |
Set the current rotation of the video image.
Supported Platform(s): XA, XS, VC, VA, VS
rotation | Enum defining the rotation to set. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_setScaling | ( | VIDEOHANDLE | , |
float32_t | x, | ||
float32_t | y | ||
) |
Set Video Scaling (image size). If the deinterlace mode is set to DeInterlace_Even or DeInterlace_Odd, this function multiplies the vertical scaling by a factor of two, to get the correct image proportions.
Supported Platform(s): XL, XM
x | Horizontal scaling (0.25-4). |
y | Vertical scaling (0.25-4 DeInterlace_BOB) (0.125-2 DeInterlace_Even, DeInterlace_Odd). |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_setVideoArea | ( | VIDEOHANDLE | , |
uint16_t | topLeftX, | ||
uint16_t | topLeftY, | ||
uint16_t | bottomRightX, | ||
uint16_t | bottomRightY | ||
) |
Set the area where video is shown.
Supported Platform(s): XL, XM, XS, XA, VC, VA, VS
topLeftX | Top left X coordinate on screen. |
topLeftY | Top left Y coordinate on screen. |
bottomRightX | Bottom right X coordinate on screen. |
bottomRightY | Bottom right Y coordinate on screen. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_showFrame | ( | VIDEOHANDLE | ) |
Copy one frame from camera to the display.
Supported Platform(s): XA, XS, VC, VA
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_showVideo | ( | VIDEOHANDLE | , |
bool | show | ||
) |
Show or hide the video image. Note that it may take some time before the video is shown and correct input info can be read by getRawImage.
Supported Platform(s): XL, XM, XS, XA, VC, VA, VS
show | True shows the video image. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_takeSnapshot | ( | VIDEOHANDLE | , |
const char_t * | path, | ||
bool | bInterlaced | ||
) |
Takes a snapshot of the current video image and stores it to a bitmap file. This is a combination of takeSnapShotRaw, getVideoStandard and createBitMap and then storing of the bmpBuffer to file. To be able to take a snapshot, the snapshot function has to be active.
Supported Platform(s): XL, XM (Windows)
path | The file path to where the image should be stored. |
bInterlaced | If true the bitmap only contains every second line in the image, to save bandwidth. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_takeSnapshotBmp | ( | VIDEOHANDLE | , |
char_t ** | bmpBuffer, | ||
uint32_t * | bmpBufSize, | ||
bool | bInterlaced, | ||
bool | bNTSCFormat | ||
) |
Takes a snapshot of the current video image and return a data buffer with a bitmap image. The bmp buffer is allocated in the function and has to be deallocated with freeBmpBuffer() by the application. This is a combination of the function takeSnapShotRaw and createBitMap. To be able to take a snapshot, the snapshot function has to be active.
Supported Platform(s): XL, XM (Windows)
bmpBuffer | Bitmap ram buffer allocated by the API, has to be deallocated with freeBmpBuffer() by the application. |
bmpBufSize | Size of the returned bitmap buffer. |
bInterlaced | If true the bitmap only contains every second line in the image, to save bandwidth. |
bNTSCFormat | True if the video format in rawImageBuffer is NTSC format. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_takeSnapshotRaw | ( | VIDEOHANDLE | , |
char_t * | rawImgBuffer, | ||
uint32_t | rawImgBuffSize, | ||
bool | bInterlaced | ||
) |
Takes a snapshot of the current video image and return raw image data. The size of the raw image is when interlaced = false 0x100 + line count * row count * 4. The size of the raw image is when interlaced = true 0x100 + line count * row count * 2. To be able to take a snapshot, the snapshot function has to be active. This function is blocking until a new frame is available from the decoder. An error will be returned if the decoder doesn't return any frames before a timeout.
Supported Platform(s): XL, XM (Windows)
rawImgBuffer | Buffer for image to be stored in. |
rawImgBuffSize | Size of the buffer. |
bInterlaced | If true the bitmap only contains every second line in the image, to save bandwidth. |
const uint8_t DigitalIn_1 = (1 << 0) |
Bit defines for getDigIO
const uint8_t DigitalIn_2 = (1 << 1) |
const uint8_t DigitalIn_3 = (1 << 2) |
const uint8_t DigitalIn_4 = (1 << 3) |
const uint8_t Video1Conf = (1 << 0) |
Bit defines for getVideoStartupPowerConfig and setVideoStartupPowerConfig
const uint8_t Video2Conf = (1 << 1) |
Video channel 1 config
const uint8_t Video3Conf = (1 << 2) |
Video channel 2 config
const uint8_t Video4Conf = (1 << 3) |
Video channel 3 config