HD61830/HD61830B
11
3. Set Number of Characters:
(Execution time: 4
μ
s) H
N
indicates the number of horizontal characters in
the character mode or the number of horizontal bytes in the graphic mode. If the total sum of horizontal
dots on the screen is taken as n,
n = H
p
×
H
N
H
N
can be set to an even number from 2 to 128 (decimal).
Register
R/W
RS
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
Instruction reg.
0
1
0
0
0
0
0
0
1
0
Number-of-characters reg.
0
0
0
(H
N
– 1) binary
4. Set Number of Time Divisions (Inverse of Display Duty Ratio):
(Execution time: 4
μ
s) N
X
indicates
the number of time divisions in multiplex display.
1/N
X
is the display duty ratio.
A value of 1 to 128 (decimal) can be set to N
X
.
Register
R/W
RS
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
Instruction reg.
0
1
0
0
0
0
0
0
1
1
Number-of-time-divisions reg.
0
0
0
(N
X
– 1) binary
5. Set Cursor Position:
(Execution time: 4
μ
s) C
p
indicates the position in a character where the cursor is
displayed in the character mode. For example, in 5
×
7 dot font, the cursor is displayed under a character by
specifying C
p
= 8 (decimal). The cursor horizontal length is equal to the horizontal character pitch H
p
. A
value of 1 to 16 (decimal) can be set to C
p
. If a smaller value than the vertical character pitch Vp is set (C
p
≤
Vp), and a character overlaps with the cursor, the cursor has higher priority of display (at cursor display
on). If C
p
is greater than Vp, no cursor is displayed. The cursor horizontal length is equal to H
p
.
Register
R/W
RS
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
Instruction reg.
0
1
0
0
0
0
0
1
0
0
Cursor position reg.
0
0
0
0
0
0
(C
p
– 1) binary