a0ccd623c6
git-svn-id: file:///srv/dev-disk-by-uuid-17e88007-4d0c-45e0-8757-cacfcc458630/repositories/svn/Diplomarbeit@110 9fe90eed-be63-e94b-8204-d34ff4c2ff93
118 lines
3.7 KiB
C
118 lines
3.7 KiB
C
/* ---------------------------------------------------------------------------
|
|
* topoftest.h (c) 2008 Micro-key bv
|
|
* ---------------------------------------------------------------------------
|
|
* Micro-key bv
|
|
* Industrieweg 28, 9804 TG Noordhorn
|
|
* Postbus 92, 9800 AB Zuidhorn
|
|
* The Netherlands
|
|
* Tel: +31 594 503020
|
|
* Fax: +31 594 505825
|
|
* Email: support@microkey.nl
|
|
* Web: www.microkey.nl
|
|
* ---------------------------------------------------------------------------
|
|
* Description:
|
|
* Headfile for Main designtest File topoftest.c
|
|
* ---------------------------------------------------------------------------
|
|
* Version(s): 0.1, Mar 06, 2008, MMi
|
|
* Creation.
|
|
* ---------------------------------------------------------------------------
|
|
*/
|
|
#ifndef TOPOFTEST_H_
|
|
#define TOPOFTEST_H_
|
|
|
|
/* ---------------------------------------------------------------------------
|
|
* System include files.
|
|
* ---------------------------------------------------------------------------
|
|
*/
|
|
#include "lpc23xx.h"
|
|
#include "types.h"
|
|
#include "serial.h"
|
|
|
|
/* FreeRTOS includes */
|
|
#include "FreeRTOS.h"
|
|
#include "task.h"
|
|
|
|
|
|
/* ---------------------------------------------------------------------------
|
|
* Application include files.
|
|
* ---------------------------------------------------------------------------
|
|
*/
|
|
|
|
/* ---------------------------------------------------------------------------
|
|
* Constant and macro definitions.
|
|
* ---------------------------------------------------------------------------
|
|
*/
|
|
|
|
/* ---------------------------------------------------------------------------
|
|
* Type definitions.
|
|
* ---------------------------------------------------------------------------
|
|
*/
|
|
|
|
/* ---------------------------------------------------------------------------
|
|
* Variable declarations.
|
|
* ---------------------------------------------------------------------------
|
|
*/
|
|
/* Global Test Result Variables */
|
|
BOOLEAN g_slaveaiotest;
|
|
BOOLEAN g_ledtest;
|
|
BOOLEAN g_framtest;
|
|
BOOLEAN g_diotest;
|
|
BOOLEAN g_aiotest;
|
|
BOOLEAN g_cantest;
|
|
BOOLEAN g_eepromtest;
|
|
BOOLEAN g_flashtest;
|
|
BOOLEAN g_comtest;
|
|
BOOLEAN g_mmctest;
|
|
BOOLEAN g_logtest;
|
|
BOOLEAN g_powertest;
|
|
BOOLEAN g_rtctest;
|
|
BOOLEAN g_batterytest;
|
|
/* ---------------------------------------------------------------------------
|
|
* Function declarations.
|
|
* ---------------------------------------------------------------------------
|
|
*/
|
|
|
|
/* ---------------------------------------------------------------------------
|
|
* Function: designtest
|
|
*
|
|
* Main Function to the design Test.
|
|
* Application Initialisations are called from here.
|
|
*
|
|
* Parameters: void
|
|
*
|
|
* Return: void
|
|
* ---------------------------------------------------------------------------
|
|
*/
|
|
void mainInit(void);
|
|
|
|
|
|
/* ---------------------------------------------------------------------------
|
|
* Function: CalcTestResult
|
|
*
|
|
* Calculates a "PASSED" oder "FAILED" Result out of the single, global
|
|
* Test Results
|
|
*
|
|
* Parameters: void
|
|
*
|
|
* Return: BOOLEAN - Calculation Result
|
|
* ---------------------------------------------------------------------------
|
|
*/
|
|
BOOLEAN CalcTestResult (void);
|
|
|
|
|
|
/* ---------------------------------------------------------------------------
|
|
* Function: showSpinningWheel
|
|
*
|
|
* Function to show a spinning wheel out of characters '/', '-', '\' and '|'
|
|
* The Wheel is used to indecate, that the system is still running but busy
|
|
* with a certain task.
|
|
*
|
|
* Parameter: void
|
|
*
|
|
* Return: void
|
|
* ---------------------------------------------------------------------------
|
|
*/
|
|
void showSpinningWheel (void);
|
|
|
|
#endif /*TOPOFTEST_H_*/
|