para el ventilador

Dependencies:   QEI FastPWM

Revision:
11:5cb7ae8bd831
Parent:
10:b2d87404309a
--- a/stepper_motor_driver.h	Mon Apr 27 19:52:02 2020 +0000
+++ b/stepper_motor_driver.h	Thu May 07 03:52:31 2020 +0000
@@ -31,45 +31,26 @@
 
 
 /* Variable declaration */
-
 extern volatile uint8_t stepper_parameters_update_flag;
 
-
 // Tables for calculations
-extern const float sigma_ramp[RAMP_STEPS];
-extern const  float short_sigma_ramp[SHORT_RAMP_STEPS];
-//extern uint32_t calibration_period_rise_ramp_us[RAMP_STEPS];
-//extern uint32_t inspiration_period_rise_ramp_us[RAMP_STEPS];
-//extern uint32_t expiration_period_rise_ramp_us[RAMP_STEPS];
-//extern uint32_t expiration_period_short_rise_ramp_us[SHORT_RAMP_STEPS];
+
+
 
 // These parameters are configurer through the graphic interface */
 extern uint32_t inspiration_stepper_pulses_setpoint;
-//uint32_t expiration_stepper_pulses_setpoint; // Not used in this version
-//extern uint32_t inspiration_stepper_pulse_period_us;
-//extern uint32_t expiration_stepper_pulse_period_us;
-//extern uint32_t calibration_stepper_pulse_period_us;
-
 extern float inspiration_stepper_pulse_period;
 extern float expiration_stepper_pulse_period;
 extern float calibration_stepper_pulse_period;
-
-//extern uint32_t min_inspiration_ramp_period_us;
-//extern uint32_t min_expiration_ramp_period_us;
 extern uint32_t volume_in_steps[VOLUME_SETPOINT_INDEX_LIMIT];
 
 // Variables used in every state of the stepper motor driver */
 extern volatile uint32_t stepper_pulse_counter;
-//extern volatile uint32_t stepper_ramp_pulse_counter;
 
 extern volatile Stepper_Driver_State_t stepper_driver_state;
 
 /* Function declaration */
 void Stepper_Driver_Init(void);
-//void Stepper_Calculate_Period_Ramp(void);
-//float Stepper_Calculate_Insp_Period_Ramp(float max_freq);
-//float Stepper_Calculate_Exp_Period_Ramp(float max_freq);
-//float Stepper_Calculate_Exp_Short_Period_Ramp(float max_freq);
 void Stepper_Go_Home_Position(void);
 void Stepper_Driver_State_Machine(void);
 void Stepper_Driver_Pulse_Signal_Update(void);