Mikroelektronika MIKROE-350 Fiche De Données
SPI_T6963C_Set_Cursor
SPI_T6963C_ClearBit
SPI_T6963C_SetBit
431
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6
Prototype
sub procedure SPI_T6963C_set_cursor(dim x, y as byte)
Returns
Nothing.
Description
Sets cursor to row x and column y.
Parameters :
-
x:
cursor position row number
-
y:
cursor position column number
Requires
Toshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
SPI_T6963C_Set_Cursor(cposx, cposy)
Prototype
sub procedure SPI_T6963C_clearBit(dim b as byte)
Returns
Nothing.
Description
Clears control port bit(s).
Parameters :
-
b:
bit mask. The function will clear bit
x
on control port if bit
x
in bit mask is set to 1.
Requires
Toshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
' clear bits 0 and 1 on control port
SPI_T6963C_ClearBit(0x03)
SPI_T6963C_ClearBit(0x03)
Prototype
sub procedure SPI_T6963C_setBit(dim b as byte)
Returns
Nothing.
Description
Sets control port bit(s).
Parameters :
-
b:
bit mask. The function will set bit
x
on control port if bit
x
in bit mask is set to 1.
Requires
Toshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
' set bits 0 and 1 on control port
SPI_T6963C_SetBit(0x03)