#include "stdint.h"
#include <ti/iqmath/include/IQmathLib.h>
#include "IQmath_mathacl.h"
#include "iqNum.h"
Go to the source code of this file.
§ FORCED_SPEED_STATE_TYPES
Open Loop Ramp Enum Values.
| Enumerator |
|---|
| OPEN_LOOP_ACCELERATING_PROFILE | Open Loop ramp up
|
§ openLoopInit()
openLoopInit
- Parameters
-
| [in] | *pOpenLoop | Input Pointer |
References OPEN_LOOP_FLAGS_T::b, FALSE, OPEN_LOOP_T::flags, OPEN_LOOP_T::idRef, OPEN_LOOP_T::loopExecutionCount, OPEN_LOOP_T::prevVelocityReference, OPEN_LOOP_T::speedReferenceMax, OPEN_LOOP_T::speedReferenceMaxForwardSet, OPEN_LOOP_FLAGS_T::openLoopFlags::status, OPEN_LOOP_FLAGS_T::openLoopFlags::transitionEnable, OPEN_LOOP_T::velocityReference, and OPEN_LOOP_T::velocityReferenceScaled.
Referenced by focInit(), and focRun().
§ openLoopRun()
openLoop Run
- Parameters
-
| [in] | *pOpenLoop | Input Pointer |
References _IQmpy_mathacl, OPEN_LOOP_T::accelRefSlewRateDecel, OPEN_LOOP_T::angle, OPEN_LOOP_FLAGS_T::b, FALSE, OPEN_LOOP_T::flags, OPEN_LOOP_FLAGS_T::openLoopFlags::forceEnable, GLOBAL_IQ, OPEN_LOOP_T::idRef, OPEN_LOOP_T::idRefSlewRate, OPEN_LOOP_T::iqRef, OPEN_LOOP_T::iqRefMax, OPEN_LOOP_T::iqRefSet, OPEN_LOOP_T::iqRefSlewRate, IQ_NUM_T::iqScaling, OPEN_LOOP_T::loopExecutionCount, OPEN_LOOP_FLAGS_T::openLoopFlags::openLoopDirChange, OPEN_LOOP_T::pAccelRefSlewRate, OPEN_LOOP_T::pDeltaT, OPEN_LOOP_T::prevVelocityReference, OPEN_LOOP_T::pSpeedRefSlewRate, OPEN_LOOP_T::pTargetVelocity, IQ_NUM_T::scaledNum, slewRate(), OPEN_LOOP_T::speedReferenceMax, OPEN_LOOP_T::speedReferenceMaxForwardSet, OPEN_LOOP_T::speedReferenceMaxReverseSet, OPEN_LOOP_T::speedRefSlewRateDecel, OPEN_LOOP_FLAGS_T::openLoopFlags::status, OPEN_LOOP_FLAGS_T::openLoopFlags::transitionEnable, TRUE, OPEN_LOOP_T::velocityReference, and OPEN_LOOP_T::velocityReferenceScaled.
Referenced by focRun().
§ openLoopSetInitialVelocity()
| void openLoopSetInitialVelocity |
( |
OPEN_LOOP_T * |
pOpenLoop | ) |
|
§ getOpenLoopStatus()