hip9011 knock detection chip driver #35

This commit is contained in:
rusefi 2019-03-11 09:42:11 -04:00
parent 849846e4ec
commit 5b8dc728c8
3 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,4 @@
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sun Mar 10 11:52:06 EDT 2019 // this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Mon Mar 11 09:37:59 EDT 2019
// begin // begin
#ifndef ENGINE_CONFIGURATION_GENERATED_H_ #ifndef ENGINE_CONFIGURATION_GENERATED_H_
#define ENGINE_CONFIGURATION_GENERATED_H_ #define ENGINE_CONFIGURATION_GENERATED_H_
@ -1585,10 +1585,12 @@ typedef struct {
*/ */
uint8_t unusuedvref[3]; uint8_t unusuedvref[3];
/** /**
* "angle", 1, 0, -1000, 1000, 2
* offset 1508 * offset 1508
*/ */
float knockDetectionWindowStart; float knockDetectionWindowStart;
/** /**
* "angle", 1, 0, -1000, 1000, 2
* offset 1512 * offset 1512
*/ */
float knockDetectionWindowEnd; float knockDetectionWindowEnd;
@ -2576,4 +2578,4 @@ typedef struct {
#endif #endif
// end // end
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sun Mar 10 11:52:06 EDT 2019 // this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Mon Mar 11 09:37:59 EDT 2019

View File

@ -744,8 +744,8 @@ uint8_t[3] unusuedsw;
adc_channel_e vRefAdcChannel; adc_channel_e vRefAdcChannel;
uint8_t[3] unusuedvref; uint8_t[3] unusuedvref;
float knockDetectionWindowStart; float knockDetectionWindowStart;;"angle", 1, 0, -1000, 1000, 2
float knockDetectionWindowEnd; float knockDetectionWindowEnd;;"angle", 1, 0, -1000, 1000, 2
float idleStepperReactionTime;;"ms", 1, 0, 1, 300, 0 float idleStepperReactionTime;;"ms", 1, 0, 1, 300, 0

View File

@ -1820,6 +1820,8 @@ cmd_set_engine_type_etb_test = "w\x00\x30\x00\x3A"
field = "ChipSelect mode", hip9011CsPinMode, {isHip9011Enabled == 1} field = "ChipSelect mode", hip9011CsPinMode, {isHip9011Enabled == 1}
field = "hip Output/stm input", hipOutputChannel, {isHip9011Enabled == 1} field = "hip Output/stm input", hipOutputChannel, {isHip9011Enabled == 1}
field = "prescaler & SDO", hip9011PrescalerAndSDO, {isHip9011Enabled == 1} field = "prescaler & SDO", hip9011PrescalerAndSDO, {isHip9011Enabled == 1}
field = "knockDetectionWindowStart", knockDetectionWindowStart, {isHip9011Enabled == 1}
field = "knockDetectionWindowEnd", knockDetectionWindowEnd, {isHip9011Enabled == 1}
field = "cylinder bore (mm)", cylinderBore, {isHip9011Enabled == 1} field = "cylinder bore (mm)", cylinderBore, {isHip9011Enabled == 1}
field = "Band Freq override", knockBandCustom, {isHip9011Enabled == 1} field = "Band Freq override", knockBandCustom, {isHip9011Enabled == 1}
field = "SPI device", hip9011SpiDevice, {isHip9011Enabled == 1} field = "SPI device", hip9011SpiDevice, {isHip9011Enabled == 1}