mc33810: GPGD/Ignition, recovery settings to TS
This commit is contained in:
parent
9abe6085ce
commit
5935811a66
|
@ -421,9 +421,16 @@ int Mc33810::chip_init()
|
||||||
goto err_exit;
|
goto err_exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* set IGN/GP outputs to GP mode - to be fixed!
|
uint16_t mode_select_cmd =
|
||||||
* disable retry after recovering from under/overvoltage */
|
/* set IGN/GP mode for GPx outputs */
|
||||||
ret = spi_rw(MC_CMD_MODE_SELECT((0xf << 8) | (1 << 6)) , NULL);
|
(engineConfiguration->mc33810Gpgd0Mode << 8) |
|
||||||
|
(engineConfiguration->mc33810Gpgd1Mode << 8) |
|
||||||
|
(engineConfiguration->mc33810Gpgd2Mode << 8) |
|
||||||
|
(engineConfiguration->mc33810Gpgd3Mode << 8) |
|
||||||
|
/* disable/enable retry after recovering from under/overvoltage */
|
||||||
|
(engineConfiguration->mc33810DisableRecoveryMode << 6) |
|
||||||
|
0;
|
||||||
|
ret = spi_rw(MC_CMD_MODE_SELECT(mode_select_cmd) , NULL);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
efiPrintf(DRIVER_NAME " cmd mode select");
|
efiPrintf(DRIVER_NAME " cmd mode select");
|
||||||
goto err_exit;
|
goto err_exit;
|
||||||
|
|
|
@ -4619,6 +4619,11 @@ dialog = tcuControls, "Transmission Settings"
|
||||||
field = "mc33810_csPinMode", mc33810_csPinMode
|
field = "mc33810_csPinMode", mc33810_csPinMode
|
||||||
field = "Chip configuration"
|
field = "Chip configuration"
|
||||||
field = "Maximum dwell (IGN pins mode only)", mc33810maxDwellTimer
|
field = "Maximum dwell (IGN pins mode only)", mc33810maxDwellTimer
|
||||||
|
field = "Disable auto recovery from OV/UV", mc33810DisableRecoveryMode
|
||||||
|
field = "GD0 output disable IGN mode", mc33810Gpgd0Mode
|
||||||
|
field = "GD1 output disable IGN mode", mc33810Gpgd1Mode
|
||||||
|
field = "GD2 output disable IGN mode", mc33810Gpgd2Mode
|
||||||
|
field = "GD3 output disable IGN mode", mc33810Gpgd3Mode
|
||||||
|
|
||||||
dialog = harleyAcr, "Harley Automatic Compression Release"
|
dialog = harleyAcr, "Harley Automatic Compression Release"
|
||||||
field = "Pin", acrPin
|
field = "Pin", acrPin
|
||||||
|
|
Loading…
Reference in New Issue