Mikroelektronika MIKROE-742 데이터 시트

다운로드
페이지 532
SPI_T6963C_NegBit
SPI_T6963C_DisplayGrPanel
SPI_T6963C_DisplayTxtPanel
441
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroPASCAL PRO for AVR
CHAPTER 6
Prototype
procedure SPI_T6963C_negBit(b : byte);
Returns
Nothing.
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. 
Requires
Toshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
// negate bits 0 and 1 on control port
SPI_T6963C_NegBit(0x03);
Prototype
procedure SPI_T6963C_DisplayGrPanel(n : byte);
Returns
Nothing.
Description
Display selected graphic panel.
Parameters : 
n
: graphic panel number. Valid values: 0 and 1. 
Requires
Toshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
// display graphic panel 1
SPI_T6963C_DisplayGrPanel(1);
Prototype
procedure SPI_T6963C_DisplayTxtPanel(n : byte);
Returns
Nothing.
Description
Display selected text panel.
Parameters : 
n
: text panel number. Valid values: 0 and 1. 
Requires
Toshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
// display text panel 1
SPI_T6963C_DisplayTxtPanel(1);