Document API IEC60730 Library
lib
inc
sl_iec60730_invariable_memory.h
Go to the documentation of this file.
1
/***************************************************************************/
18
#ifndef SL_IEC60730_INVARIABLE_MEMORY_H
19
#define SL_IEC60730_INVARIABLE_MEMORY_H
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
/* __cplusplus */
24
25
#include "
sl_iec60730.h
"
26
#include SL_IEC60730_BOARD_HEADER
27
28
/**************************************************************************/
201
#ifdef DOXYGEN
202
207
#define SL_IEC60730_IMC_INIT_VALUE
208
214
#define SL_IEC60730_IMC_XOROUTPUT
215
219
#define SL_IEC60730_IMC_INIT_DEFAULT
220
221
#else
222
223
#if (SL_IEC60730_USE_CRC_32_ENABLE == 1)
224
#define SL_IEC60730_IMC_INIT_VALUE (0xFFFFFFFFuL)
225
#define SL_IEC60730_IMC_XOROUTPUT (0xFFFFFFFFuL)
226
#define SL_IEC60730_IMC_INIT_DEFAULT \
227
{ \
228
0x04C11DB7UL,
/* CRC32 Polynomial value. */
\
229
SL_IEC60730_IMC_INIT_VALUE,
/* Initialization value. */
\
230
false,
/* Byte order is normal. */
\
231
false,
/* Bit order is not reversed on output. */
\
232
false,
/* Disable byte mode. */
\
233
false,
/* Disable automatic initialization on data read. */
\
234
true,
/* Enable GPCRC. */
\
235
}
236
#else
/* !SL_IEC60730_USE_CRC_32_ENABLE */
237
#define SL_IEC60730_IMC_INIT_VALUE (0x0000)
238
#define SL_IEC60730_IMC_XOROUTPUT (0x0000)
239
#define SL_IEC60730_IMC_INIT_DEFAULT \
240
{ \
241
0x1021UL, \
242
SL_IEC60730_IMC_INIT_VALUE, \
243
false, \
244
true, \
245
false, \
246
false, \
247
true, \
248
}
249
#endif
/* SL_IEC60730_USE_CRC_32_ENABLE */
250
#endif // DOXYGEN
251
252
/**************************************************************************/
261
sl_iec60730_test_result_t
sl_iec60730_imc_post
(
void
);
262
263
/**************************************************************************/
276
sl_iec60730_test_result_t
sl_iec60730_imc_bist
(
void
);
277
280
#ifdef __cplusplus
281
}
282
#endif
/* __cplusplus */
283
284
#endif
/* SL_IEC60730_INVARIABLE_MEMORY_H */
sl_iec60730.h
Library definitions.
sl_iec60730_imc_post
sl_iec60730_test_result_t sl_iec60730_imc_post(void)
sl_iec60730_imc_bist
sl_iec60730_test_result_t sl_iec60730_imc_bist(void)
sl_iec60730_test_result_t
sl_iec60730_test_result_t
The result of a test.
Definition:
sl_iec60730.h:72
Generated by
1.8.17