m35061-xxxsp Renesas Electronics Corporation., m35061-xxxsp Datasheet - Page 21

no-image

m35061-xxxsp

Manufacturer Part Number
m35061-xxxsp
Description
Screen Character And Pattern Display Controllers
Manufacturer
Renesas Electronics Corporation.
Datasheet
5. Scroll display mode
Fig. 6 Scrolling example
20
Setting example 1
Setting example 2
The scroll display mode is entered by setting registers SBIT0 to 3
(SA), SLIN0 to 4 (SB), SST0 to 4 (SC), and SEND0 to 4 (SD) (all
at address 2AE
The screen is scrolled in the range from the (SC)’th line to the
(SD-1)’th line, and sections above and below this range are fixed.
The beginning line and beginning dot of scroll are the (SA)’th dot
When displayed in order of SA = 0, 1, 2, and so on, the screen scrolls up. When displayed in order of SA = 12, 11, 10, and so on, the
screen scrolls down.
(1) To scroll the screen up, write the dummy line after you set the 0th dot in SA but before setting the 1st dot.
(2) To scroll the screen down, write the dummy line after you set the 0th dot in SA but before setting the 12th dot of the preceding line.
SA = 0
SB = 2
SC = 2
SD = 14
SA = 3
SB = 5
SC = 2
SD = 14
16
). (Scroll is turned off when SD = 0.)
Line number when
on screen display
Line number when
on screen display
10
12
13
14
15
11
10
12
13
14
15
11
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
14th line
15th line
16th line
14th line
15th line
16th line
10th line
11th line
12th line (0 dot to 12 dots)
10th line
11th line
12th line
13th line
2nd line
9th line
3rd line
Zero line
1st line
2nd line (0 dot to 12 dots)
3rd
4th line
5th line
6th line
7th line
8th line
9th line
Zero line
1st line
6th line
7th line
8th line
5th line (3 dots to 12 dots)
4th line (0 dot to 2 dots)
< Scrolling block >
<
SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS
Scrolling block
< fixed block >
< fixed block >
<
<
fixed block
fixed block
on the (SB)’th line.
The screen can be scrolled up or down by successively
incrementing or decrementing SA and SB.
Figure 6 shows examples of how the display is scrolled. The scroll
range in these examples contains 12 lines (second to the 13th lines).
However, the screen can display only 11 lines at a time, and the
re-maining one line is handled as a dummy line and not displayed.
>
>
>
M35061-XXXSP/FP
MITSUBISHI MICROCOMPUTERS
Dummy line
Dummy line
4th line (3 dots to 12 dots)
13th line (0 dot to 12 dots)
5th line (0 dot to 2 dots)
or

Related parts for m35061-xxxsp