Disabled; Clear Display; Return Cursor Home; Entry Mode Set - Xilinx Spartan-3E User Manual

Starter kit board
Table of Contents

Advertisement

R
Table 5-3: LCD Character Display Command Set (Continued)
Function
Function Set
Set CG RAM Address
Set DD RAM Address
Read Busy Flag and Address
Write Data to CG RAM or DD RAM
Read Data from CG RAM or DD RAM

Disabled

If the LCD_E enable signal is Low, all other inputs to the LCD are ignored.

Clear Display

Clear the display and return the cursor to the home position, the top-left corner.
This command writes a blank space (ASCII/ANSI character code 0x20) into all DD RAM
addresses. The address counter is reset to 0, location 0x00 in DD RAM. Clears all option
settings. The I/D control bit is set to 1 (increment address counter mode) in the
Set
Execution Time: 82 μs – 1.64 ms

Return Cursor Home

Return the cursor to the home position, the top-left corner. DD RAM contents are
unaffected. Also returns the display being shifted to the original position, shown in
Figure
The address counter is reset to 0, location 0x00 in DD RAM. The display is returned to its
original status if it was shifted. The cursor or blink move to the top-left character location.
Execution Time: 40 μs – 1.6 ms

Entry Mode Set

Sets the cursor move direction and specifies whether or not to shift the display.
These operations are performed during data reads and writes.
Execution Time: 40 μs
Bit DB1: (I/D) Increment/Decrement
Spartan-3E Starter Kit Board User Guide
UG230 (v1.0) March 9, 2006
0
0
0
0
1
1
command.
5-3.
0
Auto-decrement address counter. Cursor/blink moves to left.
1
Auto-increment address counter. Cursor/blink moves to right.
www.xilinx.com
Upper Nibble
0
0
0
1
0
0
0
1
A5
A4
0
1
A6
A5
A4
1
BF
A6
A5
A4
0
D7
D6
D5
D4
1
D7
D6
D5
D4
LCD Controller
Lower Nibble
1
0
-
-
A3
A2
A1
A0
A3
A2
A1
A0
A3
A2
A1
A0
D3
D2
D1
D0
D3
D2
D1
D0
Entry Mode
47

Advertisement

Table of Contents
loading

This manual is also suitable for:

Spartan-3e fpga

Table of Contents