Data Fields
mc_configuration Struct Reference

#include <datatypes.h>

Data Fields

mc_pwm_mode pwm_mode
 
mc_comm_mode comm_mode
 
mc_motor_type motor_type
 
mc_sensor_mode sensor_mode
 
float l_current_max
 
float l_current_min
 
float l_in_current_max
 
float l_in_current_min
 
float l_abs_current_max
 
float l_min_erpm
 
float l_max_erpm
 
float l_max_erpm_fbrake
 
float l_max_erpm_fbrake_cc
 
float l_min_vin
 
float l_max_vin
 
float l_battery_cut_start
 
float l_battery_cut_end
 
bool l_slow_abs_current
 
bool l_rpm_lim_neg_torque
 
float l_temp_fet_start
 
float l_temp_fet_end
 
float l_temp_motor_start
 
float l_temp_motor_end
 
float l_min_duty
 
float l_max_duty
 
float lo_current_max
 
float lo_current_min
 
float lo_in_current_max
 
float lo_in_current_min
 
float sl_min_erpm
 
float sl_min_erpm_cycle_int_limit
 
float sl_max_fullbreak_current_dir_change
 
float sl_cycle_int_limit
 
float sl_phase_advance_at_br
 
float sl_cycle_int_rpm_br
 
float sl_bemf_coupling_k
 
int8_t hall_table [8]
 
float hall_sl_erpm
 
float s_pid_kp
 
float s_pid_ki
 
float s_pid_kd
 
float s_pid_min_rpm
 
float p_pid_kp
 
float p_pid_ki
 
float p_pid_kd
 
float cc_startup_boost_duty
 
float cc_min_current
 
float cc_gain
 
float cc_ramp_step_max
 
int32_t m_fault_stop_time_ms
 
float m_duty_ramp_step
 
float m_duty_ramp_step_rpm_lim
 
float m_current_backoff_gain
 

Field Documentation

float cc_gain
float cc_min_current
float cc_ramp_step_max
float cc_startup_boost_duty
mc_comm_mode comm_mode
float hall_sl_erpm
int8_t hall_table[8]
float l_abs_current_max
float l_battery_cut_end
float l_battery_cut_start
float l_current_max
float l_current_min
float l_in_current_max
float l_in_current_min
float l_max_duty
float l_max_erpm
float l_max_erpm_fbrake
float l_max_erpm_fbrake_cc
float l_max_vin
float l_min_duty
float l_min_erpm
float l_min_vin
bool l_rpm_lim_neg_torque
bool l_slow_abs_current
float l_temp_fet_end
float l_temp_fet_start
float l_temp_motor_end
float l_temp_motor_start
float lo_current_max
float lo_current_min
float lo_in_current_max
float lo_in_current_min
float m_current_backoff_gain
float m_duty_ramp_step
float m_duty_ramp_step_rpm_lim
int32_t m_fault_stop_time_ms
mc_motor_type motor_type
float p_pid_kd
float p_pid_ki
float p_pid_kp
mc_pwm_mode pwm_mode
float s_pid_kd
float s_pid_ki
float s_pid_kp
float s_pid_min_rpm
mc_sensor_mode sensor_mode
float sl_bemf_coupling_k
float sl_cycle_int_limit
float sl_cycle_int_rpm_br
float sl_max_fullbreak_current_dir_change
float sl_min_erpm
float sl_min_erpm_cycle_int_limit
float sl_phase_advance_at_br

The documentation for this struct was generated from the following file: