Display on/off, Cursor and display shift – Xilinx MIcroblaze Development Spartan-3E 1600E User Manual

Page 50

Advertising
background image

48

MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide

www.xilinx.com

UG257 (v1.1) December 5, 2007

Chapter 5:

Character LCD Screen

R

This bit either auto-increments or auto-decrements the DD RAM and CG RAM address

counter by one location after each

Write Data to CG RAM or DD RAM

or

Read Data from

CG RAM or DD RAM

command. The cursor or blink position moves accordingly.

Bit DB0: (S) Shift

Display On/Off

Display is turned on or off, controlling all characters, cursor and cursor position character

(underscore) blink.
Execution Time: 40 Ps

Bit DB2: (D) Display On/Off

Bit DB1: (C) Cursor On/Off

The cursor uses the five dots on the bottom line of the character. The cursor appears as a

line under the displayed character.

Bit DB0: (B) Cursor Blink On/Off

Cursor and Display Shift

Moves the cursor and shifts the display without changing DD RAM contents. Shift cursor

position 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 scroll

the display window left or right to reveal additional data stored in the DD RAM, beyond

the 16th character on a line. The cursor automatically moves to the second line when it

shifts beyond the 40th character location of the first line. The first and second line displays

shift at the same time.
When the displayed data is shifted repeatedly, both lines move horizontally. The second

display line does not shift into the first display line.
Execution Time: 40 Ps

0

Shifting disabled

1

During a DD RAM write operation, shift the entire display value in the direction

controlled by Bit DB1 (I/D). Appears as though the cursor position remains constant
and the display moves.

0

No characters displayed. However, data stored in DD RAM is retained

1

Display characters stored in DD RAM

0

No cursor

1

Display cursor

0

No cursor blinking

1

Cursor blinks on and off approximately every half second

Advertising