1 | /* |
2 | * BMS_private.h |
3 | * |
4 | * Code generation for model "BMS". |
5 | * |
6 | * Model version : 1.15 |
7 | * Simulink Coder version : 9.2 (R2019b) 18-Jul-2019 |
8 | * C source code generated on : Thu Aug 20 14:49:14 2020 |
9 | * |
10 | * Target selection: grt.tlc |
11 | * Note: GRT includes extra infrastructure and instrumentation for prototyping |
12 | * Embedded hardware selection: Intel->x86-64 (Windows64) |
13 | * Code generation objectives: Unspecified |
14 | * Validation result: Not run |
15 | */ |
16 | |
17 | #ifndef RTW_HEADER_BMS_private_h_ |
18 | #define RTW_HEADER_BMS_private_h_ |
19 | #include "rtwtypes.h" |
20 | #include "builtin_typeid_types.h" |
21 | #include "multiword_types.h" |
22 | #include "BMS.h" |
23 | |
24 | /* Private macros used by the generated code to access rtModel */ |
25 | #ifndef rtmIsMajorTimeStep |
26 | # define rtmIsMajorTimeStep(rtm) (((rtm)->Timing.simTimeStep) == MAJOR_TIME_STEP) |
27 | #endif |
28 | |
29 | #ifndef rtmIsMinorTimeStep |
30 | # define rtmIsMinorTimeStep(rtm) (((rtm)->Timing.simTimeStep) == MINOR_TIME_STEP) |
31 | #endif |
32 | |
33 | #ifndef rtmSetTFinal |
34 | # define rtmSetTFinal(rtm, val) ((rtm)->Timing.tFinal = (val)) |
35 | #endif |
36 | |
37 | #ifndef rtmSetTPtr |
38 | # define rtmSetTPtr(rtm, val) ((rtm)->Timing.t = (val)) |
39 | #endif |
40 | |
41 | extern real_T look2_binlxpw(real_T u0, real_T u1, const real_T bp0[], const |
42 | real_T bp1[], const real_T table[], const uint32_T maxIndex[], uint32_T stride); |
43 | extern real_T look1_binlxpw(real_T u0, const real_T bp0[], const real_T table[], |
44 | uint32_T maxIndex); |
45 | extern void BMS_dead_band(real_T rtu_u, B_dead_band_BMS_T *localB); |
46 | |
47 | /* private model entry point functions */ |
48 | extern void BMS_derivatives(void); |
49 | |
50 | #endif /* RTW_HEADER_BMS_private_h_ */ |
51 | |