#pragma once
#include "windows.h"
#include "mxsp.h"
#include "readConfig.h"

#ifdef __cplusplus    // If used by C++ code, 
extern "C" {          // we need to export the C interface
#endif

	enum uart_mode {
		UART_MODE_RS232 = 0,
		UART_MODE_RS485_2W = 1,
		UART_MODE_RS485_4W = 2,
		UART_MODE_RS422 = 3,
		NOTSUPPORT = 4
	};

#ifdef __cplusplus    // If used by C++ code, 
}
#endif