5
μ
PD16454A
BLOCK FUNCTIONS
(1) Registers (IR, DR)
This LCD contains both an 8-bit instruction register (IR) and an 8-bit data register (DR).
The IR register stores display clear instruction codes and display data RAM (DDRAM) and character generaotor
RAM (CGRAM) addresses.
The DR register temporarily stores data to be transferred to DDRAM and CGRAM.
The IR and DR registers are selected with the register selector (RS) bit.
RS
Register selector
0
IR
1
DR
(2) Busy flag (BF)
When BF = ‘1’, this indicates that the LCD’s internal circuit is currently operating. Therefore, after ascertaining
that BF = ‘0’, it is necessary to read the next instruction or display data.
(3) Address counter (AC)
The AC is a counter that sets addresses in DDRAM and CGRAM. When an address-setting instruction is
written to the IR, the address value is set from the IR to the address counter. At the same time, which of
DDRAM and CGRAM is selected is also determined.
After display data is written in DDRAM or CGRAM, the address counter’s address value is automatically
incremented by 1. Nevertheless, since data in CGRAM consists of 7 bytes characters, the address value is
incremented by 2 only when display data has been written to the 7th line.
(4) Display data RAM (DDRAM)
DDRAM is a RAM that stores display data consisting of 8-bit character codes. The capacity is 8
×
48 bits so
that 48 characters can be stored. The correspondence between DDRAM addresses and display position on
LCD is shown in Fig. 1.