Driver Documentation

 

Driver Usage Documentation

INTRODUCTION
All the functionality provided to the user in such a way that the device can be easily configured and used without writing an application/user level program.

All the commands can be passed with the text with flags/options like other unix commands like echo.As a matter of fact the echo command is enough to work with the device.

Line Jump
This command is used to jump to the given number.

Usage -l<number> : valid positions are 1 through 4 any other value will cause the instruction to be ignored.Any text provided after the command will be written from the beginning of the given line.

Cursor Jump
This command is used to jump the cursor to the given number. There exists two variants of this function which allow the cursor to be moved in either direction.

Usage
-m[r/l]<number> : valid positions are 0 through 80 any other value will cause the cursor to wrap around the screen.Any text provided after the command will be written from the given position.

Clear screen
This command is used to clear the screen.

Usage
-clr : Any text provided after the command will be written from position 1.

Scroll screen
This command is used to scroll text on the screen.To stop the scrolling of the text the user may use the scrof command or type any other command.

Usage
-scron : Any text provided after the command will scroll like the credits of a movie.It supports more than 80 characters and loops around the text.

Scroll off
This command is used stop the text from scrolling.

Usage
-scrof : Any text provided after the command will be written from position 1.

Cursor ON/OFF
This command is used to show or hide the cursor .

Usage
-zon / zof : Any text provided after the command will be writtenfrom the current cursor position.

Display ON/OFF
This command is used to switch the display on or off.

Usage
-don /dof : Any text provided after the command will be written from the current cursor position. If the command was display off the text would be written but would not be visible..

Backlight ON/OFF
This command is used to switch the backlight on or off.

Usage -bon/bof : Any text provided after the command will be written from the current cursor position.

Memory Mapping ON/OFF
This commands turns the mapping on or off. Note that when this is ON any standard command will not work and it will only read from the mapping. Must be turned off to use commands

Usage -mmapon / mmapof : See testmm.c for example.