Datasheet

T6963C_Init
509
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroC PRO for AVR
CHAPTER 6
Prototype
void T6963C_Init(unsigned int width, unsigned char height,
unsigned char fntW);
Returns Nothing.
Description
Initalizes the Graphic Lcd controller.
Parameters :
-
width: width of the GLCD panel
-
height: height of the GLCD panel
-
fntW: font width
Display RAM organization:
The library cuts the RAM into panels : a complete panel is one graphics panel
followed by a text panel (see schematic below).
schematic:
+---------------------+ /\
+ GRAPHICS PANEL #0 + |
+ + |
+ + |
+ + |
+---------------------+ | PANEL 0
+ TEXT PANEL #0 + |
+ + \/
+---------------------+ /\
+ GRAPHICS PANEL #1 + |
+ + |
+ + |
+ + |
+---------------------+ | PANEL 1
+ TEXT PANEL #2 + |
+ + |
+---------------------+ \/
Requires
Global variables :
- T6963C_dataPort: Data Port
- T6963C_ctrlPort: Control Port
- T6963C_ctrlwr: Write signal pin
- T6963C_ctrlrd: Read signal pin
- T6963C_ctrlcd: Command/Data signal pin
- T6963C_ctrlrst: Reset signal pin