| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- /*
- * File: rt_defines.h
- *
- * Code generated for Simulink model 'PMSM_Controller'.
- *
- * Model version : 1.885
- * Simulink Coder version : 9.4 (R2020b) 29-Jul-2020
- * C/C++ source code generated on : Sat Jan 8 15:44:11 2022
- *
- * Target selection: ert.tlc
- * Embedded hardware selection: ARM Compatible->ARM Cortex-M
- * Code generation objectives:
- * 1. Execution efficiency
- * 2. RAM efficiency
- * Validation result: Not run
- */
- #ifndef RTW_HEADER_rt_defines_h_
- #define RTW_HEADER_rt_defines_h_
- /*===========*
- * Constants *
- *===========*/
- #define RT_PI 3.14159265358979323846
- #define RT_PIF 3.1415927F
- #define RT_LN_10 2.30258509299404568402
- #define RT_LN_10F 2.3025851F
- #define RT_LOG10E 0.43429448190325182765
- #define RT_LOG10EF 0.43429449F
- #define RT_E 2.7182818284590452354
- #define RT_EF 2.7182817F
- /*
- * UNUSED_PARAMETER(x)
- * Used to specify that a function parameter (argument) is required but not
- * accessed by the function body.
- */
- #ifndef UNUSED_PARAMETER
- #if defined(__LCC__)
- #define UNUSED_PARAMETER(x) /* do nothing */
- #else
- /*
- * This is the semi-ANSI standard way of indicating that an
- * unused function parameter is required.
- */
- #define UNUSED_PARAMETER(x) (void) (x)
- #endif
- #endif
- #endif /* RTW_HEADER_rt_defines_h_ */
- /*
- * File trailer for generated code.
- *
- * [EOF]
- */
|