STLcrc32Run.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /**
  2. ******************************************************************************
  3. * @file STLcrc32Run.h
  4. * @author MCD Application Team
  5. * @version V1.0.0
  6. * @date May-2012
  7. * @brief Contains the prototypes of the functions performing
  8. * run time invariable memory checks based on 32-bit CRC
  9. ******************************************************************************
  10. * @copyright
  11. *
  12. * <h2><center>&copy; COPYRIGHT 2012 STMicroelectronics</center></h2>
  13. *
  14. * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
  15. * You may not use this file except in compliance with the License.
  16. * You may obtain a copy of the License at:
  17. *
  18. * http://www.st.com/software_license_agreement_liberty_v2
  19. *
  20. * Unless required by applicable law or agreed to in writing, software
  21. * distributed under the License is distributed on an "AS IS" BASIS,
  22. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  23. * See the License for the specific language governing permissions and
  24. * limitations under the License.
  25. */
  26. /* Define to prevent recursive inclusion -------------------------------------*/
  27. #ifndef __STL_FLASH_CRC32_RUN_TIME_H
  28. #define __STL_FLASH_CRC32_RUN_TIME_H
  29. /* Includes ------------------------------------------------------------------*/
  30. #include "STLlib.h"
  31. /* Exported types ------------------------------------------------------------*/
  32. //typedef enum {
  33. // TEST_RUNNING,
  34. // CLASS_B_DATA_FAIL,
  35. // CTRL_FLW_ERROR,
  36. // TEST_FAILURE,
  37. // TEST_OK
  38. // } ClassBTestStatus;
  39. /* Exported constants --------------------------------------------------------*/
  40. /* Exported macro ------------------------------------------------------------*/
  41. /* Exported functions ------------------------------------------------------- */
  42. void STL_FlashCrc32Init(void);
  43. ClassBTestStatus STL_crc32Run(void);
  44. #endif /* __STL_FLASH_CRC32_RUN_TIME_H */
  45. /******************* (C) COPYRIGHT STMicroelectronics *****END OF FILE****/