Mikroelektronika MIKROE-350 データシート
![Mikroelektronika](https://files.manualsbrain.com/attachments/e0529b3b58069a916ad7bb89f7e9f5f0eda73421/common/fit/150/50/1b07b99aa3112e022a916b06db07f1f4f211e91d41878452d87c7638b1bf/brand_logo.gif)
SPI_T6963C_WriteCommand
SPI_T6963C_SetPtr
SPI_T6963C_WaitReady
424
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6
Prototype
sub procedure SPI_T6963C_WriteCommand(dim Ddata as byte)
Returns
Nothing.
Description
Writes command to T6963C controller via SPI interface.
Parameters :
-
Ddata:
command to be written
Requires
Toshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
SPI_T6963C_WriteCommand(SPI_T6963C_CURSOR_POINTER_SET)
Prototype
sub procedure SPI_T6963C_SetPtr(dim p as word, dim c as byte)
Returns
Nothing.
Description
Sets the memory pointer p for command c.
Parameters :
-
p:
address where command should be written
-
c:
command to be written
Requires
SToshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
SPI_T6963C_SetPtr(T6963C_grHomeAddr + start,
T6963C_ADDRESS_POINTER_SET)
T6963C_ADDRESS_POINTER_SET)
Prototype
sub procedure SPI_T6963C_WaitReady()
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()