Stepper-Motor-Control  v3.0.0
System on a Chip 2014 - Group 04
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
lcdDOGM162.c File Reference

Initialization program for LCD DOGM162. Qsys uses Altera LCD component "altera_avalon_lcd_16207". More...

#include <stdint.h>
#include <system.h>
#include "altera_avalon_lcd_16207_regs.h"
#include "../INC/lcdDOGM162.h"
Include dependency graph for lcdDOGM162.c:

Go to the source code of this file.

Functions

void DOGM162lcd_init (uint32_t lcdBase)
 Initialization function of LCD DOGM162B-A. More...
 
void DOGM162lcd_setCursorMode (uint32_t lcdBase, int32_t cursorMode)
 function changes cursor mode More...
 

Detailed Description

Initialization program for LCD DOGM162. Qsys uses Altera LCD component "altera_avalon_lcd_16207".

Author
Johann Mayr
Prof. Dr.-Ing. Ferdinand Englberger
Version
V2.0.2
Date
06.11.2014
Remarks
This initialization function extends the standard initialization by DOGM162 specific initialization. This function has to be called before the display can be used.
History:

V2.0.2 06.11.2014 Kossmann

  • moved clear, set-position functionality into auxilaryFunctions.c because stream not available here

V2.0.1 06.11.2014 Riedel

  • Created defines for init-codes and moved to header

V2.0.0 Ferdinand Englberger

  • comments in english
  • Remove all functions, but initialization function
  • uses component register interface, instead of own access function.
  • uses a base parameter to identify lcd.

V1.1 25.06.2012 Johann Mayr

  • Initial version

V1.0 20.12.2011 Johann Mayr

  • Initial version

Definition in file lcdDOGM162.c.

Function Documentation

void DOGM162lcd_init ( uint32_t  lcdBase)

Initialization function of LCD DOGM162B-A.

This initialization function extends the standard initialization by DOGM162 specific initialization. This function has to be called before the display can be used.

Parameters
lcdBase: Base address of DOGM162 LCD (from system.h)
Return values
None

Definition at line 39 of file lcdDOGM162.c.

void DOGM162lcd_setCursorMode ( uint32_t  lcdBase,
int32_t  cursorMode 
)

function changes cursor mode

This function requires an extra wait period

Parameters
lcdBase: Base address of LCD (from system.h)
cursorModenew Cursor mode, can be
  • LCD_CURSOR_OFF
  • LCD_CURSOR_ON
  • LCD_BLINK
Return values
none

Definition at line 64 of file lcdDOGM162.c.