| 数据搜索系统,热门电子元器件搜索 |
|
GXM 数据表(PDF) 122 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
GXM 数据表(HTML) 122 Page - National Semiconductor (TI) |
|
122 / 244 page ![]() www.national.com 122 Revision 3.1 Integrated Functions (Continued) 4.4.3.1 Monochrome Patterns Monochrome patterns are selected by setting the pattern mode to 01b in the GP_RASTER_MODE register (GX_BASE+ 8200h). Those pixels corresponding to a clear bit (0) in the pattern are rendered using the color specified in the GP_PAT_COLOR_0 register, and those pixels corresponding to a set bit (1) in the pattern are ren- dered using the color specified in the GP_PAT_COLOR_1 register (GX_BASE+8112h). If the pattern transparency bit is set high in the GP_RASTER_MODE register, those pixels corresponding to a clear bit in the pattern data are not drawn. Monochrome patterns use bits [63:0] of the pattern data. Bits [7:0] correspond to the first row of the pattern, and bit 7 corresponds to the leftmost pixel on the screen. This is illustrated in Figure 4-12. Figure 4-12. Example of Monochrome Patterns 4.4.3.2 Dither Patterns Dither patterns are selected by setting the pattern mode to 10 b in the GP_RASTER_MODE register (Table 4-25 on page 125). Two bits of pattern data are used for each pixel, allowing color expansion to four colors. The colors are specified in the GP_PAT_COLOR_0 through GP_PAT_COLOR_3 registers (Table 4-25 on page 125). Dither patterns use all 128 bits of pattern data. Bits [15:0] correspond to the first row of the pattern (the lower byte contains the LSB of the pattern color and the upper byte contains the MSB of the pattern color). This is illustrated in Figure 4-13. Figure 4-13. Example of Dither Patterns GP_PAT_DATA_0 = 0x80412214 GP_PAT_DATA_1 = 0x08142241 14 22 41 80 41 22 14 08 00AA 4411 00AA 1155 00AA 4411 00AA 1155 GP_PAT_DATA_0 = 0x441100AA GP_PAT_DATA_1 = 0x115500AA GP_PAT_DATA_2 = 0x441100AA GP_PAT_DATA_3 = 0x115500AA |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |