Mikroelektronika MIKROE-742 데이터 시트

다운로드
페이지 532
SPI_T6963C_Set_Cursor
SPI_T6963C_ClearBit
SPI_T6963C_SetBit
440
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroPASCAL PRO for AVR
CHAPTER 6
Prototype
procedure SPI_T6963C_set_cursor(x, y : 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
procedure SPI_T6963C_clearBit(b : 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);
Prototype
procedure SPI_T6963C_setBit(b : 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);