WaitCmdFifoEmpty
From MCS Wiki AVR
(Difference between revisions)
Admin (Talk | contribs)
(Created page with "= <span class="f_Header">Action</span> = Executes Commands in the FIFO buffer. <span style="font-family: Arial;"> </span> <span style="font-family: Arial;"> </spa...")
(Created page with "= <span class="f_Header">Action</span> = Executes Commands in the FIFO buffer. <span style="font-family: Arial;"> </span> <span style="font-family: Arial;"> </spa...")
Latest revision as of 23:17, 12 December 2014
Action
Executes Commands in the FIFO buffer.
Syntax
WaitCmdFifoEmpty
Remarks
WaitCmdFifoEmpty polls a loop checking the state of the Reg_Cmd_Read and Reg_Cmd_Write registers
to see whether the FT800 has executed the commands in the FIFO buffer.
If the your code is long you have to be careful it's not more than 4K otherwise you can get
overflows/corruption.
Inserting WaitCmdFifoEmpty in area of your code allows you to execute parts of your code
instantly, but be aware it won't display any Graphics and don't use it for Graphics Display
(use UpdateScreen)
Languages | English |
---|