
//´®¿ÚÔª¼þ

unit uart
{
	public link unit PORT {}
	
	//[i] function_void OS_init;
	//[i] function_void OS_thread;
	//[i] interface_reader reader0;
	//[i] interface_writer writer0;
	//[i] linkconst_int16_50 max_length;
	//[i] linkconst_int32_9600 baud;
	//[i] var_uint8 OS_EventFlag;
	//[i] event receive_event;
	//[i] function_void set_baud int32;
	//[i] function_int32 get_data;
	//[i] function_bool is_ready;
	//[i] function_void print_return;
	//[i] function_void print_char int32;
	//[i] function_void print_string Cstring;
	//[i] function_void print_number int32;
	
	public const int32 baud = 9600;
	
	#define UART_NUMBER UART0
	
	#include <system\common\uart\uart_v1.txt>
}













