Energy Micro IEC60355 Library Project 1.037 GCC-Version
IEC60355 Library documentation and API

iec60335_class_b_timer_rtc_test.h File Reference

header file for clock structure test More...

Include dependency graph for iec60335_class_b_timer_rtc_test.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void IEC60335_ClassB_initClockTest (uint32_t ratio, uint32_t tolerance)
 This function initializes the IEC60335 Class B clock test for BIST usage all test structures are reset to defined values.
testResult_t IEC60335_ClassB_Clocktest_PollHandler (void)
 This function represents the part of the IEC60335 Class B clock test which has to be executed within the main loop. It checks several thing:

  • If the clock test timer interrupts are triggered
  • If the clock test RTC interrupt is triggered
  • or, If in any of the two interrupts an error was detected...

static __INLINE void IEC60335_ClassB_Clocktest_TimerHandler (void)
 This function is intended to use as timer interrupt service handler or to be called once inside the timer interrupt service handler.
void IEC60335_ClassB_Clocktest_RTCHandler (void)
 This function is intended to be called once inside the custom RTC interrupt service handler.

Variables

ClockTest_t ClockTest

Detailed Description

header file for clock structure test

Author:
Energy Micro AS
Version:
1.0.0

License

(C) Copyright 2010 Energy Micro AS, http://www.energymicro.com

This source code is the property of Energy Micro AS. The source and compiled code may only be used on Energy Micro "EFM32" microcontrollers.

This copyright notice may not be removed from the source code nor changed.

DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Energy Micro AS has no obligation to support this Software. Energy Micro AS is providing the Software "AS IS", with no express or implied warranties of any kind, including, but not limited to, any implied warranties of merchantability or fitness for any particular purpose or warranties against infringement of any proprietary rights of a third party.

Energy Micro AS will not be liable for any consequential, incidental, or special damages, or any other relief, or for any claim by any third party, arising from your use of this Software.

Definition in file iec60335_class_b_timer_rtc_test.h.