![](http://datasheet.mmic.net.cn/260000/PCF2113F2_datasheet_15932395/PCF2113F2_20.png)
1997 Apr 04
20
Philips Semiconductors
Product specification
LCD controller/driver
PCF2113x
9
INSTRUCTIONS
Only two PCF2113x registers, the Instruction Register (IR)
and the Data Register (DR) can be directly controlled by
the microcontroller. Before internal operation, control
information is stored temporarily in these registers, to
allow interface to various types of microcontrollers which
operate at different speeds or to allow interface to
peripheral control ICs.
The format for instructions when I
2
C-bus control is used is
shown in Table 5. The PCF2113x operation is controlled
by the instructions shown in Table 6, which also gives
execution times in clock cycles. Details are explained in
subsequent sections.
Instructions are of 4 types, those that:
1.
Designate PCF2113x functions such as display
format, data length, etc.
2.
Set internal RAM addresses
3.
Perform data transfer with internal RAM
4.
Others.
In normal use, category 3 instructions are used most
frequently. However, automatic incrementing by 1
(or decrementing by 1) of internal RAM addresses after
each data write lessens the microcontroller program load.
The display shift in particular can be performed
concurrently with display data write, enabling the designer
to develop systems in minimum time with maximum
programming efficiency.
During internal operation, no instruction other than the
‘Read busy flag and address’ instruction will be executed.
Because the Busy Flag is set to logic 1 while an instruction
is being executed, check to make sure it is on logic 0
before sending the next instruction or wait for the
maximum instruction execution time, as given in Table 6.
An instruction sent while the Busy Flag is logic 1 will not be
executed.
Table 5
2
C-bus instructions
Note
1.
R/W is set together with the slave address.
CONTROL BYTE
(1)
COMMAND BYTE
Co
RS
0
0
0
0
0
0
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0