| 
 void BTE_Read(u16 width, u16 height, u16 SX, u16 SY, u8 SL) 
{ 
 u16 data[100] = {0},i=0; 
  BTE_Size(width,height); 
 BTE_Source_Destination(SX,SY,SL,0,0,0);//BTE起始位置设置      
 LCD_DataWrite(0x51,0x01);//光栅设定 
 LCD_DataWrite(0x50,0x80);//BTE开启  
 
 LCD_RegWrite(0x02);//发送指令 0x02 
 data[0] = LCD->LCD_RAM; 
 Chk_Busy(); 
 while(i < 100) 
 { 
  data[i++] = LCD->LCD_RAM; 
  Chk_Busy(); 
 }  
 //Chk_BTE_Busy(); 
  
 i = 0; 
  BTE_Size(width,height); 
 BTE_Source_Destination(0,0,0,100,0,0);//BTE起始位置设置      
 LCD_DataWrite(0x51,0xc0);//光栅设定 
 LCD_DataWrite(0x50,0x80); 
 LCD_RegWrite(0x02); 
 while(i < width*height) 
 { 
  LCD_RamWrite(data[i++]); 
  Chk_Busy(); 
 }  
 Chk_BTE_Busy(); 
 LCD_DataWrite(0x50,0x00);//BTE关闭 
}  
 
读数据主要在写红色部分,下面是把读的数据显示出来 
  |