summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer/src/display/main.hcc
diff options
context:
space:
mode:
Diffstat (limited to 'Graphic_Equalizer/src/display/main.hcc')
-rw-r--r--Graphic_Equalizer/src/display/main.hcc87
1 files changed, 0 insertions, 87 deletions
diff --git a/Graphic_Equalizer/src/display/main.hcc b/Graphic_Equalizer/src/display/main.hcc
deleted file mode 100644
index 1c52856..0000000
--- a/Graphic_Equalizer/src/display/main.hcc
+++ /dev/null
@@ -1,87 +0,0 @@
-/*! \file main.hcc
- *
- * \section generic Message build up information and more
- *
- * \section project Project information.
- * Project Graphic Equalizer\n
- * \author O.M. Schinagl
- * \date 20041011
- * \version 0.1
- *
- * \section copyright Copyright
- * Copyright ©2004 Koninklijke Philips Electronics N.V. All rights reserved
- *
- * \section history Change history
- * 20041011: O.M. Schinagl\n Initial version
- *
- *****************************************************************************/
-
-
-/*
- * Set the Clock rate for this domain. 25.175 Mhz is required for the Video output.
- */
-#define PAL_TARGET_CLOCK_RATE 25175000
-
-/******** System Includes *************/
-#include "pal_master.hch"
-#include "pal_mouse.hch"
-
-/******** Application Includes ********/
-#include "display.hch"
-#include "mousedriver.hch"
-
-
-
-/*
- * Request Clockrate. Approximated ClockRate is compiler assigned.
- */
-static macro expr ClockRate = PAL_ACTUAL_CLOCK_RATE;
-
-
-/*! \fn void main(void);
- * \brief Main User Input/Ouput loop.
- *
- * \param void
- *
- * \return void
- * \retval void
- */
-void main(void) {
- /* Set VideoOut Pointer */
- macro expr VideoOut = PalVideoOutOptimalCT(ClockRate);
-
- /*
- * Check library versions and Request VideoOutput.
- * We need at least Major Version 1. Minor version 0 suffices.
- */
- PalVersionRequire(1, 0);
- PalVideoOutRequire(1);
-
- /*
- * Run The Following main tasks in parallel.
- */
- par {
- /*
- * Primary task is to 'Run' several hardware simultaniously.
- * VideoOutput needs to be in sync with the touchscreen and
- * need to run in sync.
- */
- PalVideoOutRun(VideoOut, ClockRate);
- MouseRun(ClockRate);
-
- /* Parallel to our Primary tasks we run the application. */
- seq {
- /* But first we need to initialize the display */
- display_init(ClockRate);
- par {
- /*
- * From here we run the mouse driver and
- * display parallel.
- */
- mouse_main();
- display_main();
- }
- }
- }
-
-} /* --- main() --- */