Energy Micro IEC60355 Library Example Project 1.0 (internal use only!) GCC-Version
Example project demonstrating POST and BIST library functions

iec60335_class_b_timer_rtc_test.h

Go to the documentation of this file.
00001 /***************************************************************************/
00028 #ifndef __IEC60335_CLASS_B_TIMER_RTC_TEST_H__
00029 #define __IEC60335_CLASS_B_TIMER_RTC_TEST_H__
00030 
00035 #include "iec60335_class_b_typedef.h"
00036 
00037 extern ClockTest_t ClockTest;
00038 
00039 #ifdef __cplusplus
00040 extern "C"
00041 {
00042 #endif /* __cplusplus */
00043 
00053 void IEC60335_ClassB_initClockTest(uint32_t ratio, uint32_t tolerance);
00070 testResult_t IEC60335_ClassB_Clocktest_PollHandler(void);
00071 
00076 __INLINE static void IEC60335_ClassB_Clocktest_TimerHandler(void)
00077 {
00078   /* Increment counter necessary in test*/
00079   ClockTest.timerCounter++;
00080 }
00081 
00089 void IEC60335_ClassB_Clocktest_RTCHandler(void);
00090 
00091 #ifdef __cplusplus
00092 }
00093 #endif /* __cplusplus */
00094 
00099 #endif  /* __IEC60335_CLASS_B_TIMER_RTC_TEST_H__ */
00100 
00101 /************************************** EOF *********************************/