from
Code Coverage Tool
by Mark Walker
Code Coverage Tool measures C statement coverage in generated code.
|
| controller_model_private_h.html |
RTW Report - controller_model_private.h
1 /*
2 * File: controller_model_private.h
3 *
4 * Real-Time Workshop code generated for Simulink model controller_model.
5 *
6 * Model version : 1.79
7 * Real-Time Workshop file version : 7.2 (R2008b) 04-Aug-2008
8 * Real-Time Workshop file generated on : Thu May 14 12:41:13 2009
9 * TLC version : 7.2 (Aug 5 2008)
10 * C/C++ source code generated on : Thu May 14 12:41:14 2009
11 */
12
13 #ifndef RTW_HEADER_controller_model_private_h_
14 #define RTW_HEADER_controller_model_private_h_
15 #include "rtwtypes.h"
16 #define CALL_EVENT (MAX_uint8_T)
17
18 /* Private macros used by the generated code to access rtModel */
19 #ifndef rtmSetFirstInitCond
20 # define rtmSetFirstInitCond(rtm, val) ((rtm)->Timing.firstInitCondFlag = (val))
21 #endif
22
23 #ifndef rtmIsFirstInitCond
24 # define rtmIsFirstInitCond(rtm) ((rtm)->Timing.firstInitCondFlag)
25 #endif
26
27 #ifndef UCHAR_MAX
28 #include <limits.h>
29 #endif
30
31 #if ( UCHAR_MAX != (0xFFU) ) || ( SCHAR_MAX != (0x7F) )
32 #error "Code was generated for compiler with different sized uchar/char. Consider adjusting Emulation Hardware word size settings on the Hardware Implementation pane to match your compiler word sizes as defined in the compilers limits.h header file. Alternatively, you can select 'None' for Emulation Hardware and select the 'Enable portable word sizes' option for ERT based targets, this will disable the preprocessor word size checks."
33 #endif
34
35 #if ( USHRT_MAX != (0xFFFFU) ) || ( SHRT_MAX != (0x7FFF) )
36 #error "Code was generated for compiler with different sized ushort/short. Consider adjusting Emulation Hardware word size settings on the Hardware Implementation pane to match your compiler word sizes as defined in the compilers limits.h header file. Alternatively, you can select 'None' for Emulation Hardware and select the 'Enable portable word sizes' option for ERT based targets, this will disable the preprocessor word size checks."
37 #endif
38
39 #if ( UINT_MAX != (0xFFFFFFFFU) ) || ( INT_MAX != (0x7FFFFFFF) )
40 #error "Code was generated for compiler with different sized uint/int. Consider adjusting Emulation Hardware word size settings on the Hardware Implementation pane to match your compiler word sizes as defined in the compilers limits.h header file. Alternatively, you can select 'None' for Emulation Hardware and select the 'Enable portable word sizes' option for ERT based targets, this will disable the preprocessor word size checks."
41 #endif
42
43 #if ( ULONG_MAX != (0xFFFFFFFFU) ) || ( LONG_MAX != (0x7FFFFFFF) )
44 #error "Code was generated for compiler with different sized ulong/long. Consider adjusting Emulation Hardware word size settings on the Hardware Implementation pane to match your compiler word sizes as defined in the compilers limits.h header file. Alternatively, you can select 'None' for Emulation Hardware and select the 'Enable portable word sizes' option for ERT based targets, this will disable the preprocessor word size checks."
45 #endif
46
47 #ifndef __RTWTYPES_H__
48 #error This file requires rtwtypes.h to be included
49 #else
50 #ifdef TMWTYPES_PREVIOUSLY_INCLUDED
51 #error This file requires rtwtypes.h to be included before tmwtypes.h
52 #else
53
54 /* Check for inclusion of an incorrect version of rtwtypes.h */
55 #ifndef RTWTYPES_ID_C08S16I32L32N32F1
56 #error This code was generated with a different "rtwtypes.h" than the file included
57 #endif /* RTWTYPES_ID_C08S16I32L32N32F1 */
58 #endif /* TMWTYPES_PREVIOUSLY_INCLUDED */
59 #endif /* __RTWTYPES_H__ */
60 #endif /* RTW_HEADER_controller_model_private_h_ */
61
62 /* File trailer for Real-Time Workshop generated code.
63 *
64 * [EOF]
65 */
|
|
|
Contact us at files@mathworks.com