- remove m_pwm_offset_adjustment;
- offset now adjusted in pid_control loop; - pid sampling time depends on speed step; - speed table implemented & and init function;
This commit is contained in:
1 parent
330d42a17e
commit
ad570fba35
6 files changed
+141
-168
No files matched your search
@@ -25,8 +25,6 @@ const uint32_t clr_bit_arr[6] = {
|
||||
};
|
||||
uint16_t two_sigma(const uint16_t arr[], uint8_t length);
|
||||
void adc_offset_adjustment(uint8_t length);
|
||||
uint16_t m_pwm_find_offset(uint16_t level, uint8_t step, uint8_t delay, uint32_t threshold, bool direction);
|
||||
void m_pwm_offset_adjustment(uint8_t length);
|
||||
void acknowledge();
|
||||
void verify_cv_bit(uint16_t cv_address,bool bit_val, uint8_t bit_pos);
|
||||
void verify_cv_byte(uint16_t cv_address, uint8_t cv_data);
|
||||
@@ -34,8 +32,8 @@ void write_cv_byte(uint16_t cv_index, uint8_t cv_data);
|
||||
void program_mode(uint8_t number_of_bytes, const uint8_t byte_array[]);
|
||||
uint32_t get_32bit_CV (uint16_t CV_start_index);
|
||||
uint16_t get_16bit_CV (uint16_t CV_start_index);
|
||||
void set_outputs(uint32_t active_functions);
|
||||
void update_active_functions(uint32_t byte, uint8_t clr_bit_ind) ;
|
||||
void set_outputs(uint32_t functions_to_set_bitmask);
|
||||
void update_active_functions(uint32_t byte, uint8_t clr_bit_ind,bool direction_change) ;
|
||||
bool error_detection(int8_t number_of_bytes, const uint8_t byte_array[]) ;
|
||||
bool is_long_address(uint8_t number_of_bytes, const uint8_t byte_array[]) ;
|
||||
bool address_evaluation(uint8_t number_of_bytes,const uint8_t byte_array[]) ;
|
||||
|
||||
Reference in new issue
Block a user