| 1 | /* |
| 2 | * PMSM_Motor_TL3_sid.h |
| 3 | * |
| 4 | * Code generation for model "PMSM_Motor_TL3_sf". |
| 5 | * |
| 6 | * Model version : 1.825 |
| 7 | * Simulink Coder version : 9.4 (R2020b) 29-Jul-2020 |
| 8 | * C source code generated on : Fri Apr 14 12:51:02 2023 |
| 9 | * |
| 10 | * Target selection: rtwsfcn.tlc |
| 11 | * Note: GRT includes extra infrastructure and instrumentation for prototyping |
| 12 | * Embedded hardware selection: ARM Compatible->ARM Cortex-M |
| 13 | * Emulation hardware selection: |
| 14 | * Differs from embedded hardware (MATLAB Host) |
| 15 | * Code generation objectives: |
| 16 | * 1. Execution efficiency |
| 17 | * 2. RAM efficiency |
| 18 | * Validation result: Not run |
| 19 | * |
| 20 | * SOURCES: PMSM_Motor_TL3_sf.c |
| 21 | */ |
| 22 | |
| 23 | /* statically allocated instance data for model: PMSM_Motor_TL3 */ |
| 24 | { |
| 25 | { |
| 26 | /* Local SimStruct for the generated S-Function */ |
| 27 | static LocalS slS; |
| 28 | LocalS *lS = &slS; |
| 29 | ssSetUserData(rts, lS); |
| 30 | |
| 31 | /* block I/O */ |
| 32 | { |
| 33 | static B_PMSM_Motor_TL3_T sfcnB; |
| 34 | void *b = (real_T *) &sfcnB; |
| 35 | ssSetLocalBlockIO(rts, b); |
| 36 | (void) memset(b, 0, |
| 37 | sizeof(B_PMSM_Motor_TL3_T)); |
| 38 | } |
| 39 | |
| 40 | /* model checksums */ |
| 41 | ssSetChecksumVal(rts, 0, 3090714017U); |
| 42 | ssSetChecksumVal(rts, 1, 3929030705U); |
| 43 | ssSetChecksumVal(rts, 2, 1976178041U); |
| 44 | ssSetChecksumVal(rts, 3, 3610196154U); |
| 45 | } |
| 46 | } |
| 47 | |