/* --------------------------------------------------------------------------- * testrtc.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: * Headerfile for RTC test File testrtc.c * --------------------------------------------------------------------------- * Version(s): 0.1, Feb 26, 2008, MMi * Creation. * --------------------------------------------------------------------------- */ #ifndef TESTRTC_H_ #define TESTRTC_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: testrtcStart * * Main Function for RTC Tests * * Parameter: void * * Return: BOOLEAN - Test Result * --------------------------------------------------------------------------- */ BOOLEAN testrtcStart(void); /* --------------------------------------------------------------------------- * Function: DoRTCWrite * * Writes defined Values to the RTC * * Parameter: void * * Return: void * --------------------------------------------------------------------------- */ void DoRTCWrite (void); /* --------------------------------------------------------------------------- * Function: DoRTCRead * * Reads Values from the RTC and compares them with written Values. Also does * a check if RTC is running * * Parameter: void * * Return: BOOLEAN - Test Result * --------------------------------------------------------------------------- */ BOOLEAN DoRTCRead (void); #endif /*TESTRTC_H_*/