hip9011 knock detection chip driver #35

This commit is contained in:
rusefi 2019-03-11 13:38:39 -04:00
parent 5b8dc728c8
commit 9d851d59f4
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Mon Mar 11 09:37:59 EDT 2019
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Mon Mar 11 13:35:29 EDT 2019
// begin
#ifndef ENGINE_CONFIGURATION_GENERATED_H_
#define ENGINE_CONFIGURATION_GENERATED_H_
@ -1102,7 +1102,9 @@ typedef struct {
*/
int step1timing;
/**
* 6=8MHz todo solit two bit fields
* value '6' for 8MHz hw osc
* read hip9011 datasheet for details
* todo split into two bit fields
* offset 324
*/
int hip9011PrescalerAndSDO;
@ -1585,12 +1587,10 @@ typedef struct {
*/
uint8_t unusuedvref[3];
/**
* "angle", 1, 0, -1000, 1000, 2
* offset 1508
*/
float knockDetectionWindowStart;
/**
* "angle", 1, 0, -1000, 1000, 2
* offset 1512
*/
float knockDetectionWindowEnd;
@ -2578,4 +2578,4 @@ typedef struct {
#endif
// end
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Mon Mar 11 09:37:59 EDT 2019
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Mon Mar 11 13:35:29 EDT 2019

View File

@ -307,7 +307,7 @@ ThermistorConf iat;
int step1rpm;A secondary Rev limit engaged by the driver to help launch the vehicle faster;"rpm", 1, 0, 0, 20000.0, 2
int step1timing;;"deg", 1, 0, -180, 180, 2
int hip9011PrescalerAndSDO;6=8MHz todo solit two bit fields;"integer", 1, 0.0, 0.0, 32, 0
int hip9011PrescalerAndSDO;+value '6' for 8MHz hw osc\nread hip9011 datasheet for details\ntodo split into two bit fields;"integer", 1, 0.0, 0.0, 32, 0
float knockBandCustom;+We calculate knock band based of cylinderBore\n Use this to override - kHz knock band override;"kHz", 1, 0.0, 0.0, 10.0, 2