Mikroelektronika MIKROE-742 데이터 시트

다운로드
페이지 532
T6963C_WriteData
T6963C_WriteCommand
T6963C_SetPtr
456
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroPASCAL PRO for AVR
CHAPTER 6
Prototype
procedure T6963C_WriteData(mydata : byte);
Returns
Nothing.
Description
Writes data to T6963C controller.
Parameters : 
mydata
: data to be written 
Requires
Toshiba Glcd module needs to be initialized. See the T6963C_Init routine.
Example
T6963C_WriteData(AddrL);
Prototype
procedure T6963C_WriteCommand(mydata : byte);
Returns
Nothing.
Description
Writes command to T6963C controller.
Parameters : 
mydata
: command to be written 
Requires
Toshiba Glcd module needs to be initialized. See the T6963C_Init routine.
Example
T6963C_WriteCommand(T6963C_CURSOR_POINTER_SET);
Prototype
procedure T6963C_SetPtr(p : word; c : byte);
Returns
Nothing.
Description
Sets the memory pointer p for command c.
Parameters : 
p
: address where command should be written 
c
: command to be written 
Requires
Toshiba Glcd module needs to be initialized. See the T6963C_Init routine.
Example
T6963C_SetPtr(T6963C_grHomeAddr + start,
T6963C_ADDRESS_POINTER_SET);