FT800 Series Programmer Guide
Version 2.1
Document Reference No.: BRT_000030 Clearance No.: BRT#037
156
Copyright © Bridgetek Limited
5.13
CMD_SWAP - swap the current display list
When the co-processor engine executes this command, it requests a display list swap
immediately after current display list is scanned out. Internally, the co-processor engine
implements this command by writing to REG_DLSWAP. Please see REG_DLSWAP
Definition.
This co-processor engine command will not generate any display list command into
display list memory RAM_DL.
C prototype
void cmd_swap( );
Command layout
+0
CMD_DLSWAP(0xffffff01)
Examples
None
5.14
CMD_COLDSTART - set co-processor engine state to
default values
This command sets co-processor engine to reset default states.
C prototype
void cmd_coldstart( );
Command layout
+0
CMD_COLDSTART(0xffffff32)
Examples
Change to a custom color scheme, and then restore the default colors:
cmd_fgcolor(0x00c040);
cmd_gradcolor(0x000000);
cmd_button( 2, 32, 76, 56, 26, 0,
"custom");
cmd_coldstart();
cmd_button( 82, 32, 76, 56, 26, 0,
"default");