Cursor or display shift, Set ddram address, Function set – Freescale Semiconductor Microcontrollers User Manual

Page 611

Advertising
background image

ColdFire V1 Full Chip Simulation Connection

FCS Visualization Utilities

611

Microcontrollers Debugger Manual

Cursor or Display Shift

• Doesn't change the DDRAM content.

• Leaves AC in case of a screen shift.

• Moves and/or shifts the cursor to the right or left. The cursor goes to the second line

if it exceeds the 32nd position of the first line. It also goes to the first line when it
exceeds the 32nd position of the second line.

• During a screen shift the two lines only move horizontally, the first line never passes

to the second one.

Figure 28.34

describes how to choose the moving direction.

Figure 28.34 Left Right Choice

Set DDRAM Address

• Puts the address indicated by a6a5a4a3a2a1a0 into AC.

• When the number of lines is 2, the address goes from 00h to 1Fh for the first line, and

from 40h to 5Fh for the second line.

• The a6 bit indicates the line: a6=0 indicates the first line and a6=1 indicates the

second line.

Function Set

• If DL = 1, the data exchange is 8 bits wide.

• If N = 0, the display takes place on one line. If N = 1, the display takes place on two

lines.

Advertising