![]() |
Energy Micro IEC60355 Library Example Project 1.0 (internal use only!) GCC-Version
Example project demonstrating POST and BIST library functions
|
c based RAM test POST and BIST RAM test for all compiler More...
#include "efm32.h"#include "iec60335_class_b.h"
Go to the source code of this file.
Defines | |
| #define | WA(ptr) * ((volatile uint32_t *) ptr) |
| #define | __st(x) do { x; } while (0) |
| #define | MOP_R0() __st(if (WA(ptr) != r0_exp) goto R0_FAULT_DETECTED;) |
| #define | MOP_R1() __st(if (WA(ptr) != r1_exp) goto R1_FAULT_DETECTED;) |
| #define | MOP_W0() __st(WA(ptr) = r0_exp;) |
| #define | MOP_W1() __st(WA(ptr) = r1_exp;) |
| #define | MOP_DEL() __NOP() |
Functions | |
| testResult_t | IEC60335_ClassB_RAMtest (uint32_t startAddrs, uint32_t size, uint8_t block_sel) |
| private function referenced by POST and BIST tests | |
| testResult_t | IEC60335_ClassB_RAMtest_POST (void) |
| POST public function testing the complete RAM. | |
| testResult_t | IEC60335_ClassB_RAMtest_BIST (uint32_t startAddr, uint32_t length) |
| BIST public function referenced by BIST tests. | |
c based RAM test POST and BIST RAM 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_ram_test.c.