Mikroelektronika MIKROE-738 Datenbogen

Seite von 682
mikroC PRO for PIC32
MikroElektronika
549
T6963C_set_cursor
T6963C_clearBit
T6963C_setBit
Prototype
void T6963C_set_cursor(unsigned char x, unsigned char y);
Description Sets cursor to row x and column y.
Parameters 
x
: cursor position row number 
y
: cursor position column number 
Returns
Nothing.
Requires
Toshiba Glcd module needs to be initialized. See the T6963C_init routine.
Example
T6963C_set_cursor(cposx, cposy);
Notes
None.
Prototype
void T6963C_clearBit(unsigned int b);
Description Clears control port bit(s).
Parameters 
b
: bit mask. The function will clear bit 
x
 on control port if bit 
x
 in bit mask is set to 1. 
Returns
Nothing.
Requires
Toshiba Glcd module needs to be initialized. See the T6963C_init routine.
Example
// clear bits 0 and 1 on control port
T6963C_clearBit(0x0003);
Notes
None.
Prototype
void T6963C_setBit(unsigned int b);
Description Sets control port bit(s).
Parameters 
b
: bit mask. The function will set bit 
on control port if bit 
x
 in bit mask is set to 1. 
Returns
Nothing.
Requires
Toshiba Glcd module needs to be initialized. See the T6963C_init routine.
Example
// set bits 0 and 1 on control port
T6963C_setBit(0x0003);
Notes
None.