MSPM0G3519SensoredFOCMotorControlLibrary  1.0
Data Structures | Functions
iqNum.h File Reference

Detailed Description

IQ Numeric Module.


Overview

defines for IQ


#include "stdint.h"
Include dependency graph for iqNum.h:
This graph shows which files directly or indirectly include this file:

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...
 

Function Documentation

§ float2IQ()

void float2IQ ( IQ_NUM_T pIqNum,
const float  setValue 
)

Float to IQ conversion.

Parameters
[in]pIqNumPointer to IQ value
[in]setValuefloat value

References GLOBAL_IQ, IQ_NUM_T::iqScaling, and IQ_NUM_T::scaledNum.

Referenced by updateCurrentControlConfigParam(), and updateRAMConfigurationParameters().

§ float2IQx()

void float2IQx ( int32_t *  pIqxNum,
const float  setValue,
const int16_t  iqScaling 
)

Float to IQ conversion with scaling.

Parameters
[in]pIqxNumPointer to IQ value
[in]setValuefloat value
[in]iqScalingscaling factor

Referenced by updateCloseLoopConfigParam(), updateCurrentControlConfigParam(), updateRAMConfigurationParameters(), and user_config_faults().

© Copyright 1995-2025, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale