CCAux
2.20.0.0
CCAux API reference
|
Go to the source code of this file.
Data Structures | |
struct | BatteryTimerType |
Namespaces | |
CrossControl | |
Typedefs | |
typedef void * | BATTERYHANDLE |
Enumerations | |
enum | ChargingStatus { ChargingStatus_NoCharge = 0 , ChargingStatus_Charging = 1 , ChargingStatus_FullyCharged = 2 , ChargingStatus_TempLow = 3 , ChargingStatus_TempHigh = 4 , ChargingStatus_Unknown = 5 } |
enum | PowerSource { PowerSource_Battery = 0 , PowerSource_ExternalPower = 1 } |
enum | ErrorStatus { ErrorStatus_NoError = 0 , ErrorStatus_ThermistorTempSensor = 1 , ErrorStatus_SecondaryTempSensor = 2 , ErrorStatus_ChargeFail = 3 , ErrorStatus_Overcurrent = 4 , ErrorStatus_Init = 5 } |
Functions | |
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) |