Datasheet
SPI_T6963C_WaitReady
SPI_T6963C_Fill
SPI_T6963C_Dot
488
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroC PRO for AVR
CHAPTER 6
Prototype
void SPI_T6963C_WaitReady(void);
Returns Nothing.
Description Pools the status byte, and loops until Toshiba Glcd module is ready.
Requires Toshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
SPI_T6963C_WaitReady();
Prototype
void SPI_T6963C_Fill(unsigned char v, unsigned int start,
unsigned int len);
Returns Nothing.
Description
Fills controller memory block with given byte.
Parameters :
- v: byte to be written
- start: starting address of the memory block
- len: length of the memory block in bytes
Requires Toshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
SPI_T6963C_Fill(0x33,0x00FF,0x000F);
Prototype
void SPI_T6963C_Dot(int x, int y, unsigned char color);
Returns Nothing.
Description
Draws a dot in the current graphic panel of Glcd at coordinates (x, y).
Parameters :
- x: dot position on x-axis
- y: dot position on y-axis
- color: color parameter. Valid values: SPI_T6963C_BLACK and
SPI_T6963C_WHITE
Requires Toshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
SPI_T6963C_Dot(x0, y0, pcolor);