![]() |
Energy Micro IEC60355 Library Project 1.037 GCC-Version
IEC60355 Library documentation and API
|
header for c based test for internal FLASH POST and BIST internal FLASH test for all compiler More...
#include "iec60335_class_b_typedef.h"

Go to the source code of this file.
Defines | |
| #define | dynamic_CRC_table 0 |
| #define | SIZE32K 0x00007FFF |
| #define | SIZE64K 0x0000FFFF |
| #define | SIZE128K 0x0001FFFF |
| #define | FLASHSIZE SIZE128K |
| #define | FLASH_SIGN1 1 |
| #define | FLASH_SIGN2 2 |
| #define | CRC_block_size 1024 |
| #define | FLASH_CRC_Done 1 |
| #define | FLASH_CRC_InProg 2 |
| #define | FLASH_CRC_Missing 3 |
| #define | FLASH_CRC_Valid 4 |
| #define | FLASH_CRC_Restart 5 |
| #define | ENTRY_FLASH_CRC { 0x0A59B834, FLASHSIZE, (uint32_t) __STEXT, FLASHSIZE, FLASH_CRC_Valid } |
| struct defining the FLASH content with CRC, size etc. | |
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 | |
header for 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.h.