50 www.xilinx.com Spartan-3A/3AN Starter Kit Board User GuideUG334 (v1.0) May 28, 2007Chapter 5: Character LCD Screen RData from CG RAM or DD RAM command. The cursor or blink position movesaccordingly.Bit DB0: (S) ShiftDisplay On/OffThe display is turned on or off, controlling all characters. The cursor and cursor positioncharacter (underscore) blink.Execution Time: 40 μsBit DB2: (D) Display On/OffBit DB1: (C) Cursor On/OffThe cursor uses the five dots on the bottom line of the character. The cursor appears as aline under the displayed character.Bit DB0: (B) Cursor Blink On/OffCursor and Display ShiftMoves the cursor and shifts the display without changing DD RAM contents. Shift cursorposition or display to the right or left without writing or reading display data.This function positions the cursor in order to modify an individual character, or to scrollthe display window left or right to reveal additional data stored in the DD RAM, beyondthe 16th character on a line. The cursor automatically moves to the second line when itshifts beyond the 40th character location of the first line. The first and second line displaysshift at the same time.When the displayed data is shifted repeatedly, both lines move horizontally. The seconddisplay line does not shift into the first display line.Execution Time: 40 μs0 Shifting disabled1 During a DD RAM write operation, shift the entire display value in the directioncontrolled by Bit DB1 (I/D). It appears as though the cursor position remains constantand the display moves.0 No characters displayed. However, data stored in DD RAM is retained.1 Display characters stored in DD RAM0 No cursor1 Display cursor0 No cursor blinking1 Cursor blinks on and off approximately every half second