User manual
mikroBasic PRO for PIC32
MikroElektronika
497
SPI_T6963C_setBit
SPI_T6963C_negBit
SPI_T6963C_displayGrPanel
Prototype
sub procedure SPI_T6963C_setBit(dim b as byte)
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.
Returns Nothing.
Requires Toshiba Glcd module needs to be initialized. See SPI_T6963C_Cong routine.
Example
‘ set bits 0 and 1 on control port
SPI_T6963C_setBit(0x0003)
Notes None.
Prototype
sub procedure SPI_T6963C_negBit(dim b as byte)
Description Negates control port bit(s).
Parameters - b: bit mask. The function will negate bit x on control port if bit x in bit mask is set to 1.
Returns Nothing.
Requires Toshiba Glcd module needs to be initialized. See SPI_T6963C_Cong routine.
Example
‘ negate bits 0 and 1 on control port
SPI_T6963C_negBit(0x0003)
Notes None.
Prototype
sub procedure SPI_T6963C_displayGrPanel(dim n as word)
Description Display selected graphic panel.
Parameters - n: graphic panel number. Valid values: 0 and 1.
Returns Nothing.
Requires Toshiba Glcd module needs to be initialized. See SPI_T6963C_Cong routine.
Example
‘ display graphic panel 1
SPI_T6963C_displayGrPanel(1)
Notes None.