1 /*
2 * File: nxtway_app_fixpt_private.h
3 *
4 * Real-Time Workshop code generated for Simulink model nxtway_app_fixpt.
5 *
6 * Model version : 1.766
7 * Real-Time Workshop file version : 7.2 (R2008b) 04-Aug-2008
8 * Real-Time Workshop file generated on : Fri Mar 19 12:47:56 2010
9 * TLC version : 7.2 (Aug 5 2008)
10 * C/C++ source code generated on : Fri Mar 19 12:47:58 2010
11 */
12
13 #ifndef RTW_HEADER_nxtway_app_fixpt_private_h_
14 #define RTW_HEADER_nxtway_app_fixpt_private_h_
15 #include "rtwtypes.h"
16 #include "ecrobot_external_interface.h"
17 #include "ecrobot_external_interface.h"
18 #include "ecrobot_external_interface.h"
19 #ifndef UCHAR_MAX
20 #include <limits.h>
21 #endif
22
23 #if ( UCHAR_MAX != (0xFFU) ) || ( SCHAR_MAX != (0x7F) )
24 #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."
25 #endif
26
27 #if ( USHRT_MAX != (0xFFFFU) ) || ( SHRT_MAX != (0x7FFF) )
28 #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."
29 #endif
30
31 #if ( UINT_MAX != (0xFFFFFFFFU) ) || ( INT_MAX != (0x7FFFFFFF) )
32 #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."
33 #endif
34
35 #if ( ULONG_MAX != (0xFFFFFFFFU) ) || ( LONG_MAX != (0x7FFFFFFF) )
36 #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."
37 #endif
38
39 #ifndef __RTWTYPES_H__
40 #error This file requires rtwtypes.h to be included
41 #else
42 #ifdef TMWTYPES_PREVIOUSLY_INCLUDED
43 #error This file requires rtwtypes.h to be included before tmwtypes.h
44 #else
45
46 /* Check for inclusion of an incorrect version of rtwtypes.h */
47 #ifndef RTWTYPES_ID_C08S16I32L32N32F1
48 #error This code was generated with a different "rtwtypes.h" than the file included
49 #endif /* RTWTYPES_ID_C08S16I32L32N32F1 */
50 #endif /* TMWTYPES_PREVIOUSLY_INCLUDED */
51 #endif /* __RTWTYPES_H__ */
52
53 void mul_wide_s32(int32_T in0, int32_T in1, uint32_T *ptrOutBitsHi, uint32_T
54 *ptrOutBitsLo);
55 int32_T mul_s32_s32_s32_sr14(int32_T a, int32_T b);
56 int32_T mul_s32_s32_s32_sr20(int32_T a, int32_T b);
57 int32_T mul_s32_s32_s32_sr13(int32_T a, int32_T b);
58 int32_T mul_s32_s32_s32_sr19(int32_T a, int32_T b);
59 int32_T mul_s32_s32_s32_sr17(int32_T a, int32_T b);
60 int32_T mul_s32_s32_s32_sr1(int32_T a, int32_T b);
61 int32_T mul_s32_s32_s32_sr16(int32_T a, int32_T b);
62 void task_init(void);
63 void task_ts1_Start(void);
64 void task_ts1(void);
65 void task_ts2(void);
66 void task_ts3_Start(void);
67 void task_ts3(void);
68
69 #endif /* RTW_HEADER_nxtway_app_fixpt_private_h_ */
70
71 /* File trailer for Real-Time Workshop generated code.
72 *
73 * [EOF]
74 */
|