
unit IR
{
	public const uint16 ID = 0;
	
	public link unit D {}
	
	public link bit IR_DIR = D.D0_DIR;
	public link bit IR_IN = D.D0_IN;
	public link bit IR_OUT = D.D0_OUT;
	
	//[i] interface_IRreceive receive1;
	public unit receive1
	{
		public const uint8 OS_channel_IR = 0;
	}
	receive1.OS_channel_IR = OS_channel_IR;
	
	public const uint8 OS_channel_IR = D.INT_INDEX;
}



