OK, PrimaryRPMISR is there N times, as is secondary, where N = number of different types of decoders. The doxygen probably doesn't quite understand the linking the build multiple times as a plugin architecture like that, though. Something to look into for sure, but it's only a doc thing.
Similarly for the Injector ISRs, there is one macro copy of the code, as you discovered, and no real version in the source until after pre-processing. Again, not sure how doxygen deals with that, but it's just a doc issue.
Feel free to experiment with flags, settings, directives/tags in the comments, whatever and find a solution to the doc problem for both of those issues. I'll include your changes if you come up with something, just push it to github and let me know to pull :-)
As for the interrupt enable on the fuel pins, that is done per RPM ISR event requiring it. The simple code just toggles the first channel which is ETC2 IIRC.
I don't roll with pin numbers, I roll with device numbers/names. ETC0 is primary rpm and this is the only thing active in the Simple setup. ETC1 is unused in Simple. ETC2 is the fuel output channel. 3 - 7 are unused.
Interesting! I hadn't noticed that. Feel free to contribute a fix via github, I can review before pulling it in and get you to tidy up any loose ends etc :-) You can become an actual firmware contributor! :-o :-)
Under
http://docs.freeems.org/doxygen-html/d6 ... b4048a43ef, I was wondering what CAS was for. Perhaps
CAM
Angle
Sensor? I don't see that in the glossary section.[/quote]
Yes, Cam Angle Sensor, again, get it done, let me look it over, polish it, then I'll pull it in :-)
Fred.