| 数据搜索系统,热门电子元器件搜索 |
|
STLED524 数据表(PDF) 65 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STLED524 数据表(HTML) 65 Page - STMicroelectronics |
|
65 / 72 page ![]() DocID026217 Rev 1 65/72 STLED524 Application information 6.2 Operation examples 6.2.1 Example 6 - how to display patterns Some patterns have already been written into pattern 1 and 2 memories as described in the previous example. EN bit has to be set to 1 and DISP register value has to be set to 01 (for pattern 1) or 10 (for pattern 2). EN bit is located in the software control register whose address is 00h and DISP bits are located in the display control register whose address is 01h. As registers are located next to each other they can be written at once as it is shown in Table 60 and Table 61. Note: Byte 1 represents SPI command to write to the control register memory. Byte 2 is the address where the writing starts. Byte 3 contains data written to address 00h (software control register). Byte 3 contains data written to address 01h (display control register). 6.2.2 Example 7 - how to enable slope operation When slope operation is being activated, a pattern, containing non-zero slope data, has to be used. Such patterns are in examples 1, 3 and 4. In example 2, pattern has all slope data = 0. Let's suppose that a pattern with non-zero slope data has been already written into pattern 1 memory. First of all, we enable slope operation by setting SLPEN bit to 1. Byte 1 represents SPI command to write to the control register memory. Byte 2 is the address where the writing starts. Byte 3 contains data written to address 20h (display visual control register). As per example 6, we display pattern 1 by writing data to Table 63 or pattern 2 by writing data to Table 64 . Table 60. SPI data to display pattern 1 Byte index 1 2 3 4 Data 0x00 0x00 0x01 0x01 Table 61. SPI data to display pattern 2 Byte index 1 2 3 4 Data 0x00 0x00 0x01 0x02 Table 62. SPI data to enable slope operation Byte index 1 2 3 Data 0x00 0x20 0x08 |
|
链接网址 |
| 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 |