![]() |
![]() |
|
MSPM0G3519SensoredFOCMotorControlLibrary
1.0
|
#include "stdint.h"

Go to the source code of this file.
Data Structures | |
| struct | IQ_NUM_T |
| IQ_NUM structure. More... | |
Functions | |
| void | float2IQ (IQ_NUM_T *pIqNum, const float setValue) |
| Float to IQ conversion. More... | |
| void | float2IQx (int32_t *pIqxNum, const float setValue, const int16_t iqScaling) |
| Float to IQ conversion with scaling. More... | |
| void float2IQ | ( | IQ_NUM_T * | pIqNum, |
| const float | setValue | ||
| ) |
Float to IQ conversion.
| [in] | pIqNum | Pointer to IQ value |
| [in] | setValue | float value |
References GLOBAL_IQ, IQ_NUM_T::iqScaling, and IQ_NUM_T::scaledNum.
Referenced by updateCurrentControlConfigParam(), and updateRAMConfigurationParameters().
| void float2IQx | ( | int32_t * | pIqxNum, |
| const float | setValue, | ||
| const int16_t | iqScaling | ||
| ) |
Float to IQ conversion with scaling.
| [in] | pIqxNum | Pointer to IQ value |
| [in] | setValue | float value |
| [in] | iqScaling | scaling factor |
Referenced by updateCloseLoopConfigParam(), updateCurrentControlConfigParam(), updateRAMConfigurationParameters(), and user_config_faults().