TODO implement the all of the ignition stuff and finish off all of the fuel injection stuff.
TODO change the way configuration is done and make sure the most common options are after the first if().
TODO add actual configuration options to the fixed config blocks for these items.
TODO figure out what the correct "temperature" is to make MAF work correctly!
TODO make injector channels come from config, not defines.
TODO make injector channels come from config, not defines.
TODO work needs to be done on scheduling before this can be completed.
TODO x 6 main pulsewidths, x 6 staged pulsewidths, x 6 flags for staged channels if(coreSettingsA & STAGED_ON){}
TODO determine the requirement for staged based on some sort of map and or complex load based configuration.
TODO Calculate the fuel advances (six of)
TODO Calculate the dwell period (one of)
TODO Calculate the ignition advances (twelve of)
TODO Decide if an explicit parameter is necessary if not use a existing status var instead for now it's explicit.
TODO the register below does not exist and I couldn't figure out what you meant to do...
TODO function to setup a packet and send it fn(populateBodyFunctionPointer(), header, other, fields, here, and, use, or, not, within){}
TODO factor many things into functions and move the receive delegator to its own file
TODO SCI0ISR() needs to be split into some hash defines and an include file that formats it to be the ISR for a specific channel.
TODO implement default return of empty packet.
TODO implement default return of empty packet.
TODO implement default return of empty packet.
TODO implement default return of empty packet.
TODO implement default return of empty packet.
TODO implement default return of empty packet.
TODO implement default return of empty packet.
TODO implement default return of empty packet.
TODO implement default return of empty packet.
TODO Split the functionality out for 0.0.20
TODO for coreSettingsA masks See definitions in freeEMS.h OR is it in structs.h ???
TODO divide fixedConfig1 into useful chunks
TODO create presets sensor values struct
TODO create engine setup struct
TODO create ranges struct
TODO add userTextField1 to the dictionary/address lookup
TODO divide fixedConfig2 into useful chunks
TODO create engine hardware config chunk
TODO create random stuff chunk
TODO add the userTextField2 to the dictionary/address lookup
TODO integrate this file with the rest of the masks and other global constants and hash defines etc
TODO incorporate averaging code, right now its a straight copy.
TODO change the way configuration is done and make sure the most common options are after the first if().
TODO add actual configuration options to the fixed config blocks for these items.
TODO average the generated values here
TODO Some investigation as to whether it is best to use consts or defines is required
TODO Break this up into smaller chunks that are included into this file
TODO *maybe* instead of checking min and increasing pulse, just force it straight off if diff between start and now+const is greater than desired pulsewidth
TODO PIT scheduling of staged start
TODO This file contains SFA but Sean Keys is going to fill it up with
TODO wonderful goodness very soon ;-)
TODO Put this in the correct place
TODO This file contains SFA but Abe Mara is going to fill it up with
TODO wonderful goodness very soon ;-)
TODO Docs here!
TODO possibly add code to make sure we are in divide mode, if not error out
TODO fill in or remove the else
TODO Docs here!
TODO Docs here!
TODO Docs here!
TODO bring the above docs up to date with reality
TODO finish this off to a usable standard
TODO discard narrow ones! test for tooth width and tooth period the width should be based on how the hardware is setup. IE the LM1815 is adjusted to have a pulse output of a particular width. This noise filter should be matched to that width as should the hardware filter.
TODO make this code more general and robust such that it can be used for real simple applications
TODO this is in the wrong file!! Either move the header declaration or move the function!
TODO CAN0CTL1 &= CANCTL1_RX_DISABLE;
TODO CAN0CTL1 &= CANCTL1_RX_ISR_DISABLE;
TODO CAN0CTL1 |= CANCTL1_RX_ENABLE;
TODO CAN0CTL1 |= CANCTL1_RX_ISR_ENABLE;
TODO bring this up to date and/or find a better way to do it.
TODO Move this code into an include file much like the fuel interrupts such that it can be used for multiple UART SCI devices without duplication.
TODO Remove the debug code that uses the IO ports to light LEDs during specific actions.
TODO Docs here!
TODO Add a check for 1 skip pulse of the 8x track, to prevent possible incorrect sync.
TODO Possibly make virtual CAS 16-bit so was can get rid of floating points and use for syncing
TODO fill in or remove the else
TODO Docs here!
TODO Docs here!
TODO Docs here!
TODO bring this documentation up to date.
TODO finish this off to a usable standard.
TODO discard narrow ones! test for tooth width and tooth period the width should be based on how the hardware is setup. IE the LM1815 is adjusted to have a pulse output of a particular width. This noise filter should be matched to that width as should the hardware filter.
TODO discard narrow ones! test for tooth width and tooth period the width should be based on how the hardware is setup. IE the LM1815 is adjusted to have a pulse output of a particular width. This noise filter should be matched to that width as should the hardware filter.
TODO clean up the mess of commented out crap in here!
TODO clean up the mess of commented out crap in here!
TODO decide on errorCode or errorID and consistencise it everywhere.
TODO change parameter style to be a pointer to a register and a mask?
TODO This file contains SFA but [anon] is going to fill it up with
TODO wonderful goodness very soon ;-)
TODO insert discussion about various uses of tune switching here.
TODO add a description for each item with an anchor above it. Reference the anchor from the above list.
more detail here....