|
MotorWare f2806x Module API Documentation
|
Public interface, object, and function definitions related to the SpinTAC Position Convert component. More...
#include "spintac_version.h"Go to the source code of this file.
Data Structures | |
| struct | ST_PosConvCfg_t |
| Defines the ST_PosConvCfg_t data. More... | |
| struct | ST_PosConv_t |
| Defines the ST_PosConv_t data. More... | |
Typedefs | |
| typedef struct _ST_POSCONV_Handle_ * | ST_POSCONV_Handle |
Enumerations | |
| enum | ST_PosConvStatus_e { ST_POS_CONV_IDLE =0, ST_POS_CONV_INIT, ST_POS_CONV_BUSY } |
| Enumeration for the Position Convert Status states. More... | |
Functions | |
| static void | STPOSCONV_setSampleTime_sec (ST_POSCONV_Handle handle, _iq24 sampleTime) |
| Sets the Sample Time (cfg.T) for SpinTAC Position Converter. More... | |
| static void | STPOSCONV_setERevMaximums_erev (ST_POSCONV_Handle handle, _iq24 eRevROMax, _iq24 eRevROMin) |
| Sets the Electrical Revolution Maximum (cfg.ERevROMax) & Minimum (cfg.ERevROMin) for SpinTAC Position Converter. More... | |
| static void | STPOSCONV_setUnitConversion (ST_POSCONV_Handle handle, float_t baseFreq, float_t sampleTime, uint16_t polePairs) |
| Sets the Unit Conversions for SpinTAC Position Converter. More... | |
| static void | STPOSCONV_setMRevMaximum_mrev (ST_POSCONV_Handle handle, _iq24 mRevROMax) |
| Sets the Mechanical Revolution Maximum (cfg.ROMax_mrev) for SpinTAC Position Converter. More... | |
| static void | STPOSCONV_setLowPassFilterTime_tick (ST_POSCONV_Handle handle, int16_t lpfTime) |
| Sets the Lowpass Time (cfg.LpfTime_tick) for SpinTAC Position Converter. More... | |
| static void | STPOSCONV_setupSlipCompensator (ST_POSCONV_Handle handle, float_t sampleTime, float_t baseFreq, float_t rotorResistance, float_t statorInductance) |
| Sets up the Slip Compensator (only for ACIM) for SpinTAC Position Converter. More... | |
| static void | STPOSCONV_setElecAngle_erev (ST_POSCONV_Handle handle, _iq24 posERev) |
| Sets the Electrical Angle (Pos_erev) for SpinTAC Position Converter. More... | |
| static void | STPOSCONV_setCurrentVector (ST_POSCONV_Handle handle, MATH_vec2 *pIdqIn) |
| Sets the Current Vector (IdqIn) (only needed for ACIM) for SpinTAC Position Converter. More... | |
| static _iq24 | STPOSCONV_getVelocity (ST_POSCONV_Handle handle) |
| Gets the Velocity (Vel) for SpinTAC Position Converter. More... | |
| static _iq24 | STPOSCONV_getVelocityFiltered (ST_POSCONV_Handle handle) |
| Gets the Velocity Filtered (VelLpf) for SpinTAC Position Converter. More... | |
| static _iq24 | STPOSCONV_getPosition_mrev (ST_POSCONV_Handle handle) |
| Gets the Position (Pos_mrev) for SpinTAC Position Converter. More... | |
| static int32_t | STPOSCONV_getPositionRollOver (ST_POSCONV_Handle handle) |
| Gets the Position RollOver Counts (PosROCounts) for SpinTAC Position Converter. More... | |
| static _iq24 | STPOSCONV_getSlipVelocity (ST_POSCONV_Handle handle) |
| Gets the Slip Velocity (SlipVel) (only for ACIM) for SpinTAC Position Converter. More... | |
| static void | STPOSCONV_setEnable (ST_POSCONV_Handle handle, bool enb) |
| Sets the Enable signal (ENB) for SpinTAC Position Converter. More... | |
| static bool | STPOSCONV_getEnable (ST_POSCONV_Handle handle) |
| Gets the Enable signal (ENB) for SpinTAC Position Converter. More... | |
| static ST_PosConvStatus_e | STPOSCONV_getStatus (ST_POSCONV_Handle handle) |
| Gets the Status value (STATUS) for SpinTAC Position Converter. More... | |
| static uint16_t | STPOSCONV_getErrorID (ST_POSCONV_Handle handle) |
| Gets the Error value (ERR_ID) for SpinTAC Position Converter. More... | |
| ST_POSCONV_Handle | STPOSCONV_init (void *pMemory, const size_t numBytes) |
| Initializes the SpinTAC Position Converter object. More... | |
| void | STPOSCONV_run (ST_POSCONV_Handle handle) |
| Performs Position Roll Over Addition. More... | |
Public interface, object, and function definitions related to the SpinTAC Position Convert component.
(C) Copyright 2012, LineStream Technologies, Inc. (C) Copyright 2011, Texas Instruments, Inc.
Definition in file spintac_pos_conv.h.
1.8.9.1