<roms>
    <rom>
        <romid>
            <xmlid>RUSEFI</xmlid>
            <internalidaddress>0</internalidaddress>
            <internalidstring>RUSEFI0.1</internalidstring>
            <ecuid>RUSEFI</ecuid>
            <make>rusEfi</make>
            <model>rusEfi</model>
            <filesize>@@total_config_size@@</filesize>
        </romid>

        <table type="3D" name="Ignition Advance"
        category="Ignition"
        storageaddress="@@ignitionTable_offset_hex@@"
               sizex="@@IGN_LOAD_COUNT@@" sizey="@@IGN_RPM_COUNT@@" storagetype="float" endian="big">
            <scaling units="Engine Load" expression="x" to_byte="x" format="0.00" fineincrement=".1"
                     coarseincrement="1"/>
            <table type="X Axis" storageaddress="@@ignitionLoadBins_offset_hex@@" storagetype="float" endian="big"
                   logparam="engine_load">
                <scaling units="degree" expression="x" to_byte="x" format="0.00" fineincrement=".1"
                         coarseincrement="1"/>
            </table>
            <table type="Y Axis" storageaddress="@@ignitionRpmBins_offset_hex@@" storagetype="float" endian="big"
                   logparam="rpm">
                <scaling units="RPM" expression="x" to_byte="x" format="0.00" fineincrement=".1" coarseincrement="1"/>
            </table>
        </table>

        <table type="3D" name="Ignition Advance IAT correction" 
        category="Ignition"
        storageaddress="@@ignitionIatCorrTable_offset_hex@@"
               sizex="@@IGN_LOAD_COUNT@@" sizey="@@IGN_RPM_COUNT@@" storagetype="float" endian="big">
            <scaling units="Engine Load" expression="x" to_byte="x" format="0.00" fineincrement=".1"
                     coarseincrement="1"/>
            <table type="X Axis" storageaddress="@@ignitionIatCorrLoadBins_offset_hex@@" storagetype="float"
                   endian="big" logparam="engine_load">
                <scaling units="temperature, C" expression="x" to_byte="x" format="0.00" fineincrement=".1"
                         coarseincrement="1"/>
            </table>
            <table type="Y Axis" storageaddress="@@ignitionIatCorrRpmBins_offset_hex@@" storagetype="float" endian="big"
                   logparam="rpm">
                <scaling units="RPM" expression="x" to_byte="x" format="0.00" fineincrement=".1" coarseincrement="1"/>
            </table>
        </table>

        <table type="3D" name="Volumetric Efficiency"
        category="Fuel"
        storageaddress="@@veTable_offset_hex@@"
               sizex="@@FUEL_LOAD_COUNT@@" sizey="@@FUEL_RPM_COUNT@@" storagetype="float" endian="big">
            <scaling units="Engine Load" expression="x" to_byte="x" format="0.00" fineincrement=".1"
                     coarseincrement="1"/>
            <table type="X Axis" storageaddress="@@veLoadBins_offset_hex@@" storagetype="float" endian="big"
                   logparam="engine_load">
                <scaling units="degree" expression="x" to_byte="x" format="0.00" fineincrement=".1"
                         coarseincrement="1"/>
            </table>
            <table type="Y Axis" storageaddress="@@veRpmBins_offset_hex@@" storagetype="float" endian="big"
                   logparam="rpm">
                <scaling units="RPM" expression="x" to_byte="x" format="0.00" fineincrement=".1" coarseincrement="1"/>
            </table>
        </table>

        <table type="3D" name="Fuel Table" 
        category="Fuel"
        storageaddress="@@fuelTable_offset_hex@@" sizex="@@FUEL_LOAD_COUNT@@"
               sizey="@@FUEL_RPM_COUNT@@" storagetype="float" endian="big">
            <scaling units="Engine Load" expression="x" to_byte="x" format="0.00" fineincrement=".1"
                     coarseincrement="1"/>
            <table type="X Axis" storageaddress="@@fuelLoadBins_offset_hex@@" storagetype="float" endian="big"
                   logparam="engine_load">
                <scaling units="degree" expression="x" to_byte="x" format="0.00" fineincrement=".1"
                         coarseincrement="1"/>
            </table>
            <table type="Y Axis" storageaddress="@@fuelRpmBins_offset_hex@@" storagetype="float" endian="big"
                   logparam="rpm">
                <scaling units="RPM" expression="x" to_byte="x" format="0.00" fineincrement=".1" coarseincrement="1"/>
            </table>
        </table>

        <table type="3D" name="Target AFR"
        category="Fuel"
        storageaddress="@@afrTable_offset_hex@@" sizex="@@FUEL_LOAD_COUNT@@"
               sizey="@@FUEL_RPM_COUNT@@" storagetype="float" endian="big">
            <scaling units="Engine Load" expression="x" to_byte="x" format="0.00" fineincrement=".1"
                     coarseincrement="1"/>
            <table type="X Axis" storageaddress="@@afrLoadBins_offset_hex@@" storagetype="float" endian="big">
                <scaling units="degree" expression="x" to_byte="x" format="0.00" fineincrement=".1"
                         coarseincrement="1"/>
            </table>
            <table type="Y Axis" storageaddress="@@afrRpmBins_offset_hex@@" storagetype="float" endian="big">
                <scaling units="RPM" expression="x" to_byte="x" format="0.00" fineincrement=".1" coarseincrement="1"/>
            </table>
        </table>

        <table type="3D" name="Baro Correction"
        category="Fuel"
        storageaddress="@@baroCorrTable_offset_hex@@" sizex="@@BARO_CORR_SIZE@@"
               sizey="@@BARO_CORR_SIZE@@" storagetype="float" endian="big">
            <scaling units="Pressure" expression="x" to_byte="x" format="0.00" fineincrement=".1" coarseincrement="1"/>
            <table type="X Axis" storageaddress="@@baroCorrPressureBins_offset_hex@@" storagetype="float" endian="big">
                <scaling units="kPa" expression="x" to_byte="x" format="0.00" fineincrement=".1" coarseincrement="1"/>
            </table>
            <table type="Y Axis" storageaddress="@@baroCorrRpmBins_offset_hex@@" storagetype="float" endian="big">
                <scaling units="RPM" expression="x" to_byte="x" format="0.00" fineincrement=".1" coarseincrement="1"/>
            </table>
        </table>

        <table type="2D" name="Coolant-based Warnup Enrichment"
        category="Fuel"
        storageaddress="@@cltFuelCorr_offset_hex@@" sizex="16"
               storagetype="float" endian="big">
            <scaling units="Target Boost (psia) Compensation (%)" expression="x" to_byte="x" format="0.00"
                     fineincrement=".01" coarseincrement="0.1"/>
            <table type="X Axis" storageaddress="@@cltFuelCorrBins_offset_hex@@" storagetype="float" endian="big">
                <scaling units="uni" expression="x" to_byte="x" format="0.00" fineincrement=".1" coarseincrement="1"/>
            </table>
        </table>

        <table type="2D" name="Intake air temperature-based extra idle air" storageaddress="@@cltIdleCorr_offset_hex@@"
               sizex="16" storagetype="float" endian="big">
            <scaling units="Target Boost (psia) Compensation (%)" expression="x" to_byte="x" format="0.00"
                     fineincrement=".01" coarseincrement="0.1"/>
            <table type="X Axis" storageaddress="@@cltIdleCorrBins_offset_hex@@" storagetype="float" endian="big">
                <scaling units="uni" expression="x" to_byte="x" format="0.00" fineincrement=".1" coarseincrement="1"/>
            </table>
        </table>


    </rom>
</roms>