###############################################
# Syntax coloring Map For LIN Slave library
###############################################

###################################
# Classes and Datatypes (KEYWORD1)
###################################

# instances
LIN_Slave_HardwareSerial		KEYWORD1
LIN_Slave_NeoHWSerial_AVR		KEYWORD1
LIN_Slave_HardwareSerial_ESP8266	KEYWORD1
LIN_Slave_HardwareSerial_ESP32	KEYWORD1
LIN_Slave_SoftwareSerial		KEYWORD1


###################################
# Methods and Functions (KEYWORD2)
###################################

# class variables
nameLIN				KEYWORD2

# class methods
begin				KEYWORD2
end					KEYWORD2
available			KEYWORD2
resetStateMachine	KEYWORD2
getState			KEYWORD2
resetError			KEYWORD2
getError			KEYWORD2
getFrame			KEYWORD2
registerMasterRequestHandler	KEYWORD2
registerSlaveResponseHandler	KEYWORD2
handler				KEYWORD2


###################################
# Constants (LITERAL1)
###################################

LIN_V1				LITERAL1
LIN_V2				LITERAL1

MASTER_REQUEST		LITERAL1
SLAVE_RESPONSE		LITERAL1
    
STATE_OFF			LITERAL1
STATE_WAIT_FOR_BREAK	LITERAL1
STATE_WAIT_FOR_SYNC	LITERAL1
STATE_WAIT_FOR_PID	LITERAL1
STATE_RECEIVING_DATA	LITERAL1
STATE_RECEIVING_ECHO	LITERAL1
STATE_WAIT_FOR_CHK	LITERAL1
STATE_DONE			LITERAL1

NO_ERROR			LITERAL1
ERROR_STATE			LITERAL1
ERROR_ECHO			LITERAL1
ERROR_TIMEOUT			LITERAL1
ERROR_CHK			LITERAL1
ERROR_SYNC			LITERAL1
ERROR_PID			LITERAL1
ERROR_MISC			LITERAL1

##################### END #####################
