
HD61830/HD61830B
15
10. Clear Bit:
(Execution time: 36
μ
s) The clear/set bit instruction sets 1 bit in a byte of display data RAM
to 0 or 1, respectively. The position of the bit in a byte is specified by N
B
and RAM address is specified by
cursor address. After the execution of the instruction, the cursor address is automatically increased by 1. N
B
is a value from 1 to 8. N
B
= 1 and N
B
= 8 indicates LSB and MSB, respectively.
Register
R/W
RS
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
Instruction reg.
0
1
0
0
0
0
1
1
1
0
Bit clear reg.
0
0
0
0
0
0
0
(N
B
– 1) binary
Set Bit
Register
R/W
RS
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
Instruction reg.
0
1
0
0
0
0
1
1
1
1
Bit set reg.
0
0
0
0
0
0
0
(N
B
– 1) binary
11. Read Busy Flag:
(Execution time: 0
μ
s) When the read mode is set with RS = 1, the busy flag is
output to DB7. The busy flag is set to 1 during the execution of any of the other instructions. After the
execution, it is set to 0. The next instruction can be accepted. No instruction can be accepted when busy
flag = 1. Before executing an instruction or writing data, perform a busy flag check to make sure the busy
flag is 0. When data is written in the register (RS = 1), no busy flag changes. Thus, no busy flag check is
required just after the write operation into the instruction register with RS = 1.
The busy flag can be read without specifying any instruction register.
Register
R/W
RS
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
Busy flag
1
1
1/0
*