Definition in file ks0108.h.
#include "global.h"
#include "ks0108conf.h"
Go to the source code of this file.
Defines | |
| #define | GLCD_ON_CTRL 0x3E |
| #define | GLCD_ON_DISPLAY 0x01 |
| #define | GLCD_START_LINE 0xC0 |
| #define | GLCD_SET_PAGE 0xB8 |
| #define | GLCD_SET_Y_ADDR 0x40 |
| #define | GLCD_STATUS_BUSY 0x80 |
| #define | GLCD_STATUS_ONOFF 0x20 |
| #define | GLCD_STATUS_RESET 0x10 |
| #define | GLCD_NUM_CONTROLLERS ((GLCD_XPIXELS+GLCD_CONTROLLER_XPIXELS-1)/GLCD_CONTROLLER_XPIXELS) |
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) |
| Initialize the display, clear it, and prepare it for access. | |
| void | glcdClearScreen (void) |
| Clear the display. | |
| void | glcdHome (void) |
| Set display memory access point back to upper,left corner. | |
| void | glcdGotoChar (u08 line, u08 col) |
| Set display memory access point to row [line] and column [col] assuming 5x7 font. | |
| void | glcdSetAddress (u08 x, u08 yLine) |
| Set display memory access point to [x] horizontal pixel and [y] vertical line. | |
| void | glcdStartLine (u08 start) |
| Set display memory access point to row [line] and column [col] assuming 5x7 font. | |
| void | glcdDelay (u16 p) |
| Generic delay routine for timed glcd access. | |
1.4.2