User manual

Table Of Contents
mikroC PRO for PIC32
MikroElektronika
311
S1D13700_Write_Parameter
S1D13700_Read_Parameter
S1D13700_Fill
Prototype
void S1D13700_Write_Parameter(char parameter);
Returns Nothing.
Description Writes a parameter to S1D13700 controller.
Parameters:
- parameter: parameter to be written.
Requires Glcd module needs to be initialized. See the S1D13700_Init routine.
Previously, a command must be sent through S1D13700_Write_Command routine.
Example
S1D13700_Write_Command(S1D13700_CSRW); // set cursor address
S1D13700_Write_Parameter(Lo(start)); // send lower byte of cursor address
S1D13700_Write_Parameter(Hi(start)); // send higher byte cursor address
Prototype
char S1D13700_Read_Parameter();
Returns Nothing.
Description Reads a parameter from GLCD port.
Requires Glcd module needs to be initialized. See the S1D13700_Init routine.
Example
parameter = S1D13700_Read_Parameter();
Prototype
void S1D13700_Fill(char d, unsigned int start, unsigned int len);
Returns Nothing.
Description Fills Glcd memory block with given byte.
Parameters:
- d: byte to be written.
- start: starting address of the memory block.
- len: length of the memory block in bytes.
Requires Glcd module needs to be initialized. See the S1D13700_Init routine.
Example
// from the starting address of 0x3000, ll the memory block size of 0x7FFF
with 0x20
S1D13700_Fill(0x20, 0x3000, 0x7FFF);