Software files, Register map, Interrupt behavior – Altera Embedded Peripherals IP User Manual

Page 121: Software files -3, Register map -3, Interrupt behavior -3

Advertising
background image

Sequence

Meaning

CR (\r)

Moves the cursor to the start of the current

line.

LF (\n)

Moves the cursor to the start of the line and

move it down one line.

ESC ( (\x1B)

Starts a VT100 control sequence.

ESC [ <y> ; <x>

H

Moves the cursor to the y, x position

specified – positions are counted from the

top left which is 1;1.

ESC [ K

Clears from current cursor position to end of

line.

ESC [ 2 J

Clears the whole screen.

The LCD controller is an output-only device. Therefore, attempts to read from it returns immediately

indicating that no characters have been received.
The LCD controller drivers are not included in the system library when the Reduced device drivers

option is enabled for the system library. If you want to use the LCD controller while using small drivers

for other devices, add the preprocessor option—

DALT_USE_LCD_16207

to the preprocessor options.

Software Files

The LCD controller is accompanied by the following software files. These files define the low-level

interface to the hardware and provide the HAL drivers. Application developers should not modify these

files.

altera_avalon_lcd_16207_regs.h

— This file defines the core's register map, providing symbolic constants

to access the low-level hardware.

altera_avalon_lcd_16207.h

,

altera_avalon_lcd_16207.c

— These files implement the LCD controller device

drivers for the HAL system library.

Register Map

The HAL device drivers make it unnecessary for you to access the registers directly. Therefore, Altera does

not publish details about the register map. For more information, the

altera_avalon_lcd_16207_regs.h

file

describes the register map, and the Dot Matrix Character LCD Module User's Manual from Optrex

describes the register usage.

Interrupt Behavior

The LCD controller does not generate interrupts. However, the LCD driver's text scrolling feature relies

on the HAL system clock driver, which uses interrupts for timing purposes.

UG-01085

2014.24.07

Software Files

11-3

Optrex 16207 LCD Controller Core

Altera Corporation

Send Feedback

Advertising