MSPM0G3519SensoredFOCMotorControlLibrary  1.0
Data Structures | Macros | Functions
pi.h File Reference

Detailed Description

pi Module


Overview


#include "stdint.h"
#include <ti/iqmath/include/IQmathLib.h>
#include "IQmath_mathacl.h"
#include "iqNum.h"
Include dependency graph for pi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

union  PI_FLAGS_T
 PI Flags Working Structure. More...
 
struct  PI_FLAGS_T::piFlags
 PI flags Structure. More...
 
struct  PI_T
 PI Working Structure. More...
 

Macros

#define KP_IQ_SCALING   24
 KP IQ Scaling.
 
#define KP_TERM_SAT   (((int32_t)1) << (30 - GLOBAL_IQ + KP_IQ_SCALING))
 KP Term Saturation Lim.
 

Functions

void piInit (PI_T *pPI)
 PI Init. More...
 
void piRun (PI_T *pPI)
 PI Run. More...
 
void piRun_LowPriority (PI_T *pPI)
 PI Low Priority Run. More...
 

Function Documentation

§ piInit()

void piInit ( PI_T pPI)

§ piRun()

void piRun ( PI_T pPI)

§ piRun_LowPriority()

void piRun_LowPriority ( PI_T pPI)
© Copyright 1995-2025, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale