373a8c32b2
git-svn-id: file:///srv/dev-disk-by-uuid-17e88007-4d0c-45e0-8757-cacfcc458630/repositories/svn/Diplomarbeit@55 9fe90eed-be63-e94b-8204-d34ff4c2ff93
82 lines
2.8 KiB
C
82 lines
2.8 KiB
C
/* ---------------------------------------------------------------------------
|
|
* testLED.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: Digital inputs/outputs interface.
|
|
* ---------------------------------------------------------------------------
|
|
* Version(s): 0.1, Mei 16, 2008, MMi
|
|
* Creation.
|
|
* ---------------------------------------------------------------------------
|
|
*/
|
|
#ifndef TESTLED_H_
|
|
#define TESTLED_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.
|
|
* ---------------------------------------------------------------------------
|
|
*/
|
|
/* ---------------------------------------------------------------------------
|
|
* Function: testledStart
|
|
*
|
|
* Main Function of LED test
|
|
*
|
|
* Parameters: void
|
|
*
|
|
* Return: BOOLEAN - Test Result
|
|
* ---------------------------------------------------------------------------
|
|
*/
|
|
BOOLEAN testledStart (void);
|
|
|
|
/* ---------------------------------------------------------------------------
|
|
* Function: DoledTest
|
|
*
|
|
* Switchs on all accessable LEDs and asks the user to tell result
|
|
*
|
|
* Parameters: void
|
|
*
|
|
* Return: BOOLEAN - single Test Result
|
|
* ---------------------------------------------------------------------------
|
|
*/
|
|
BOOLEAN doledTest (void);
|
|
|
|
|
|
#endif /*TESTLED_H_*/
|