Mikroelektronika MIKROE-742 데이터 시트
SPI_T6963C_Fill
SPI_T6963C_Dot
434
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroPASCAL PRO for AVR
CHAPTER 6
Prototype
procedure SPI_T6963C_Fill(v : byte; start : word; len : word);
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
procedure SPI_T6963C_Dot(x : integer; y : integer; color : byte)
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);