

//´®¿ÚÔª¼þ

unit uart
{
	public link unit PORT {}
	
	public bit RDE_OUT;
	public bit RDE_IN;
	public bit RDE_DIR;
	
	public link bit RXD_OUT = PORT.D2_OUT;
	public link bit RXD_IN = PORT.D2_IN;
	public link bit RXD_DIR = PORT.D2_DIR;
	public link bit TXD_OUT = PORT.D3_OUT;
	public link bit TXD_IN = PORT.D3_IN;
	public link bit TXD_DIR = PORT.D3_DIR;
	
	//[i] memory linka;
	//[i] function_void OS_init,
	//[i] function_void Connect,
	//[i] function_void SetString,
	//[i] function_void SetValue,
	//[i] function_void GetValue,
	//[i] var_array FlagList,
	//[i] var_bool isBusy,
	//[i] var_bool isNeed,

	//[i] function_void OS_WaitOk,
	public void OS_WaitOk()
	{
		
	}
	const int32 baud = 9600;
	#include <system\channel\channel_uart.txt>
}






