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

iec60335_class_b_cpureg_test.h File Reference

IEC60335 Class B CPU register tests header for C based POST and BIST CPU register test for all compiler. More...

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

Go to the source code of this file.

Defines

#define TestClear   0x00000000
 ordered register test states to verify all tests are done after the CPU register POST test or determine the test which fails (order from LSB up)
#define TestState_r0   0x00000010
#define TestState_r1r7   0x00000020
#define TestState_r8r12   0x00000040
#define TestStateMSP   0x00000100
#define TestStatePSP   0x00000200
#define TestStateLR   0x00000400
#define TestStateAPSR   0x00000800
#define TestStatePRIMASK   0x00001000
#define TestStateFAULTMASK   0x00002000
#define TestStateBASEPRI   0x00004000

Functions

void ASMCPUregTestPOST (void)
 private IEC607335 CPU register test POST (Pre-Operation Self Test) consecutive test of all registers in assembler
void ASMCPUregTestLOW (void)
 private IEC607335 CPU register test Low-range registers tests r0-r7
void ASMCPUregTestHIGH (void)
 private IEC607335 CPU register test Mid-range registers tests r8-r12
void ASMCPUregTestSP (void)
 private IEC607335 CPU register test Stack pointer registers tests MSP,PSP
void ASMCPUregTestSPEC (void)
 private IEC607335 CPU register test Other special register tests
testResult_t IEC60335_ClassB_CPUregTest_BIST (void)
 public IEC607335 CPU register test BIST (Build in Self Test) consecutive test of all registers in assembler are called
testResult_t IEC60335_ClassB_CPUregTest_POST (void)
 public IEC607335 CPU register test POST (Pre-Operation Self Test) consecutive test of all registers in assembler are called

Detailed Description

IEC60335 Class B CPU register tests header for C based POST and BIST CPU register test for all compiler.

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_cpureg_test.h.