L9779WD driver #3768

This commit is contained in:
rusefillc 2022-01-10 16:53:38 -05:00
parent d7f38601b9
commit 373d619c16
4 changed files with 21 additions and 2 deletions

View File

@ -25,4 +25,5 @@ HW_LAYER_DRIVERS_CPP = \
$(DRIVERS_DIR)/gpio/mc33972.cpp \
$(DRIVERS_DIR)/gpio/mc33810.cpp \
$(DRIVERS_DIR)/gpio/drv8860.cpp \
$(DRIVERS_DIR)/gpio/l9779.cpp \
$(DRIVERS_DIR)/lcd/HD44780.cpp \

View File

@ -0,0 +1,9 @@
/*
* l9779.cpp
*
* Created on: Jan 10, 2022
*/

View File

@ -0,0 +1,9 @@
/*
* l9779.h
* ST L9779WD-SPI
*
*
* Created on: Jan 10, 2022
*/
#pragma once

View File

@ -654,7 +654,7 @@ uint8_t knockRetardMaximum;+Maximum amount of knock retard.;"deg", 1, 0, 0, 30,
uint8_t unusedDtectionThreshold;;"", 1, 0, 0, 240, 0
uint16_t autoscale vssGearRatio;Number of turns of your vehicle speed sensor per turn of the wheels. For example if your sensor is on the transmission output, enter your axle/differential ratio. If you are using a hub-mounted sensor, enter a value of 1.0.; "ratio", 0.001, 0, 0, 60, 3
uint8_t vssToothCount;Number of pulses output per revolution of the shaft where your VSS is mounted. For example, GM applications of the T56 output 17 pulses per revolution of the transmission output shaft.;"count", 1, 0, 1, 100, 0
uint8_t unusedAveragingLength;;"", 1, 0, 0, 255, 0
brain_pin_e l9779_cs;
! todo: rename to triggerSimulatorRpm
@ -793,7 +793,7 @@ output_pin_e acFanPin;+Optional Radiator Fan used with A/C
pin_output_mode_e acFanPinMode;
uint8_t unusedCamSkipFactor;;"", 1, 0, 0, 255, 0
spi_device_e l9779spiDevice;
uint8_t[DWELL_CURVE_SIZE] dwellVoltageCorrVoltBins;;"volts", 0.1, 0, 0, 20, 1
custom imu_type_e 1 bits, U08, @OFFSET@, [0:4], "None", "VAG", "MM5.10", "type 2", "type 2"