| 数据搜索系统,热门电子元器件搜索 |
|
STLED524 数据表(PDF) 35 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STLED524 数据表(HTML) 35 Page - STMicroelectronics |
|
35 / 72 page ![]() DocID026217 Rev 1 35/72 STLED524 Detailed description 4.7.3 Scroll possibilities The display content scroll is enabled, if SCRLEN bit in the display visual control register is set to 1. If this bit is 1 and new value of DISP bits (DISP1 and DISP2) is written through SPI, scroll operation starts. The type of scroll operation is defined by the content of scroll control registers. Blank rows or columns can be inserted between two patterns during the scroll operation. These blank rows/columns are inserted by the logic of the driver automatically, so they are not part of patterns. The number of blank rows/columns can be set by the scroll control register 2. The insertion of blank rows/columns is enabled, when BRCEN bit in the display visual control register is set to 1. Table 44 contains all possible types of scroll operations. X → Y expression means that the display content is X and when the scroll operation is over, it is Y. All possibilities listed below are valid for all directions. DISP (act) is the value of DISP bits. DISP (new) is the new value of these bits written through SPI. There are two interrupts related to the scroll operation. These are EOSCR (end of scroll) and step. This interrupt is generated at the end of scroll operation (when the new pattern is visible). The end of step interrupt is generated after each scroll step. It is useful to read the scroll step register value, when this interrupt is detected. It gives the microcontroller information about the position of the pattern on the display. If WAITEN bit in the display visual control register is set, the end of scroll interrupt is delayed by the wait time given by the value of the scroll control 3 register. Columns from 20 to 23 can be locked during the scroll operation. These locked columns do not move during scroll operation. Their content is always stored in pattern 1 register. DISPSIZE bit, in the display visual control register, has to be set to 1 to lock columns from 20 to 23. If this bit is set to 0, columns from 20 to 23 scroll in the same way as the rest of the display. If DISPSIZE bit is set to 1, the number of scroll steps is limited to 20 in horizontal direction (if no blank column is inserted). The number of steps in vertical direction is not affected. Table 46. List of all scroll operations DISP (act) DISP (new) BRCEN 00 00 0 B → B 00 01 0 B → P1 00 10 0 B → P2 01 00 0 P1 → B 01 01 0 P1 → P1 (rotation) 01 10 0 P1 → P2 10 00 0 P2 → B 10 01 0 P2 → P1 10 10 0 P2 → P2 (rotation) 00 00 1 B → Brc →B 00 01 1 B → Brc → P1 00 10 1 B → Brc → P2 |
|
链接网址 |
| 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 |