User Manual Part 7

User Guide to Q4000/QPRO
Document Number 1135-4713 Rev G
THIS DOCUMENT CONTAINS CONFIDENTIAL AND PROPRIETARY INFORMATION OF QUAKE GLOBAL CORPORATION. IT MAY BE USED BY
RECIPIENT ONLY FOR THE PURPOSE FOR WHICH IT WAS TRANSMITTED AND WILL BE RETURNED UPON REQUEST OR WHEN NO LONGER NEEDED
BY RECIPIENT. DISCLOSURE TO UNAUTHORIZED THIRD PARTIES OR DUPLICATION WITHOUT THE EXPRESS WRITTEN PERMISSION OF QUAKE
GLOBAL IS PROHIBITED.
Page 127
CONFIDENTIAL
Information classified Confidential
-
Do not copy (See last page for obligations)
The first demo task to be created,
rtosDemo()
, is the primary task. It samples the
supply/battery voltage and does some rudimentary analysis of the data. The task also
periodically creates a formatted printable string which it sends to the secondary task via a
message queue to be printed. It then demonstrates the use of a mutex and periodically checks
the heap to demonstrate use of this feature.
Figure 12-64: DemoAppRTOS - Primary Demo task