![]() |
Energy Micro IEC60355 Library Example Project 1.0 (internal use only!) GCC-Version
Example project demonstrating POST and BIST library functions
|
c based test for internal FLASH POST and BIST internal FLASH test for all compiler More...
#include "efm32.h"#include "iec60335_class_b.h"
Go to the source code of this file.
Defines | |
| #define | DO1(src) crc = crc_table[((uint32_t) crc ^ (*src++)) & 0xff] ^ (crc >> 8); |
| #define | DO2(src) DO1(src); DO1(src); |
| #define | DO4(src) DO2(src); DO2(src); |
| #define | DO8(src) DO4(src); DO4(src); |
Functions | |
| uint32_t | crc32 (uint32_t crc, uint8_t **const pp_src, uint32_t len) |
| private function calculating CRC32 table based checksum by POST and BIST tests | |
| testResult_t | IEC60335_ClassB_FLASHtest_POST (void) |
| public function to check the Flash content POST only by recalculation and comparison with Flash stored CRC32 value | |
| testResult_t | IEC60335_ClassB_FLASHtest_BIST (uint8_t StartMode) |
| public function (competitive) to check a part of the Flash content | |
c based test for internal FLASH POST and BIST internal FLASH 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_flash_test.c.