Mikroelektronika MIKROE-738 Datenbogen

Seite von 682
mikroC PRO for PIC32
MikroElektronika
517
SPI_T6963C_setPtr
SPI_T6963C_waitReady
SPI_T6963C_fill
Prototype
void SPI_T6963C_setPtr(unsigned int p, unsigned char c);
Description Sets the memory pointer 
p
 for command 
p
.
Parameters 
p
: address where command should be written 
c
: command to be written 
Returns
Nothing.
Requires
Toshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
SPI_T6963C_setPtr(SPI_T6963C_grHomeAddr+start, SPI_T6963C_ADDRESS_POINTER_
SET);
Notes
None.
Prototype
void SPI_T6963C_waitReady();
Description Pools the status byte, and loops until Toshiba Glcd module is ready.
Parameters None.
Returns
Nothing.
Requires
Toshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
SPI_T6963C_waitReady();
Notes
None.
Prototype
void  SPI_T6963C_fill(unsigned  char  v,  unsigned  int  start,  unsigned  int 
len);
Description Fills controller memory block with given byte.
Parameters 
v
: byte to be written 
start
: starting address of the memory block 
len
: length of the memory block in bytes 
Returns
Nothing.
Requires
Toshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
SPI_T6963C_fill(0x33,0x00FF,0x000F);
Notes
None.