TMPM4G9  V1.0.0.0
safety_flash.h
Go to the documentation of this file.
1 
13 /*------------------------------------------------------------------------------*/
14 /* Define to prevent recursive inclusion */
15 /*------------------------------------------------------------------------------*/
16 #ifndef _SAFETY_FLASH_H
17 #define _SAFETY_FLASH_H
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
23 /*------------------------------------------------------------------------------*/
24 /* Includes */
25 /*------------------------------------------------------------------------------*/
26 #include "txz_safety_def.h"
27 
37 /*------------------------------------------------------------------------------*/
38 /* Macro Definition */
39 /*------------------------------------------------------------------------------*/
45 #define CRC32 0
46 #define CRC16 1
47 #define CRC CRC32
48  /* End of group FLASHTest_Exported_define */
52 
53 /*------------------------------------------------------------------------------*/
54 /* Enumerated Type Definition */
55 /*------------------------------------------------------------------------------*/
61 /* no define */
62  /* End of group FLASHTest_Exported_define */
66 
67 /*------------------------------------------------------------------------------*/
68 /* Structure Definition */
69 /*------------------------------------------------------------------------------*/
75 /* no define */
76  /* End of group FLASHTest_Exported_typedef */
80 
81 /*------------------------------------------------------------------------------*/
82 /* Functions */
83 /*------------------------------------------------------------------------------*/
89 bool safety_FLASH(uint32_t start, uint32_t length, uint32_t crc32_value);
90  /* End of group FLASHTest_Exported_functions */
94  /* End of group FLASHTest */
98  /* End of group Safety_Library */
102 
103 #ifdef __cplusplus
104 }
105 #endif /* __cplusplus */
106 #endif /* _SAFETY_FLASH_H */
107 
108 
All common macro and definition for TXZ safety libraries.
bool safety_FLASH(uint32_t start, uint32_t length, uint32_t crc32_value)
FLASH CRC test.
Definition: safety_flash.c:253