EasyManua.ls Logo

Bridgetek FT801 - CMD_INTERRUPT - Trigger Interrupt INT_CMDFLAG

Default Icon
263 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
FT800 Series Programmer Guide
Version 2.1
Document Reference No.: BRT_000030 Clearance No.: BRT#037
158
Product Page
Document Feedback Copyright © Bridgetek Limited
5.15 CMD_INTERRUPT - trigger interrupt INT_CMDFLAG
When the co-processor engine executes this command, it triggers interrupt
INT_CMDFLAG.
C prototype
void cmd_interrupt( uint32_t ms );
Parameters
ms
Delay before interrupt triggers, in milliseconds. The interrupt is guaranteed
not to fire before this delay. If ms is zero, the interrupt fires immediately.
Command layout
+0
CMD_INTERRUPT(0xffffff02)
+4
ms
Examples
To trigger an interrupt after a JPEG has finished loading:
cmd_loadimage();
...
cmd_interrupt(0); // previous load image complete, trigger interrupt
To trigger an interrupt in 0.5 seconds:
cmd_interrupt(500);
...

Table of Contents