

	public int32 get_data()
	{
		uint32 data = 0;
		
		#asm "cli"
		
		loop( 24 ) {
			CLK.D0_OUT = 1;
			loop( 10 ) {}
			CLK.D0_OUT = 0;
			
			data << 1;
			data.0(bit) = DATA.D0_IN;
		}
		
		//再多触发一个脉冲 1/2/3 - A128 B32 A64
		CLK.D0_OUT = 1;
		loop( 10 ) {}
		CLK.D0_OUT = 0;
		
		#asm "sei"
		
		if( data.23(bit) == 1 ) {
			data.24(uint8) = 0xFF;
		}
		return (int)data;
	}
	
	

