Stepper-Motor-Control
v3.0.0
System on a Chip 2014 - Group 04
|
Header for Initialization program for LCD DOGM162. Qsys uses Altera LCD component "altera_avalon_lcd_16207". More...
#include <stdint.h>
Go to the source code of this file.
Macros | |
#define | LCD_CURSOR_OFF (0x00) |
Code for Cursor off. | |
#define | LCD_CURSOR_ON (0x02) |
Code for Cursor on. | |
#define | LCD_BLINK (0x01) |
Code for Cursor blink. | |
#define | DATA8_LINES2_TABLE0 (0x38) |
Function Set: 8 bit data, 2 lines, instruction table 0. | |
#define | DATA8_LINES2_TABLE1 (0x39) |
Function Set: 8 bit data, 2 lines, instruction table 1. | |
#define | BIAS1_2LINES2 (0x14) |
Bias Set: Bias = 1/5, 2 lines. | |
#define | ICON0_BOOSTER1_CONTRAST_C4_0_C5_1 (0x55) |
Power Control: Icon Display off, Booster on, Internal Contrast C5 off, C4 on. | |
#define | FOLLOWER1_RAB6 (0x6E) |
Follower Control: Follower on, Rab = 6. | |
#define | CONTRAST2 (0x72) |
Contrast Set: Contrast = 2. | |
#define | DISPLAY1_CURSOR1_POS0 (0x0C) |
Display Set: Display on, Cursor on, Cursor Pos off. | |
#define | DISPLAY_CLEAR (0x01) |
Display Clear. | |
#define | DDRAM_INC_SHIFT0 (0x06) |
Entry Mode Set: Increment DDRAM-Addr, ShiftEntireDisplay off. | |
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... | |
Header for Initialization program for LCD DOGM162. Qsys uses Altera LCD component "altera_avalon_lcd_16207".
V2.0.1 05.11.2014 Michael Riedel
V2.0.0 Ferdinand Englberger
V1.1 25.06.2012 Johann Mayr
V1.0 20.12.2011 Johann Mayr
Definition in file lcdDOGM162.h.
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.
lcdBase | : Base address of DOGM162 LCD (from system.h) |
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
lcdBase | : Base address of LCD (from system.h) |
cursorMode | new Cursor mode, can be
|
none |
Definition at line 64 of file lcdDOGM162.c.