Mikroelektronika MIKROE-742 데이터 시트

다운로드
페이지 532
SPI_T6963C_SetGrPanel
SPI_T6963C_SetTxtPanel
SPI_T6963C_PanelFill
442
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroPASCAL PRO for AVR
CHAPTER 6
Prototype
procedure SPI_T6963C_SetGrPanel(n : byte);
Returns
Nothing.
Description
Compute start address for selected graphic panel and set appropriate internal point-
ers. All subsequent graphic operations will be preformed at this 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
// set graphic panel 1 as current graphic panel.
SPI_T6963C_SetGrPanel(1);
Prototype
procedure SPI_T6963C_SetTxtPanel(n : byte);
Returns
Nothing.
Description
Compute start address for selected text panel and set appropriate internal point-
ers. All subsequent text operations will be preformed at this 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
// set text panel 1 as current text panel.
SPI_T6963C_SetTxtPanel(1);
Prototype
procedure SPI_T6963C_PanelFill(v : byte);
Returns
Nothing.
Description
Fill current panel in full (graphic+text) with appropriate value (0 to clear).
Parameters : 
v
: value to fill panel with. 
Requires
Toshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
clear current panel
SPI_T6963C_PanelFill(0);