24 #ifndef __SPECIAL_FUNCTION_LAYER_V_LOOP_H__ 25 #define __SPECIAL_FUNCTION_LAYER_V_LOOP_H__ 57 } __attribute__((packed));
69 } __attribute__((packed));
77 extern volatile int16_t v_loop_pterm_factor;
84 extern volatile int16_t v_loop_pterm_scaler;
116 extern volatile uint16_t v_loop_Initialize(
135 extern void v_loop_Reset(
153 extern void v_loop_Precharge(
155 volatile fractional ctrl_input,
156 volatile fractional ctrl_output
176 extern void v_loop_Update(
203 extern void v_loop_PTermUpdate(
207 #endif // end of __SPECIAL_FUNCTION_LAYER_V_LOOP_H__ volatile int32_t ACoefficients[3]
volatile fractional ControlHistory[3]
volatile int32_t BCoefficients[4]
volatile fractional ErrorHistory[4]