instaspin_foc
Functions
fast_obs.h File Reference
#include "sw/modules/cal/src/float/cal.h"
#include "sw/modules/clarke/src/float/clarke.h"
#include "sw/modules/cpu_usage/src/32b/cpu_usage.h"
#include "sw/modules/est/src/float/est.h"
#include "sw/modules/ipark/src/float/ipark.h"
#include "sw/modules/park/src/float/park.h"
#include "sw/modules/svgen/src/float/svgen.h"
#include "sw/modules/traj/src/float/traj.h"
#include "user.h"

Go to the source code of this file.

Functions

void setupControllers (void)
 Setups the controllers. More...
 
interrupt void mainISR (void)
 The main interrupt service (ISR) routine. More...
 
void setupClarke_I (CLARKE_Handle handle, const uint_least8_t numCurrentSensors)
 Sets the number of current sensors. More...
 
void setupClarke_V (CLARKE_Handle handle, const uint_least8_t numVoltageSensors)
 Sets the number of voltage sensors. More...
 
void sincos_fastRTS (float_t angle_rad, float_t *pSin, float_t *pCos)
 Calculates sine and cosine in a single function call, using callable assembly, fast RTS. More...
 
float_t sqrt_fastRTS (float_t x)
 Calculates square root using callable assembly, fast RTS. More...
 
void updateCPUusage (void)
 Updates CPU usage. More...
 
void updateGlobalVariables_motor (EST_Handle estHandle)
 Updates the global motor variables. More...