Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
display.DisplayListFunctions.cpp
00001 #include "display.h" 00002 00003 /************************************************************************************************************************** 00004 ************************** Start display list ***************************************************************************** 00005 **************************************************************************************************************************/ 00006 void Display::StartDL() 00007 { 00008 (*_TFT).DLstart(); 00009 // set white color for background 00010 (*_TFT).DL(CLEAR_COLOR_RGB(255, 255, 255)); 00011 // clear buffers for preset values 00012 (*_TFT).DL(CLEAR(1, 1, 1)); 00013 } 00014 00015 /************************************************************************************************************************** 00016 ************************** Finish display list **************************************************************************** 00017 **************************************************************************************************************************/ 00018 void Display::FinishDL() 00019 { 00020 (*_TFT).DL(DISPLAY()); 00021 // Swap the current display list 00022 (*_TFT).Swap(); 00023 // Download the command list into fifo TFT 00024 (*_TFT).Flush_Co_Buffer(); 00025 // Wait for the complete consumption of FT800 Coprocessor commands 00026 (*_TFT).WaitCmdfifo_empty(); 00027 } 00028
Generated on Tue Jul 12 2022 18:31:54 by
1.7.2