Moved remotely

git-svn-id: file:///srv/dev-disk-by-uuid-17e88007-4d0c-45e0-8757-cacfcc458630/repositories/svn/Diplomarbeit@110 9fe90eed-be63-e94b-8204-d34ff4c2ff93
This commit is contained in:
Matthias
2009-01-12 08:37:59 +00:00
parent 9acc85b348
commit a0ccd623c6
54 changed files with 0 additions and 0 deletions
@@ -0,0 +1,104 @@
/* ---------------------------------------------------------------------------
* remote_tests.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:
* ---------------------------------------------------------------------------
* Version(s): 0.1, Aug 29, 2008, MMi
* Creation.
* ---------------------------------------------------------------------------
*/
#ifndef REMOTE_TESTS_H_
#define REMOTE_TESTS_H_
/* ---------------------------------------------------------------------------
* System include files.
* ---------------------------------------------------------------------------
*/
#include "LPC23xx.h"
#include "types.h"
/* FreeRTOS includes */
#include "FreeRTOS.h"
#include "Task.h"
/* ---------------------------------------------------------------------------
* Application include files.
* ---------------------------------------------------------------------------
*/
/* ---------------------------------------------------------------------------
* Constant and macro definitions.
* ---------------------------------------------------------------------------
*/
/* ---------------------------------------------------------------------------
* Type definitions.
* ---------------------------------------------------------------------------
*/
/* ---------------------------------------------------------------------------
* Variable declarations.
* ---------------------------------------------------------------------------
*/
/* ---------------------------------------------------------------------------
* Function declarations.
* ---------------------------------------------------------------------------
*/
void r_TestInit (void);
/* ---------------------------------------------------------------------------
* Function: r_xyzTest
*
* Functions that call the corresponding test on remote Device and handle
* some optical commands like Result printout and LED controlling
*
* Parameter: BOOLEAN * xyztest - Test Result is written to this variable
*
* Return: void
* ---------------------------------------------------------------------------
*/
void r_BatteryTest (BOOLEAN * batterytest);
void r_LEDTest (BOOLEAN * ledtest);
void r_framTest (BOOLEAN * framtest);
void r_EEPROMTest (BOOLEAN * eepromtest);
void r_FLASHTest (BOOLEAN * flashtest);
void r_LogTest (BOOLEAN *logtest);
void r_DIOTest (BOOLEAN * diotest);
void r_AIOTest (BOOLEAN * aiotest);
void r_MMCTest (BOOLEAN * mmctest);
void r_PowerTest (BOOLEAN * powertest);
void r_RTCTest (BOOLEAN * rtctest);
/* ---------------------------------------------------------------------------
* Function: postpareTest
*
* Function to manage all needed things after a Test - e.g. Restore
* DIO-Results or Create/Resume Tasks.
*
* Parameter: BOOLEAN TestResult - Testresult of current Test
* portBASE_TYPE *basetype - TaskCreation Result
* UINT32 LEDNumber - LEDNumber to be used for that Test
* pdTASK_CODE TaskCode - Function, that should be tasked
* pUINT8 taskname - Name for the Task
* xTaskHandle *pTaskHandler - TaskHandler
*
* Return: void
* ---------------------------------------------------------------------------
*/
void postpareTest (BOOLEAN TestResult, portBASE_TYPE *basetype,
UINT32 LEDNumber, pdTASK_CODE TaskCode,
pUINT8 taskname, xTaskHandle *pTaskHandler);
#endif /*REMOTE_TESTS_H_*/