| 1 | |
| 2 | |
| 3 | /* |
| 4 | * rt_defines.h |
| 5 | * |
| 6 | * Code generation for model "PWM_sf". |
| 7 | * |
| 8 | * Model version : 1.825 |
| 9 | * Simulink Coder version : 9.4 (R2020b) 29-Jul-2020 |
| 10 | * C source code generated on : Fri Apr 14 12:53:29 2023 |
| 11 | * |
| 12 | * Target selection: rtwsfcn.tlc |
| 13 | * Note: GRT includes extra infrastructure and instrumentation for prototyping |
| 14 | * Embedded hardware selection: ARM Compatible->ARM Cortex-M |
| 15 | * Emulation hardware selection: |
| 16 | * Differs from embedded hardware (MATLAB Host) |
| 17 | * Code generation objectives: |
| 18 | * 1. Execution efficiency |
| 19 | * 2. RAM efficiency |
| 20 | * Validation result: Not run |
| 21 | */ |
| 22 | |
| 23 | |
| 24 | #ifndef RTW_HEADER_rt_defines_h_ |
| 25 | #define RTW_HEADER_rt_defines_h_ |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | /*===========* |
| 63 | * Constants * |
| 64 | *===========*/ |
| 65 | |
| 66 | #define RT_PI 3.14159265358979323846 |
| 67 | #define RT_PIF 3.1415927F |
| 68 | #define RT_LN_10 2.30258509299404568402 |
| 69 | #define RT_LN_10F 2.3025851F |
| 70 | #define RT_LOG10E 0.43429448190325182765 |
| 71 | #define RT_LOG10EF 0.43429449F |
| 72 | #define RT_E 2.7182818284590452354 |
| 73 | #define RT_EF 2.7182817F |
| 74 | |
| 75 | /* |
| 76 | * UNUSED_PARAMETER(x) |
| 77 | * Used to specify that a function parameter (argument) is required but not |
| 78 | * accessed by the function body. |
| 79 | */ |
| 80 | #ifndef UNUSED_PARAMETER |
| 81 | #if defined(__LCC__) |
| 82 | #define UNUSED_PARAMETER(x) /* do nothing */ |
| 83 | #else |
| 84 | /* |
| 85 | * This is the semi-ANSI standard way of indicating that an |
| 86 | * unused function parameter is required. |
| 87 | */ |
| 88 | #define UNUSED_PARAMETER(x) (void) (x) |
| 89 | #endif |
| 90 | #endif |
| 91 | |
| 92 | |
| 93 | |
| 94 | |
| 95 | |
| 96 | |
| 97 | |
| 98 | |
| 99 | |
| 100 | |
| 101 | |
| 102 | |
| 103 | |
| 104 | #endif /* RTW_HEADER_rt_defines_h_ */ |
| 105 |