Main Page   Data Structures   File List   Data Fields   Globals  

ks0108.h File Reference

Graphic LCD driver for HD61202/KS0108 displays. More...

#include "global.h"
#include "ks0108conf.h"

Go to the source code of this file.

Data Structures

struct  struct_GrLcdCtrlrStateType
struct  struct_GrLcdStateType

Defines

#define GLCD_ON_CTRL   0x3E
#define GLCD_ON_DISPLAY   0x01
#define GLCD_START_LINE   0xC0
#define GLCD_SET_PAGE   0xB8
#define GLCD_Y_ADDR   0x40
#define GLCD_STATUS_BUSY   0x80
#define GLCD_STATUS_ONOFF   0x20
#define GLCD_STATUS_RESET   0x10

Typedefs

typedef struct_GrLcdCtrlrStateType GrLcdCtrlrStateType
typedef struct_GrLcdStateType GrLcdStateType

Functions

void glcdInitHW (void)
void glcdBusyWait (u08 controller)
void glcdControlWrite (u08 controller, u08 data)
u08 glcdControlRead (u08 controller)
void glcdDataWrite (u08 data)
u08 glcdDataRead (void)
void glcdSetXAddress (u08 xAddr)
void glcdSetYAddress (u08 yAddr)
void glcdInit (void)
void glcdClearScreen (void)
void glcdHome (void)
void glcdGotoChar (u08 line, u08 col)
void glcdSetAddress (u08 x, u08 yLine)
void glcdStartLine (u08 start)
void glcd1WriteChar (u08 asciiIdx)
void glcd1WriteCharGr (u08 grIdx)
void glcdDelay (u16 p)


Detailed Description

Graphic LCD driver for HD61202/KS0108 displays.

Definition in file ks0108.h.


Generated on Tue Feb 4 20:18:38 2003 for Procyon AVRlib by doxygen1.3-rc2