Mikroelektronika MIKROE-738 Datenbogen
![Mikroelektronika](https://files.manualsbrain.com/attachments/e0529b3b58069a916ad7bb89f7e9f5f0eda73421/common/fit/150/50/1b07b99aa3112e022a916b06db07f1f4f211e91d41878452d87c7638b1bf/brand_logo.gif)
516
mikoC PRO for PIC32
MikroElektronika
Example
// Port Expander module connections
sbit SPExpanderRST at LATF0_bit;
sbit SPExpanderCS at LATF1_bit;
sbit SPExpanderRST_Direction at TRISF0_bit;
sbit SPExpanderCS_Direction at TRISF1_bit;
// End Port Expander module connections
...
// Initialize SPI module
SPI1_Init();
SPI_T6963C_Config(240, 64, 8, 0, 0, 1, 3, 4);
Notes
None.
SPI_T6963C_writeData
SPI_T6963C_writeCommand
Prototype
void SPI_T6963C_writeData(unsigned char data_);
Description Writes data to T6963C controller via SPI interface.
Parameters -
Parameters -
data_
: data to be written
Returns
Nothing.
Requires
Toshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
SPI_T6963C_writeData(data_);
Notes
None.
Prototype
void SPI_T6963C_writeCommand(unsigned char data_);
Description Writes command to T6963C controller via SPI interface.
Parameters -
Parameters -
data_
: command to be written
Returns
Nothing.
Requires
Toshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
SPI_T6963C_writeCommand(SPI_T6963C_CURSOR_POINTER_SET);
Notes
None.