Hi.
I am using STemwin + ILI9341 SPI LCD.
in FMC configuration we should use some codes like:
Display All
in LCDConf_Flexcolor.c file.
now... the question is how to edit this lines for SPI lcds?
thanks.
I am using STemwin + ILI9341 SPI LCD.
in FMC configuration we should use some codes like:
Source Code
- /*
- * LcdWriteReg
- */
- static void LcdWriteReg(U16 Data) {
- *(uint16_t *)0x60000000 = Data;
- }
- /*
- * LcdWriteData
- */
- static void LcdWriteData(U16 Data) {
- *(uint16_t *)0x60020000 = Data;
- }
- /*
- * LcdWriteDataMultiple
- */
- static void LcdWriteDataMultiple(U16 * pData, int NumItems) {
- while (NumItems--) {
- *(uint16_t *)0x60020000 = *pData;
- pData++;
- }
- }
- /*
- * LcdReadDataMultiple
- */
- static void LcdReadDataMultiple(U16 * pData, int NumItems) {
- while (NumItems--) {
- *pData = *(uint16_t *)0x60020000;
- pData++;
- }
- }
now... the question is how to edit this lines for SPI lcds?
thanks.