rusefi/firmware/controllers/trigger/decoders
Matthew Kennedy 5c50ad2db4
infer useOnlyRisingEdge by trigger type (#4621)
* most of the plumbing

* easy tests

* trigger types that are rise only

* configs

* change mode of various triggers

* vvt

* 898 test is now impossible 🥳

* s

* instant rpm test

* actually remove useOnlyRisingEdgeForTrigger

* remove vvtCamSensorUseRise

* s

* print

* one happy test

* another test

* happy testSomethingWeird

* happy testCamInput

* maybe fix it a different way

* better

* quad cam

* nb2 happy

* bad merge

* vvt test

* trigger.test1995FordInline6TriggerDecoder

* hellen gm e67

* changelog
2022-11-08 21:48:39 -05:00
..
auto_generated_sync_edge.cpp Auto-generated configs and docs 2022-09-25 22:54:41 +00:00
auto_generated_sync_edge.h explicitly pass which edges we sync trigger on (#4607) 2022-09-23 20:39:41 -04:00
readme.md
sync_edge.h plumbing parts of 4621 (#4622) 2022-09-25 18:49:54 -04:00
trigger_chrysler.cpp change triggers that need RiseOnly (#4636) 2022-10-05 20:10:27 -04:00
trigger_chrysler.h allow enum_class in rusefi_hw_enums.h (#4104) 2022-04-25 20:38:16 -04:00
trigger_gm.cpp change triggers that need RiseOnly (#4636) 2022-10-05 20:10:27 -04:00
trigger_gm.h Trigger gm 3 vs 5 (#4140) 2022-05-06 08:25:44 -04:00
trigger_honda.cpp change triggers that need RiseOnly (#4636) 2022-10-05 20:10:27 -04:00
trigger_honda.h Remove third trigger channel (#4226) 2022-06-01 21:24:20 -04:00
trigger_mazda.cpp change triggers that need RiseOnly (#4636) 2022-10-05 20:10:27 -04:00
trigger_mazda.h rename and fix skyactiv cam mode (#4505) 2022-08-31 22:12:45 -04:00
trigger_mercedes.cpp explicitly pass which edges we sync trigger on (#4607) 2022-09-23 20:39:41 -04:00
trigger_mercedes.h
trigger_misc.cpp change triggers that need RiseOnly (#4636) 2022-10-05 20:10:27 -04:00
trigger_misc.h allow enum_class in rusefi_hw_enums.h (#4104) 2022-04-25 20:38:16 -04:00
trigger_mitsubishi.cpp compile warnings: signed vs unsigned and unused (#4713) 2022-10-30 09:47:53 -04:00
trigger_mitsubishi.h allow enum_class in rusefi_hw_enums.h (#4104) 2022-04-25 20:38:16 -04:00
trigger_nissan.cpp change triggers that need RiseOnly (#4636) 2022-10-05 20:10:27 -04:00
trigger_nissan.h remove 360 trigger (#4165) 2022-05-11 06:15:06 -04:00
trigger_renix.cpp change triggers that need RiseOnly (#4636) 2022-10-05 20:10:27 -04:00
trigger_renix.h allow enum_class in rusefi_hw_enums.h (#4104) 2022-04-25 20:38:16 -04:00
trigger_rover.cpp change triggers that need RiseOnly (#4636) 2022-10-05 20:10:27 -04:00
trigger_rover.h allow enum_class in rusefi_hw_enums.h (#4104) 2022-04-25 20:38:16 -04:00
trigger_structure.cpp infer useOnlyRisingEdge by trigger type (#4621) 2022-11-08 21:48:39 -05:00
trigger_structure.h reducing ugly 2022-11-06 20:47:57 -05:00
trigger_subaru.cpp triggerImage: todo: support symmetrical crank 2022-10-16 12:10:58 -04:00
trigger_subaru.h https://rusefi.com/forum/viewtopic.php?f=5&t=2353 2022-06-20 11:41:33 -04:00
trigger_suzuki.cpp change triggers that need RiseOnly (#4636) 2022-10-05 20:10:27 -04:00
trigger_suzuki.h allow enum_class in rusefi_hw_enums.h (#4104) 2022-04-25 20:38:16 -04:00
trigger_toyota.cpp remove 2jz trigger that's really 12 tooth crank (#4637) 2022-10-05 21:59:17 -04:00
trigger_toyota.h remove 2jz trigger that's really 12 tooth crank (#4637) 2022-10-05 21:59:17 -04:00
trigger_universal.cpp simplify initializeSkippedToothTrigger (#4674) 2022-10-17 16:05:27 -04:00
trigger_universal.h simplify initializeSkippedToothTrigger (#4674) 2022-10-17 16:05:27 -04:00
trigger_vw.cpp change triggers that need RiseOnly (#4636) 2022-10-05 20:10:27 -04:00
trigger_vw.h allow enum_class in rusefi_hw_enums.h (#4104) 2022-04-25 20:38:16 -04:00

readme.md

Trigger Decoders

This folder is and should not be aware of engine.h or engine_configuration.h

Hints on adding new trigger

Step 1: add into rusefi_config.txt

Step 2: add into rusefi_enums.h, update TT_UNUSED, invoke gen_enum script

Step 3: get it working.

It's useful to un-comments AllTriggersFixture line in unit_tests/main.cpp

It's useful to add setVerboseTrigger(true) into unit tests while troubleshooting fresh trigger code