mirror of
https://github.com/dexterbg/Twizy-Virtual-BMS.git
synced 2024-11-08 12:25:42 +00:00
b8bf0da8ba
- Added support to generate extended info frame 0x700 - New API calls: setInfoBmsType(), setInfoState1(), setInfoState2(), setInfoError(), setInfoBalancing() - Added support for module temperature #8 and cell voltages #15/#16
105 lines
2.1 KiB
Text
105 lines
2.1 KiB
Text
###########################################
|
|
# Syntax Coloring Map
|
|
###########################################
|
|
|
|
###########################################
|
|
# Datatypes (KEYWORD1)
|
|
###########################################
|
|
|
|
TwizyState KEYWORD1
|
|
TwizyVirtualBMS KEYWORD1
|
|
twizy KEYWORD1
|
|
Twizy KEYWORD1
|
|
|
|
###########################################
|
|
# Methods and Functions (KEYWORD2)
|
|
###########################################
|
|
|
|
setup KEYWORD2
|
|
looper KEYWORD2
|
|
|
|
setPowerLimits KEYWORD2
|
|
setChargeCurrent KEYWORD2
|
|
setSOH KEYWORD2
|
|
setSOC KEYWORD2
|
|
setTemperature KEYWORD2
|
|
setVoltage KEYWORD2
|
|
setCurrent KEYWORD2
|
|
setCurrentQA KEYWORD2
|
|
setError KEYWORD2
|
|
|
|
setInfoBmsType KEYWORD2
|
|
setInfoState1 KEYWORD2
|
|
setInfoState2 KEYWORD2
|
|
setInfoError KEYWORD2
|
|
setInfoBalancing KEYWORD2
|
|
|
|
getChargerTemperature KEYWORD2
|
|
getDCConverterCurrent KEYWORD2
|
|
isPluggedIn KEYWORD2
|
|
isSwitchedOn KEYWORD2
|
|
|
|
attachEnterState KEYWORD2
|
|
attachCheckState KEYWORD2
|
|
attachProcessCanMsg KEYWORD2
|
|
attachTicker KEYWORD2
|
|
|
|
sendMsg KEYWORD2
|
|
setCanFilter KEYWORD2
|
|
|
|
state KEYWORD2
|
|
stateName KEYWORD2
|
|
inState KEYWORD2
|
|
enterState KEYWORD2
|
|
|
|
dumpId KEYWORD2
|
|
debugInfo KEYWORD2
|
|
|
|
######################################
|
|
# Constants (LITERAL1)
|
|
#######################################
|
|
|
|
TWIZY_DEBUG_LEVEL LITERAL1
|
|
TWIZY_CAN_SEND LITERAL1
|
|
TWIZY_CAN_CLOCK_US LITERAL1
|
|
TWIZY_CAN_MCP_FREQ LITERAL1
|
|
TWIZY_CAN_CS_PIN LITERAL1
|
|
TWIZY_CAN_IRQ_PIN LITERAL1
|
|
TWIZY_3MW_CONTROL_PIN LITERAL1
|
|
|
|
Off LITERAL1
|
|
Init LITERAL1
|
|
Error LITERAL1
|
|
Ready LITERAL1
|
|
StartDrive LITERAL1
|
|
Driving LITERAL1
|
|
StopDrive LITERAL1
|
|
StartCharge LITERAL1
|
|
Charging LITERAL1
|
|
StopCharge LITERAL1
|
|
StartTrickle LITERAL1
|
|
Trickle LITERAL1
|
|
StopTrickle LITERAL1
|
|
|
|
TWIZY_OK LITERAL1
|
|
TWIZY_SERV LITERAL1
|
|
TWIZY_SERV_12V LITERAL1
|
|
TWIZY_SERV_BATT LITERAL1
|
|
TWIZY_SERV_TEMP LITERAL1
|
|
TWIZY_SERV_STOP LITERAL1
|
|
|
|
bmsType_VirtualBMS LITERAL1
|
|
bmsType_EdriverBMS LITERAL1
|
|
bmsType_undefined LITERAL1
|
|
|
|
bmsError_None LITERAL1
|
|
bmsError_EEPROM LITERAL1
|
|
bmsError_SensorFailure LITERAL1
|
|
bmsError_VoltageHigh LITERAL1
|
|
bmsError_VoltageLow LITERAL1
|
|
bmsError_VoltageDiff LITERAL1
|
|
bmsError_TemperatureHigh LITERAL1
|
|
bmsError_TemperatureLow LITERAL1
|
|
bmsError_TemperatureDiff LITERAL1
|
|
bmsError_ChargerTemperatureHigh LITERAL1
|
|
|