User manual
550
mikoBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
SPI_T6963C_setPtr
SPI_T6963C_waitReady
SPI_T6963C_ll
Prototype
sub procedure SPI_T6963C_setPtr(dim p as word, dim c as byte)
Description Sets the memory pointer p for command p.
Parameters - p: address where command should be written
- c: command to be written
Returns Nothing.
Requires Toshiba Glcd module needs to be initialized. See SPI_T6963C_Cong routine.
Example
SPI_T6963C_setPtr(SPI_T6963C_grHomeAddr + start, SPI_T6963C_ADDRESS_
POINTER_SET)
Notes None.
Prototype
sub procedure SPI_T6963C_waitReady()
Description Pools the status byte, and loops until Toshiba Glcd module is ready.
Parameters None.
Returns Nothing.
Requires Toshiba Glcd module needs to be initialized. See SPI_T6963C_Cong routine.
Example
SPI_T6963C_waitReady()
Notes None.
Prototype
sub procedure SPI_T6963C_ll(dim v as byte, dim start, len as word)
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
Returns Nothing.
Requires Toshiba Glcd module needs to be initialized. See SPI_T6963C_Cong routine.
Example
SPI_T6963C_ll(0x33,0x00FF,0x000F)
Notes None.