![]() |
Energy Micro IEC60355 Library Project 1.037 GCC-Version
IEC60355 Library documentation and API
|
IEC60335 Class B c based clock structure test POST and BIST clock structure test for all compiler. More...
#include "iec60335_class_b.h"
Go to the source code of this file.
Defines | |
| #define | SyncRTC() (RTC->SYNCBUSY & 1) |
| #define | SyncCMU() (CMU->OSCENCMD & 0x80) |
| #define | GetIRQRTC() (RTC->IF & RTC_IF_COMP0) |
Functions | |
| void | IEC60335_resetClockTest (uint32_t ratio, uint32_t tolerance) |
| internal function to reset all test structures | |
| 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:
| |
| 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 |
IEC60335 Class B c based clock structure test POST and BIST clock structure test for all compiler.
(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.c.