Datasheet
SPI_T6963C_Config
485
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroC PRO for AVR
CHAPTER 6
Prototype
void SPI_T6963C_Config(unsigned int width, unsigned char height,
unsigned char fntW, char DeviceAddress, unsigned char wr,
unsigned char rd, unsigned char cd, unsigned char rst);
Returns Nothing.
Description
Initalizes the Graphic Lcd controller.
Parameters :
- width: width of the Glcd panel
- height: height of the Glcd panel
- fntW: font width
-
DeviceAddress: SPI expander hardware address, see schematic at
the bottom of this page
- wr: write signal pin on Glcd control port
-
rd: read signal pin on Glcd control port
-
cd: command/data signal pin on Glcd control port
- rst: reset signal pin on Glcd control port
Display RAM organization:
The library cuts RAM into panels : a complete panel is one graphics panel fol-
lowed by a text panel (see schematic below).
schematic:
+---------------------+ /\
+ GRAPHICS PANEL #0 + |
+ + |
+ + |
+ + |
+---------------------+ | PANEL 0
+ TEXT PANEL #0 + |
+ + \/
+---------------------+ /\
+ GRAPHICS PANEL #1 + |
+ + |
+ + |
+ + |
+---------------------+ | PANEL 1
+ TEXT PANEL #2 + |
+ + |
+---------------------+ \/