欢迎访问ic37.com |
会员登录 免费注册
发布采购

S1D13506 参数 Datasheet PDF下载

S1D13506图片预览
型号: S1D13506
PDF下载: 下载PDF文件 查看货源
内容描述: S1D13506彩色LCD / CRT / TV控制器 [S1D13506 Color LCD/CRT/TV Controller]
分类和应用: 电视控制器
文件页数/大小: 696 页 / 5934 K
品牌: EPSON [ EPSON COMPANY ]
 浏览型号S1D13506的Datasheet PDF文件第300页浏览型号S1D13506的Datasheet PDF文件第301页浏览型号S1D13506的Datasheet PDF文件第302页浏览型号S1D13506的Datasheet PDF文件第303页浏览型号S1D13506的Datasheet PDF文件第305页浏览型号S1D13506的Datasheet PDF文件第306页浏览型号S1D13506的Datasheet PDF文件第307页浏览型号S1D13506的Datasheet PDF文件第308页  
Page 70  
Epson Research and Development  
Vancouver Design Center  
Example 9:Write a 100 x 20 rectangle at the screen coordinates x = 25, y = 38 using  
a 640x480 display at a color depth of 8 bpp.  
1. Calculate the destination address (upper left corner of the screen blit rectangle) using  
the following formula.  
DestinationAddress = (y × ScreenStride) + (x × BytesPerPixel)  
= (38 × 640) + (25 × 1)  
= 24345  
= 5F19h  
where:  
BytesPerPixel = 1 for 8 bpp  
BytesPerPixel = 2 for 15/16 bpp  
ScreenStride = DisplayWidthInPixels × BytesPerPixel = 640 for 8 bpp  
Program the BitBLT Destination Start Address Registers. REG[10Ah] is set to 00h,  
REG[109h] is set to 5Fh, and REG[108h] is set to 19h.  
2. Program the BitBLT Width Registers to 100 - 1. REG[111h] is set to 00h and  
REG[110h] is set to 63h (99 decimal).  
3. Program the BitBLT Height Registers to 20 - 1. REG[113h] is set to 00h and  
REG[112h] is set to 13h (19 decimal).  
4. Program the Source Phase in the BitBLT Source Start Address Register. In this exam-  
ple the data is WORD aligned, so the source phase is 0. REG[104h] is set to 00h.  
5. Program the BitBLT Operation Register to select the Write Blit with ROP.  
REG[103h] is set to 00h.  
6. Program the BitBLT ROP Code Register to select Destination = Source. REG[102h]  
is set to 0Ch.  
7. Program the BitBLT Color Format Select bit for 8 bpp operations. REG[101h] is set  
to 00h.  
8. Program the BitBLT Memory Offset Registers to the ScreenStride in WORDS:  
BltMemoryOffset = DisplayWidthInPixels ÷ BytesPerPixel  
= 640 ÷ 2  
= 140h  
REG[10Dh] is set to 01h and REG[10Ch] is set to 40h.  
9. Calculate the number of WORDS the blit engine expects to receive.  
nWORDS  
= ((BlitWidth + 1 + SourcePhase) ÷ 2) × BlitHeight  
= (100 + 1) ÷ 2 × 20  
= 1000  
= 3E8h  
S1D13506  
X25B-G-003-03  
Programming Notes and Examples  
Issue Date: 01/02/06  
 复制成功!