instaspin_foc
|
Automatic field weakening. More...
Go to the source code of this file.
Macros | |
#define | LED_BLINK_FREQ_Hz 5 |
Functions | |
void | main (void) |
interrupt void | mainISR (void) |
The main interrupt service (ISR) routine. More... | |
void | updateGlobalVariables_motor (CTRL_Handle handle) |
Updates the global motor variables. More... | |
void | updateKpKiGains (CTRL_Handle handle) |
Updates Kp and Ki gains in the controller object. More... | |
Variables | |
uint_least16_t | gCounter_updateGlobals = 0 |
A counter that is denotes when to update the global variables. More... | |
bool | Flag_Latch_softwareUpdate = true |
CTRL_Handle | ctrlHandle |
The controller handle. More... | |
HAL_Handle | halHandle |
The hal handle. More... | |
USER_Params | gUserParams |
The user parameters. More... | |
HAL_PwmData_t | gPwmData = {_IQ(0.0), _IQ(0.0), _IQ(0.0)} |
Defines the PWM data. More... | |
HAL_AdcData_t | gAdcData |
Defines the ADC data. More... | |
_iq | gMaxCurrentSlope = _IQ(0.0) |
CTRL_Obj | ctrl |
Defines the CTRL object. More... | |
uint16_t | gLEDcnt = 0 |
volatile MOTOR_Vars_t | gMotorVars = MOTOR_Vars_INIT |
FW_Obj | fw |
FW_Handle | fwHandle |
_iq | Iq_Max_pu |
_iq | gFlux_pu_to_Wb_sf |
_iq | gFlux_pu_to_VpHz_sf |
_iq | gTorque_Ls_Id_Iq_pu_to_Nm_sf |
_iq | gTorque_Flux_Iq_pu_to_Nm_sf |
Automatic field weakening.
(C) Copyright 2011, Texas Instruments, Inc.
Definition in file proj_lab09a.c.