
//**********************************************
//定义内部字节地址存储器
//unit base addrtype:uint16 datatype:uint8 area:[0x0060, 0x045f]
unit base addrtype:uint16 datatype:uint8 area:[0x0060, 0xffff]
{
	//uint8 写入和读出
	interface uint8 get( uint16 addr )
	{
		
	}
	interface void set( uint16 addr, uint8 data )
	{
		
	}
	//uint16 写入和读出
	interface uint16 get( uint16 addr )
	{
		
	}
	interface void set( uint16 addr, uint16 data )
	{
		
	}
	//uint32 写入和读出
	interface uint32 get( uint16 addr )
	{
		
	}
	interface void set( uint16 addr, uint32 data )
	{
		
	}
}
//**********************************************
//代码区存储器
//unit code addrtype:uint16 datatype:uint8 area:[0x0060, 0x1fff]
unit code addrtype:uint16 datatype:uint8 area:[0x0060, 0xffff]
{
	interface uint8 get( uint16 addr )
	{
		
	}
	interface uint16 get( uint16 addr )
	{
		
	}
	interface uint32 get( uint16 addr )
	{
		
	}	
}





















