2 <!-- To view this file, download free mind mapping software FreeMind from http://freemind.sourceforge.net -->
3 <node CREATED="1224483843701" ID="Freemind_Link_971250721" MODIFIED="1224483843701" TEXT="FreeEMS">
6 <font NAME="SansSerif" SIZE="12"/>
7 <node CREATED="1224483843703" ID="Freemind_Link_867487978" MODIFIED="1224483843703" POSITION="right" TEXT="Resource management">
8 <node CREATED="1224483843703" MODIFIED="1224483843703" TEXT="On chip"/>
9 <node CREATED="1224483843703" MODIFIED="1224483843703" TEXT="Off chip external devices"/>
11 <node CREATED="1224483843706" ID="Freemind_Link_331730468" MODIFIED="1224483843706" POSITION="left" TEXT="RTI ISR">
12 <node CREATED="1224483843706" MODIFIED="1224483843706" TEXT="ADC periodic sampling"/>
13 <node CREATED="1224483843706" ID="Freemind_Link_797096976" MODIFIED="1224483843706" TEXT="RTC counting/updating">
14 <node CREATED="1224483843706" MODIFIED="1224483843706" TEXT="Increment 1/8 millisecond counter"/>
15 <node CREATED="1224483843706" MODIFIED="1224483843706" TEXT="Increment millisecond counter">
16 <node CREATED="1224483843707" MODIFIED="1224483843707" TEXT="Increment 1/10 of a second counter ">
17 <node CREATED="1224483843707" MODIFIED="1224483843707" TEXT="Increment second counter">
18 <node CREATED="1224483843707" MODIFIED="1224483843707" TEXT="Increment minute counter"/>
23 <node CREATED="1224483843707" MODIFIED="1224483843707" TEXT="Critical Timeout checking"/>
25 <node CREATED="1224483843707" ID="Freemind_Link_499721903" MODIFIED="1224483843707" POSITION="right" TEXT="Main function">
26 <node CREATED="1224483843707" ID="Freemind_Link_1233481350" MODIFIED="1224483843707" TEXT="Init code">
27 <node CREATED="1224483843708" ID="Freemind_Link_1615885708" MODIFIED="1224484623971" TEXT="Setup PLL"/>
28 <node CREATED="1224483843709" ID="Freemind_Link_915610967" MODIFIED="1224483843709" TEXT="Check code checksum">
29 <icon BUILTIN="help"/>
31 <node CREATED="1224483843708" ID="Freemind_Link_307665641" MODIFIED="1224484670023" TEXT="Setup IO"/>
32 <node CREATED="1224483843709" ID="Freemind_Link_1761557108" MODIFIED="1224484586747" TEXT="Setup PWM"/>
33 <node CREATED="1224484812907" ID="Freemind_Link_687585934" MODIFIED="1224484827056" TEXT="Initialise paged RAM"/>
34 <node CREATED="1224483843708" ID="Freemind_Link_188807896" MODIFIED="1224484909547" TEXT="Initialise static variables - move this to straight .c file">
35 <icon BUILTIN="messagebox_warning"/>
37 <node CREATED="1224484945112" ID="Freemind_Link_463025347" MODIFIED="1224485233876" TEXT="Setup Flash"/>
38 <node CREATED="1224483843708" ID="Freemind_Link_2316762" MODIFIED="1224484660120" TEXT="Setup ECT timers"/>
39 <node CREATED="1224484641809" ID="Freemind_Link_715538799" MODIFIED="1224484657114" TEXT="Setup PIT timers"/>
40 <node CREATED="1224484543004" ID="Freemind_Link_766739714" MODIFIED="1224484566024" TEXT="Setup SCI0"/>
41 <node CREATED="1224484911621" ID="Freemind_Link_1283458442" MODIFIED="1224485145618" TEXT="Initialise runtime config variables"/>
42 <node CREATED="1224483843709" MODIFIED="1224483843709" TEXT="Setup and enable interrupts"/>
44 <node CREATED="1224483843710" ID="Freemind_Link_933850000" MODIFIED="1224483843710" TEXT="Main Loop">
45 <node CREATED="1224483843710" MODIFIED="1224483843710" TEXT="Serial communications"/>
46 <node CREATED="1224483843710" MODIFIED="1224483843710" TEXT="Non critical timeout checking"/>
47 <node CREATED="1224483843710" ID="Freemind_Link_214920105" MODIFIED="1224483843710" TEXT="Syncronous ADC timeout sampling"/>
48 <node CREATED="1224483843710" MODIFIED="1224483843710" TEXT="Accessory control code"/>
49 <node CREATED="1224483877024" ID="_" MODIFIED="1224483909028" TEXT="Serial send and receive core"/>
50 <node CREATED="1224483843707" ID="Freemind_Link_317161942" MODIFIED="1224484036254" TEXT="Fuel and Ignition Mathematics">
51 <node CREATED="1224483843707" MODIFIED="1224483843707" TEXT="Ignition angle calculation"/>
52 <node CREATED="1224483843707" MODIFIED="1224483843707" TEXT="Ignition dwell calculation"/>
53 <node CREATED="1224483843707" MODIFIED="1224483843707" TEXT="Injection angle calculation"/>
54 <node CREATED="1224483843707" MODIFIED="1224483843707" TEXT="Main Injection pulse width calculation"/>
55 <node CREATED="1224483843707" MODIFIED="1224483843707" TEXT="Staged Injection pulse width calculation"/>
56 <node CREATED="1224483843707" MODIFIED="1224483843707" TEXT="Staged required flag set/unset"/>
57 <node CREATED="1224484041936" ID="Freemind_Link_1357733669" MODIFIED="1224484053647" TEXT="All corrections to main calculations"/>
58 <node CREATED="1224483843706" ID="Freemind_Link_1433361974" MODIFIED="1224484519611" TEXT="Scheduling master">
59 <node CREATED="1224483843706" MODIFIED="1224483843706" TEXT="Ignition event scheduler"/>
60 <node CREATED="1224483843706" MODIFIED="1224483843706" TEXT="Main Injector event scheduler"/>
61 <node COLOR="#000000" CREATED="1224483843706" MODIFIED="1224483843706" TEXT="ADC syncronous sampling scheduler"/>
63 <node CREATED="1224485453555" ID="Freemind_Link_8407454" MODIFIED="1224485471507" TEXT="ADC input processing"/>
64 <node CREATED="1224485472685" ID="Freemind_Link_699921056" MODIFIED="1224485497658" TEXT="Table lookups"/>
68 <node CREATED="1224483843710" FOLDED="true" ID="Freemind_Link_1094671830" MODIFIED="1224483843710" POSITION="left" TEXT="LVI ISR">
69 <node CREATED="1224483843710" MODIFIED="1224483843710" TEXT="Increment Low Voltage counter"/>
71 <node CREATED="1224483918220" ID="Freemind_Link_1315026853" MODIFIED="1224483943453" POSITION="left" TEXT="Serial SCI0 ISR"/>
72 <node CREATED="1224483843703" ID="Freemind_Link_1471441783" MODIFIED="1224484197289" POSITION="left" TEXT="Engine/RPM IC ISRs">
73 <node CREATED="1224483843704" MODIFIED="1224483843704" TEXT="Update Angular Position"/>
74 <node CREATED="1224483843704" MODIFIED="1224483843704" TEXT="Update Primary Sync flag"/>
75 <node CREATED="1224483843705" MODIFIED="1224483843705" TEXT="Update Secondary Sync flag"/>
76 <node CREATED="1224483843705" MODIFIED="1224483843705" TEXT="Update phase information"/>
77 <node CREATED="1224483843705" MODIFIED="1224483843705" TEXT="Update RPM valid flag"/>
78 <node CREATED="1224483843705" MODIFIED="1224483843705" TEXT="Update RPM value"/>
79 <node CREATED="1224483843705" MODIFIED="1224483843705" TEXT="Update Delta RPM value"/>
80 <node CREATED="1224483843705" MODIFIED="1224483843705" TEXT="Update Delta Delta RPM value">
81 <icon BUILTIN="help"/>
83 <node CREATED="1224484382430" ID="Freemind_Link_1309029024" MODIFIED="1224484389226" TEXT="Scheduling slave">
84 <node CREATED="1224484393743" ID="Freemind_Link_406700372" MODIFIED="1224484406435" TEXT="Schedule main fuel events"/>
85 <node CREATED="1224484407789" ID="Freemind_Link_1844495533" MODIFIED="1224484414882" TEXT="Schedule staged fuel events"/>
86 <node CREATED="1224484415799" ID="Freemind_Link_1769551594" MODIFIED="1224484430043" TEXT="Schedule ignition dwell starts"/>
87 <node CREATED="1224484431420" ID="Freemind_Link_271638203" MODIFIED="1224484446118" TEXT="Schedule ignition spark starts"/>
90 <node CREATED="1224483843706" ID="Freemind_Link_1378598772" MODIFIED="1224483843706" POSITION="left" TEXT="Injector OC IRSs">
91 <node CREATED="1224483843706" MODIFIED="1224483843706" TEXT="Main Injector control"/>
92 <node CREATED="1224483843706" MODIFIED="1224483843706" TEXT="Staged Injector control"/>
94 <node CREATED="1224483843710" ID="Freemind_Link_1866877377" MODIFIED="1224483843710" POSITION="left" TEXT="Timer OverFlow ISR">
95 <font NAME="SansSerif" SIZE="12"/>
96 <node CREATED="1224483843710" MODIFIED="1224483843710" TEXT="Increment the 16 bit timer extension"/>
98 <node CREATED="1224483843710" ID="Freemind_Link_737303113" MODIFIED="1224483843710" POSITION="left" TEXT="MDC UF ISR">
99 <node CREATED="1224483843710" ID="Freemind_Link_847284148" MODIFIED="1224484291379" TEXT="Adjustable tacho output"/>
101 <node CREATED="1224484306219" ID="Freemind_Link_403637116" MODIFIED="1224484317108" POSITION="left" TEXT="Ignition ISRs">
102 <node CREATED="1224484324336" ID="Freemind_Link_1574636313" MODIFIED="1224484342593" TEXT="Dwell start control"/>
103 <node CREATED="1224484343146" ID="Freemind_Link_1094886925" MODIFIED="1224484351002" TEXT="Fire spark control"/>
105 <node CREATED="1224485322228" ID="Freemind_Link_850806061" MODIFIED="1224485331504" POSITION="right" TEXT="Pre-initialised flash data"/>
106 <node CREATED="1224485345419" ID="Freemind_Link_508195357" MODIFIED="1224485403131" POSITION="right" TEXT="Flash burn from stack ASM"/>