#######################################
# Syntax Coloring Map
#######################################
# https://arduino.github.io/arduino-cli/0.21/library-specification/#keywordstxt-format
# KEYWORD1 Classes, datatypes, and C++ keywords
# KEYWORD2 Methods and functions
# KEYWORD3 setup and loop functions, as well as the Serial keywords
# LITERAL1 Constants
# LITERAL2 Built-in variables (unused by default)

#######################################
# Classes, datatypes (KEYWORD1)
#######################################
AS60xx										KEYWORD1
AS6031F1									KEYWORD1
as60xx										KEYWORD1
as6031f1									KEYWORD1
Result										KEYWORD1

#######################################
# Methods and Functions (KEYWORD2)
#######################################
begin										KEYWORD2
isConnected									KEYWORD2
init										KEYWORD2
update										KEYWORD2
reset										KEYWORD2
updateConfiguration							KEYWORD2	
writeConfig									KEYWORD2
setConfigurationRegisters					KEYWORD2		
startMeasurement							KEYWORD2
getSupplyVoltageMv							KEYWORD2
getHighSpeedClockFrequencyHz				KEYWORD2	
getTimestamp								KEYWORD2
writeFW										KEYWORD2
hasError									KEYWORD2
getErrorRegister							KEYWORD2
hasErrorFlag								KEYWORD2
errorToString								KEYWORD2
getSumTofUp									KEYWORD2
getSumTofDown								KEYWORD2
getAmountHitsForSumToF						KEYWORD2
calculateTimeNs								KEYWORD2
calculateTimePs								KEYWORD2
getTemperatures2WireDegC					KEYWORD2	
getInternalTemperatureDegC					KEYWORD2
getAmplitudeUp								KEYWORD2
getAmplitudeDown							KEYWORD2
getPulseWidthRatioUp						KEYWORD2
getPulseWidthRatioDown						KEYWORD2
getTofValuesUp								KEYWORD2
getTofValuesDown							KEYWORD2

updateF1									KEYWORD2
getF1VolumeIntegerPartRaw					KEYWORD2
getF1VolumeFractionalPartRaw				KEYWORD2
getF1InstantFlowRaw							KEYWORD2
getF1TemperatureRaw							KEYWORD2
getF1ErrorFlags								KEYWORD2
getF1VolumeM3								KEYWORD2
getF1InstantFlowLPerHr						KEYWORD2
getF1TemperatureDegC						KEYWORD2
getF1RamIndex								KEYWORD2
hasF1ErrorFlag								KEYWORD2
errorF1ToString								KEYWORD2

######################################
# Constants (LITERAL1)
#######################################
RESULT_TIMEOUT								LITERAL1
RESULT_NOT_ALLOWED							LITERAL1
RESULT_CHECKSUM_ERROR						LITERAL1
RESULT_INVALID								LITERAL1
RESULT_IO_ERROR								LITERAL1
RESULT_OK									LITERAL1

AS60XX_FWC_START_INDEX						LITERAL1
AS60XX_FWD_START_INDEX						LITERAL1
AS60XX_FWD_END_INDEX						LITERAL1

AS60XX_ZERO_CROSS_DETECTION_LSB_TO_MV		LITERAL1
AS60XX_MAX_ZERO_CROSS_DETECTION_VALUE_MV	LITERAL1
AS60XX_DELAY_WINDOW_LSB_TO_NS				LITERAL1
AS60XX_BOOTUP_COMM_RELEASE_TIME_MAX_MS		LITERAL1
AS60XX_CHARGE_PUMP_UPLOADING				LITERAL1
AS60XX_SOFTWARE_RESET_TIME_MS				LITERAL1
AS60XX_FW_CHECKSUM_CALCULATION_TIME_MS		LITERAL1
AS60XX_FDB_US_PW_FRACTIONAL_LSB				LITERAL1
AS60XX_AMOUNT_POINTS_SPEED_SOUND_TABLE		LITERAL1