2017-06-10 20:43:16 +00:00
|
|
|
###########################################
|
|
|
|
# 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
|
2017-06-27 22:31:39 +00:00
|
|
|
setCurrentQA KEYWORD2
|
2017-06-10 20:43:16 +00:00
|
|
|
setError KEYWORD2
|
|
|
|
|
2017-09-02 07:26:10 +00:00
|
|
|
setInfoBmsType KEYWORD2
|
|
|
|
setInfoState1 KEYWORD2
|
|
|
|
setInfoState2 KEYWORD2
|
|
|
|
setInfoError KEYWORD2
|
|
|
|
setInfoBalancing KEYWORD2
|
|
|
|
|
2017-07-29 09:09:14 +00:00
|
|
|
getChargerTemperature KEYWORD2
|
|
|
|
getDCConverterCurrent KEYWORD2
|
|
|
|
isPluggedIn KEYWORD2
|
|
|
|
isSwitchedOn KEYWORD2
|
|
|
|
|
2017-06-10 20:43:16 +00:00
|
|
|
attachEnterState KEYWORD2
|
|
|
|
attachCheckState KEYWORD2
|
|
|
|
attachProcessCanMsg KEYWORD2
|
|
|
|
attachTicker KEYWORD2
|
|
|
|
|
|
|
|
sendMsg KEYWORD2
|
2017-06-17 12:58:21 +00:00
|
|
|
setCanFilter KEYWORD2
|
2017-06-10 20:43:16 +00:00
|
|
|
|
|
|
|
state KEYWORD2
|
2017-08-17 20:59:15 +00:00
|
|
|
stateName KEYWORD2
|
2017-06-17 12:58:21 +00:00
|
|
|
inState KEYWORD2
|
2017-06-10 20:43:16 +00:00
|
|
|
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
|
2017-06-17 12:58:21 +00:00
|
|
|
Error LITERAL1
|
2017-06-10 20:43:16 +00:00
|
|
|
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
|
2017-09-02 07:26:10 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|