|
PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
|
22 char _sdi, _dc, _clk, _rst;
25 screen_t *il3820_init(
char sdi,
char sclk,
char cs,
char rs,
char rst,
char busy,
int _width,
int _height) {
30 unsigned char* _image = (
char*) malloc(_width * ((_height + 7) >> 3));
31 memset(_image, 0xff, (_width * ((_height + 7) >> 3)));
36 dev->
image_size = (_width * ((_height + 7) >> 3));
65 loadFonts(dev, eeBus);
75 il3820_resetDisplay(dev);
76 il3820_clearDisplay(dev);
77 il3820_updateDisplay(dev);
void(* deviceDrawFastVLine)(struct screen_st *, int x, int y, int w, int color)
void(* deviceUpdateDisplay)(struct screen_st *)
void(* deviceResetDisplay)(struct screen_st *)
void(* deviceDrawPixel)(struct screen_st *, int x, int y, int color)
void(* deviceDrawFastHLine)(struct screen_st *, int x, int y, int w, int color)
void(* deviceClearDisplay)(struct screen_st *)