#pragma once
#include "windows.h"
#include "mxsp.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_RS422_RS485_4W = 2
	};

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