MSPM0G3507SensoredFOCMotorControlLibrary  1.0
Data Structures | Enumerations | Functions
stallDetect.h File Reference

Detailed Description

stallDetect Module


Overview


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

Go to the source code of this file.

Data Structures

struct  STALL_DETECT_T
 Stall Working Structure. More...
 

Enumerations

enum  STALL_TYPES {
  NO_STALL = 0,
  HALL_INVALID_STALL = 1,
  NO_MOTOR_STALL = 2,
  ABNORMAL_SPEED_STALL = 3
}
 Stall Type Enums. More...
 

Functions

void stallDetectInit (STALL_DETECT_T *pStall)
 Stall Detect Init. More...
 
void stallDetectRun (STALL_DETECT_T *pStall)
 Stall Detect Run. More...
 
void stallDetectLowPriorityRun (STALL_DETECT_T *pStall)
 Stall Detect Low Priority. More...
 
_Bool getStallStatusForAction (STALL_DETECT_T *pStall)
 Stall Status check. More...
 
_Bool getStallStatusForReport (STALL_DETECT_T *pStall)
 Stall Report Status check. More...
 

Enumeration Type Documentation

§ STALL_TYPES

Stall Type Enums.

Enumerator
NO_STALL 

Motor is not stalled

HALL_INVALID_STALL 

HALL Sensor Invalid stall detected

NO_MOTOR_STALL 

No motor stall detected

ABNORMAL_SPEED_STALL 

Abnormal speed stall detected

Function Documentation

§ stallDetectInit()

void stallDetectInit ( STALL_DETECT_T pStall)

Stall Detect Init.

Parameters
[in]*pStallInput Pointer

References STALL_DETECT_T::abnormalSpeedStall, abnormalSpeedStallDetectInit(), STALL_DETECT_T::noMotorStall, and noMotorStallDetectInit().

Referenced by focInit().

§ stallDetectRun()

void stallDetectRun ( STALL_DETECT_T pStall)

§ stallDetectLowPriorityRun()

void stallDetectLowPriorityRun ( STALL_DETECT_T pStall)

§ getStallStatusForAction()

_Bool getStallStatusForAction ( STALL_DETECT_T pStall)
inline

§ getStallStatusForReport()

_Bool getStallStatusForReport ( STALL_DETECT_T pStall)
inline

Stall Report Status check.

Parameters
[in]*pStallPointer
Returns
Returns the status

References NO_STALL, and STALL_DETECT_T::status.

Referenced by focLowPriorityRun().

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