<root>
<device name='18F26K80' product='PIC' family='18F' bits='8' >
    <clock max_speed='64000000' master_divider='4' default='19660800' />
    <memory >
        <flash bytes='65536' />
        <ram bytes='3648' />
    </memory>
    <configuration address='0x300000' mult='1' >
        <format >
            <byte value='0xBF' />
            <byte value='0xF2' />
            <byte value='0xFF' />
            <byte value='0xF4' />
            <byte value='0xFF' />
            <byte value='0xFF' />
            <byte value='0xFF' />
            <byte value='0xFF' />
            <byte value='0xFF' />
            <byte value='0xFF' />
            <byte value='0xFF' />
            <byte value='0xFF' />
            <byte value='0xFF' />
            <byte value='0xFF' />
        </format>
        <setting />
        <settings >
            <setting name='RETEN' offset='0' mask='1' bits='1' hint='VREG Sleep Enable bit' >
                <option name='Enabled' value='0' />
                <option name='Disabled' value='1' />
            </setting>
            <setting name='INTOSCSEL' offset='2' mask='1' bits='1' hint='LF-INTOSC Low-power Enable bit' >
                <option name='LF-INTOSC in High-power mode during Sleep' value='1' />
                <option name='LF-INTOSC in Low-power mode during Sleep' value='0' />
            </setting>
            <setting name='SOSCSEL' offset='3' mask='3' bits='2' hint='SOSC Power Selection and mode Configuration bits' >
                <option name='High Power SOSC circuit selected' value='3' />
                <option name='Low Power SOSC circuit selected' value='1' />
                <option name='Digital (SCLKI) mode' value='2' />
            </setting>
            <setting name='XINST' offset='6' mask='1' bits='1' hint='Extended Instruction Set' >
                <option name='Enabled' value='1' />
                <option name='Disabled' value='0' />
            </setting>
            <setting name='FOSC' offset='8' mask='15' bits='4' hint='Oscillator' >
                <option name='External RC oscillator' value='7' />
                <option name='External RC oscillator, CLKOUT function on OSC2' value='6' />
                <option name='EC oscillator (Low power, DC - 160 kHz)' value='13' />
                <option name='EC oscillator, CLKOUT function on OSC2 (Low power, DC - 160 kHz)' value='12' />
                <option name='EC oscillator (Medium power, 160 kHz - 4 MHz)' value='11' />
                <option name='EC oscillator, CLKOUT function on OSC2 (Medium power, 160 kHz - 4 MHz)' value='10' />
                <option name='Internal RC oscillator, CLKOUT function on OSC2' value='9' />
                <option name='Internal RC oscillator' value='8' />
                <option name='EC oscillator (High power, 16 MHz - 64 MHz)' value='5' />
                <option name='EC oscillator, CLKOUT function on OSC2 (High power, 16 MHz - 64 MHz)' value='4' />
                <option name='HS oscillator (Medium power, 4 MHz - 16 MHz)' value='3' />
                <option name='HS oscillator (High power, 16 MHz - 25 MHz)' value='2' />
                <option name='XT oscillator' value='1' />
                <option name='LP oscillator' value='0' />
            </setting>
            <setting name='PLLCFG' offset='12' mask='1' bits='1' hint='PLL x4 Enable bit' >
                <option name='Enabled' value='1' />
                <option name='Disabled' value='0' />
            </setting>
            <setting name='FCMEN' offset='14' mask='1' bits='1' hint='Fail-Safe Clock Monitor' >
                <option name='Disabled' value='0' />
                <option name='Enabled' value='1' />
            </setting>
            <setting name='IESO' offset='15' mask='1' bits='1' hint='Internal External Oscillator Switch Over Mode' >
                <option name='Disabled' value='0' />
                <option name='Enabled' value='1' />
            </setting>
            <setting name='PWRTEN' offset='16' mask='1' bits='1' hint='Power Up Timer' >
                <option name='Disabled' value='1' />
                <option name='Enabled' value='0' />
            </setting>
            <setting name='BOREN' offset='17' mask='3' bits='2' hint='Brown Out Detect' >
                <option name='Enabled in hardware, SBOREN disabled' value='3' />
                <option name='Enabled while active, disabled in SLEEP, SBOREN disabled' value='2' />
                <option name='Controlled with SBOREN bit' value='1' />
                <option name='Disabled in hardware, SBOREN disabled' value='0' />
            </setting>
            <setting name='BORV' offset='19' mask='3' bits='2' hint='Brown-out Reset Voltage bits' >
                <option name='1.8V' value='3' />
                <option name='2.0V' value='2' />
                <option name='2.7V' value='1' />
                <option name='3.0V' value='0' />
            </setting>
            <setting name='BORPWR' offset='21' mask='3' bits='2' hint='BORMV Power level' >
                <option name='ZPBORMV instead of BORMV is selected' value='3' />
                <option name='BORMV set to high power level' value='2' />
                <option name='BORMV set to medium power level' value='1' />
                <option name='BORMV set to low power level' value='0' />
            </setting>
            <setting name='WDTEN' offset='24' mask='3' bits='2' hint='Watchdog Timer' >
                <option name='WDT enabled in hardware, SWDTEN bit disabled' value='3' />
                <option name='WDT controlled by SWDTEN bit setting' value='2' />
                <option name='WDT enabled only while device is active and disabled in Sleep mode, SWDTEN bit disabled' value='1' />
                <option name='WDT disabled in hardware, SWDTEN bit disabled' value='0' />
            </setting>
            <setting name='WDTPS' offset='27' mask='15' bits='4' hint='Watchdog Postscaler' >
                <option name='1:1048576' value='14' />
                <option name='1:262144' value='9' />
                <option name='1:65536' value='8' />
                <option name='1:16384' value='7' />
                <option name='1:4096' value='6' />
                <option name='1:1024' value='5' />
                <option name='1:256' value='4' />
                <option name='1:64' value='3' />
                <option name='1:16' value='2' />
                <option name='1:4' value='1' />
                <option name='1:1' value='0' />
            </setting>
            <setting name='WDTPS' offset='26' mask='1' bits='1' hint='Watchdog Postscaler/2' >
                <option name='No Divide' value='1' />
                <option name='Divide By 2' value='0' />
            </setting>
            <setting name='CANMX' offset='40' mask='1' bits='1' hint='ECAN Mux bit' >
                <option name='ECAN TX and RX pins are located on RB2 and RB3, respectively' value='1' />
                <option name='ECAN TX and RX pins are located on RC6 and RC7, respectively' value='0' />
            </setting>
            <setting name='MSSPMSK' offset='43' mask='1' bits='1' hint='MSSP address masking' >
                <option name='7 Bit address masking mode' value='1' />
                <option name='5 bit address masking mode' value='0' />
            </setting>
            <setting name='MCLRE' offset='47' mask='1' bits='1' hint='Master Clear Enable' >
                <option name='MCLR Enabled, RE3 Disabled' value='1' />
                <option name='MCLR Disabled, RE3 Enabled' value='0' />
            </setting>
            <setting name='STVREN' offset='48' mask='1' bits='1' hint='Stack Overflow Reset' >
                <option name='Enabled' value='1' />
                <option name='Disabled' value='0' />
            </setting>
            <setting name='BBSIZ' offset='52' mask='1' bits='1' hint='Boot Block Size' >
                <option name='2K word Boot Block size' value='1' />
                <option name='1K word Boot Block size' value='0' />
            </setting>
            <setting name='DEBUG' offset='55' mask='1' bits='1' hint='Background Debug' >
                <option name='Disabled' value='1' />
                <option name='Enabled' value='0' />
            </setting>
            <setting name='CP0' offset='64' mask='1' bits='1' hint='Code Protect 00800-03FFF' >
                <option name='Disabled' value='1' />
                <option name='Enabled' value='0' />
            </setting>
            <setting name='CP1' offset='65' mask='1' bits='1' hint='Code Protect 04000-07FFF' >
                <option name='Disabled' value='1' />
                <option name='Enabled' value='0' />
            </setting>
            <setting name='CP2' offset='66' mask='1' bits='1' hint='Code Protect 08000-0BFFF' >
                <option name='Disabled' value='1' />
                <option name='Enabled' value='0' />
            </setting>
            <setting name='CP3' offset='67' mask='1' bits='1' hint='Code Protect 0C000-0FFFF' >
                <option name='Disabled' value='1' />
                <option name='Enabled' value='0' />
            </setting>
            <setting name='CPB' offset='78' mask='1' bits='1' hint='Code Protect Boot' >
                <option name='Disabled' value='1' />
                <option name='Enabled' value='0' />
            </setting>
            <setting name='CPD' offset='79' mask='1' bits='1' hint='Data EE Read Protect' >
                <option name='Disabled' value='1' />
                <option name='Enabled' value='0' />
            </setting>
            <setting name='WRT0' offset='80' mask='1' bits='1' hint='Table Write Protect 00800-03FFF' >
                <option name='Disabled' value='1' />
                <option name='Enabled' value='0' />
            </setting>
            <setting name='WRT1' offset='81' mask='1' bits='1' hint='Table Write Protect 04000-07FFF' >
                <option name='Disabled' value='1' />
                <option name='Enabled' value='0' />
            </setting>
            <setting name='WRT2' offset='82' mask='1' bits='1' hint='Table Write Protect 08000-0BFFF' >
                <option name='Disabled' value='1' />
                <option name='Enabled' value='0' />
            </setting>
            <setting name='WRT3' offset='83' mask='1' bits='1' hint='Table Write Protect 0C000-0FFFF' >
                <option name='Disabled' value='1' />
                <option name='Enabled' value='0' />
            </setting>
            <setting name='WRTC' offset='93' mask='1' bits='1' hint='Config. Write Protect' >
                <option name='Disabled' value='1' />
                <option name='Enabled' value='0' />
            </setting>
            <setting name='WRTB' offset='94' mask='1' bits='1' hint='Table Write Protect Boot' >
                <option name='Disabled' value='1' />
                <option name='Enabled' value='0' />
            </setting>
            <setting name='WRTD' offset='95' mask='1' bits='1' hint='Data EE Write Protect' >
                <option name='Disabled' value='1' />
                <option name='Enabled' value='0' />
            </setting>
            <setting name='EBRT0' offset='96' mask='1' bits='1' hint='Table Read Protect 00800-03FFF' >
                <option name='Disabled' value='1' />
                <option name='Enabled' value='0' />
            </setting>
            <setting name='EBRT1' offset='97' mask='1' bits='1' hint='Table Read Protect 04000-07FFF' >
                <option name='Disabled' value='1' />
                <option name='Enabled' value='0' />
            </setting>
            <setting name='EBRT2' offset='98' mask='1' bits='1' hint='Table Read Protect 08000-0BFFF' >
                <option name='Disabled' value='1' />
                <option name='Enabled' value='0' />
            </setting>
            <setting name='EBRT3' offset='99' mask='1' bits='1' hint='Table Read Protect 0C000-0FFFF' >
                <option name='Disabled' value='1' />
                <option name='Enabled' value='0' />
            </setting>
            <setting name='EBRTB' offset='110' mask='1' bits='1' hint='Table Read Protect Boot' >
                <option name='Disabled' value='1' />
                <option name='Enabled' value='0' />
            </setting>
        </settings>
    </configuration>
    <pins sides='2' smd='0' >
        <pin name='MCLR/RE3' port='4' bit='3' />
        <pin name='RA0/AN0' port='0' bit='0' adc='0' />
        <pin name='RA1/AN1' port='0' bit='1' adc='1' />
        <pin name='RA2/AN2/VREF-/CVREF' port='0' bit='2' adc='2' />
        <pin name='RA3/AN3/VREF+' port='0' bit='3' adc='3' />
        <pin name='VDDCORE/VCAP' />
        <pin name='RA5/AN4/SS/HLVDIN' port='0' bit='5' adc='4' />
        <pin name='VSS' />
        <pin name='OSC1/CLKI/RA7' port='0' bit='7' />
        <pin name='OSC2/CLKO/RA6' port='0' bit='6' />
        <pin name='RC0/T1OSO/T1CKI' port='2' bit='0' />
        <pin name='RC1/T1OSI' port='2' bit='1' />
        <pin name='RC2/CCP2' port='2' bit='2' />
        <pin name='RC3/SCL/SCK' port='2' bit='3' />
        <pin name='RC4/SDA/SDI' port='2' bit='4' />
        <pin name='RC5/SDO' port='2' bit='5' />
        <pin name='RC6/TX1/CANTX' port='2' bit='6' />
        <pin name='RC7/RX1/CANRX' port='2' bit='7' />
        <pin name='VSS' />
        <pin name='VDD' />
        <pin name='RB0/AN10/INT0' port='1' bit='0' adc='10' />
        <pin name='RB1/AN8/INT1' port='1' bit='1' adc='8' />
        <pin name='RB2/INT2' port='1' bit='2' />
        <pin name='RB3/INT3' port='1' bit='3' />
        <pin name='RB4/AN9' port='1' bit='4' adc='9' />
        <pin name='RB5' port='1' bit='5' />
        <pin name='RB6/PGC/TX2' port='1' bit='6' />
        <pin name='RB7/PGD/RX2' port='1' bit='7' />
    </pins>
    <adc type='32' bits='12' >
        <speed >
            <option name='Fosc / 2' value='0' />
            <option name='Fosc / 8' value='1' />
            <option name='Fosc / 32' value='2' />
            <option name='FRC' value='3' />
            <option name='Fosc / 4' value='4' />
            <option name='Fosc / 16' value='5' />
            <option name='Fosc / 64' value='6' />
        </speed>
        <vref>
            <option name='AVDD' value='0' />
            <option name='Vref+' value='1' />
            <option name='Internal 2.0V' value='2' />
            <option name='Internal 4.1V' value='3' />
        </vref>
    </adc>
    <eeprom type='3' bytes='1024' />
    <spi >
        <miso port='2' pin='4' />
        <mosi port='2' pin='5' />
        <clk port='2' pin='3' />
        <ss port='0' pin='5' />
    </spi>
    <uart >
        <tx port='2' pin='6' />
        <rx port='2' pin='7' />
    </uart>
    <uart >
        <tx port='1' pin='6' />
        <rx port='1' pin='7' />
    </uart>
    <i2c master='1' >
        <sda port='2' pin='4' />
        <scl port='2' pin='3' />
    </i2c>
    <pwm >
        <prescaler >
            <option name='1' value='1' />
            <option name='4' value='4' />
            <option name='16' value='16' />
        </prescaler>
        <out port='1' pin='4' />
        <out port='2' pin='2' />
        <out port='2' pin='6' />
        <out port='2' pin='7' />
        <out port='1' pin='5' />
    </pwm>
    <can >
        <tx port='1' pin='2' />
        <rx port='1' pin='3' />
    </can>
    <interrupts >
        <interrupt ident='TMR0' regl='tmr0' regh='' type='timer8' name='Timer 0' handler='#ifndef MX_INTHANDLER_intcon_TMR0IF\n#define MX_INTHANDLER_intcon_TMR0IF\nif (ts_bit(intcon, TMR0IF) &amp;&amp; ts_bit(intcon, TMR0IE))\n{\n\tFCM_%n();\n\tcr_bit(intcon, TMR0IF);\n}\n#else\n#warning &quot;This interrupt has previously been enabled, so the macro &lt;%n&gt; may never get called.&quot;\n#endif\n' enable='st_bit(intcon, TMR0IE);\n' disable='cr_bit(intcon, TMR0IE);\n' >
            <timer overflow='256' extrange='0' />
            <options >
                <option name='Clock Source Select' >
                    <entry name='Transition on T0CKI pin' clkdiv='0' value='st_bit(t0con, T0CS);\n' />
                    <entry name='Internal clock (CLKO)' clkdiv='4' value='cr_bit(t0con, T0CS);\n' />
                </option>
                <option name='Source Edge Select' >
                    <entry name='high-to-low transition on TMR0 Clock' value='st_bit(t0con, T0SE);\n' />
                    <entry name='low-to-high transition on TMR0 Clock' value='cr_bit(t0con, T0SE);\n' />
                </option>
                <prescale name='Prescaler Rate' >
                    <entry name='1:1' value='t0con = (t0con &amp; 0xF0) | 0x08;\n' />
                    <entry name='1:2' value='t0con = (t0con &amp; 0xF0) | 0x00;\n' />
                    <entry name='1:4' value='t0con = (t0con &amp; 0xF0) | 0x01;\n' />
                    <entry name='1:8' value='t0con = (t0con &amp; 0xF0) | 0x02;\n' />
                    <entry name='1:16' value='t0con = (t0con &amp; 0xF0) | 0x03;\n' />
                    <entry name='1:32' value='t0con = (t0con &amp; 0xF0) | 0x04;\n' />
                    <entry name='1:64' value='t0con = (t0con &amp; 0xF0) | 0x05;\n' />
                    <entry name='1:128' value='t0con = (t0con &amp; 0xF0) | 0x06;\n' />
                    <entry name='1:256' value='t0con = (t0con &amp; 0xF0) | 0x07;\n' />
                </prescale>
            </options>
        </interrupt>
        <interrupt ident='INT0' type='pin' name='INT0 Pin' handler='#ifndef MX_INTHANDLER_intcon_INT0IF\n#define MX_INTHANDLER_intcon_INT0IF\nif (ts_bit(intcon, INT0IF) &amp;&amp; ts_bit(intcon, INT0IE))\n{\n\tFCM_%n();\n\tcr_bit(intcon, INT0IF);\n}\n#else\n#warning &quot;This interrupt has previously been enabled, so the macro &lt;%n&gt; may never get called.&quot;\n#endif\n' enable='st_bit(intcon, INT0IE);\n' disable='cr_bit(intcon, INT0IE);\n' >
            <ioc config='3' >
                <rising port='1' mask='1' />
                <falling port='1' mask='1' />
            </ioc>
            <options >
                <edge name='Interrupt Edge Select' >
                    <entry name='Rising edge of INT' value='st_bit(intcon2, INTEDG0);\n' />
                    <entry name='Falling edge of INT' value='cr_bit(intcon2, INTEDG0);\n' />
                </edge>
            </options>
        </interrupt>
        <interrupt ident='INT1' type='pin' name='INT1 Pin' handler='#ifndef MX_INTHANDLER_intcon3_INT1IF\n#define MX_INTHANDLER_intcon3_INT1IF\nif (ts_bit(intcon3, INT1IF) &amp;&amp; ts_bit(intcon3, INT1IE))\n{\n\tFCM_%n();\n\tcr_bit(intcon3, INT1IF);\n}\n#else\n#warning &quot;This interrupt has previously been enabled, so the macro &lt;%n&gt; may never get called.&quot;\n#endif\n' enable='st_bit(intcon3, INT1IE);\n' disable='cr_bit(intcon3, INT1IE);\n' >
            <ioc config='3' >
                <rising port='1' mask='2' />
                <falling port='1' mask='2' />
            </ioc>
            <options >
                <edge name='Interrupt Edge Select' >
                    <entry name='Rising edge of INT' value='st_bit(intcon2, INTEDG1);\n' />
                    <entry name='Falling edge of INT' value='cr_bit(intcon2, INTEDG1);\n' />
                </edge>
            </options>
        </interrupt>
        <interrupt ident='INT2' type='pin' name='INT2 Pin' handler='#ifndef MX_INTHANDLER_intcon3_INT2IF\n#define MX_INTHANDLER_intcon3_INT2IF\nif (ts_bit(intcon3, INT2IF) &amp;&amp; ts_bit(intcon3, INT2IE))\n{\n\tFCM_%n();\n\tcr_bit(intcon3, INT2IF);\n}\n#else\n#warning &quot;This interrupt has previously been enabled, so the macro &lt;%n&gt; may never get called.&quot;\n#endif\n' enable='st_bit(intcon3, INT2IE);\n' disable='cr_bit(intcon3, INT2IE);\n' >
            <ioc config='3' >
                <rising port='1' mask='4' />
                <falling port='1' mask='4' />
            </ioc>
            <options >
                <edge name='Interrupt Edge Select' >
                    <entry name='Rising edge of INT' value='st_bit(intcon2, INTEDG2);\n' />
                    <entry name='Falling edge of INT' value='cr_bit(intcon2, INTEDG2);\n' />
                </edge>
            </options>
        </interrupt>
        <interrupt ident='INT3' type='pin' name='INT3 Pin' handler='#ifndef MX_INTHANDLER_intcon3_INT3IF\n#define MX_INTHANDLER_intcon3_INT3IF\nif (ts_bit(intcon3, INT3IF) &amp;&amp; ts_bit(intcon3, INT3IE))\n{\n\tFCM_%n();\n\tcr_bit(intcon3, INT3IF);\n}\n#else\n#warning &quot;This interrupt has previously been enabled, so the macro &lt;%n&gt; may never get called.&quot;\n#endif\n' enable='st_bit(intcon3, INT3IE);\n' disable='cr_bit(intcon3, INT3IE);\n' >
            <ioc config='3' >
                <rising port='1' mask='8' />
                <falling port='1' mask='8' />
            </ioc>
            <options >
                <edge name='Interrupt Edge Select' >
                    <entry name='Rising edge of INT' value='st_bit(intcon2, INTEDG3);\n' />
                    <entry name='Falling edge of INT' value='cr_bit(intcon2, INTEDG3);\n' />
                </edge>
            </options>
        </interrupt>
        <interrupt ident='TMR2' regl='tmr2' regh='' type='timer8' name='Timer 2' handler='#ifndef MX_INTHANDLER_pir1_TMR2IF\n#define MX_INTHANDLER_pir1_TMR2IF\nif (ts_bit(pir1, TMR2IF) &amp;&amp; ts_bit(pie1, TMR2IE))\n{\n\tFCM_%n();\n\tcr_bit(pir1, TMR2IF);\n}\n#else\n#warning &quot;This interrupt has previously been enabled, so the macro &lt;%n&gt; may never get called.&quot;\n#endif' enable='st_bit(intcon, PEIE);\nst_bit(pie1, TMR2IE);\n' disable='cr_bit(pie1, TMR2IE);\n' >
            <timer overflow='256' extrange='0' />
            <options >
                <prescale name='Prescaler Rate' >
                    <entry name='1:1' value='cr_bit(t2con, T2CKPS0);\ncr_bit(t2con, T2CKPS1);\nst_bit(t2con, TMR2ON);\n' />
                    <entry name='1:4' value='st_bit(t2con, T2CKPS0);\ncr_bit(t2con, T2CKPS1);\nst_bit(t2con, TMR2ON);\n' />
                    <entry name='1:16' value='cr_bit(t2con, T2CKPS0);\nst_bit(t2con, T2CKPS1);\nst_bit(t2con, TMR2ON);\n' />
                </prescale>
                <postscale name='Postscaler Rate' >
                    <entry name='1:1' value='t2con = t2con &amp; 0x07;\n' />
                    <entry name='1:2' value='t2con = (t2con &amp; 0x07) | 0x08;\n' />
                    <entry name='1:3' value='t2con = (t2con &amp; 0x07) | 0x10;\n' />
                    <entry name='1:4' value='t2con = (t2con &amp; 0x07) | 0x18;\n' />
                    <entry name='1:5' value='t2con = (t2con &amp; 0x07) | 0x20;\n' />
                    <entry name='1:6' value='t2con = (t2con &amp; 0x07) | 0x28;\n' />
                    <entry name='1:7' value='t2con = (t2con &amp; 0x07) | 0x30;\n' />
                    <entry name='1:8' value='t2con = (t2con &amp; 0x07) | 0x38;\n' />
                    <entry name='1:9' value='t2con = (t2con &amp; 0x07) | 0x40;\n' />
                    <entry name='1:10' value='t2con = (t2con &amp; 0x07) | 0x48;\n' />
                    <entry name='1:11' value='t2con = (t2con &amp; 0x07) | 0x50;\n' />
                    <entry name='1:12' value='t2con = (t2con &amp; 0x07) | 0x58;\n' />
                    <entry name='1:13' value='t2con = (t2con &amp; 0x07) | 0x60;\n' />
                    <entry name='1:14' value='t2con = (t2con &amp; 0x07) | 0x68;\n' />
                    <entry name='1:15' value='t2con = (t2con &amp; 0x07) | 0x70;\n' />
                    <entry name='1:16' value='t2con = (t2con &amp; 0x07) | 0x78;\n' />
                </postscale>
                <rollover name='Rollover Value' >
                    <entry name='256' min='1' max='256' value='pr2=%d-1;\n' />
                </rollover>
            </options>
        </interrupt>
        <interrupt ident='RXINT0' type='comms' name='UART RXINT0' handler='#ifndef MX_INTHANDLER_pir1_RC1IF\n#define MX_INTHANDLER_pir1_RC1IF\nif (ts_bit(pir1, RC1IF) &amp;&amp; ts_bit(pie1, RC1IE))\n{\n\tFCM_%n();\n\tcr_bit(pir1, RC1IF);\n}\n#else\n#warning &quot;This interrupt has previously been enabled, so the macro &lt;%n&gt; may never get called.&quot;\n#endif' enable='st_bit(intcon, PEIE);\nst_bit(pie1, RC1IE);\n' disable='cr_bit(pie1, RC1IE);\n' />
        <interrupt ident='RXINT1' type='comms' name='UART RXINT1' handler='#ifndef MX_INTHANDLER_pir3_RC2IF\n#define MX_INTHANDLER_pir3_RC2IF\nif (ts_bit(pir3, RC2IF) &amp;&amp; ts_bit(pie3, RC2IE))\n{\n\tFCM_%n();\n\tcr_bit(pir3, RC2IF);\n}\n#else\n#warning &quot;This interrupt has previously been enabled, so the macro &lt;%n&gt; may never get called.&quot;\n#endif' enable='st_bit(intcon, PEIE);\nst_bit(pie3, RC2IE);\n' disable='cr_bit(pie3, RC2IE);\n' />
        <interrupt ident='IOC0' type='multipin' name='IOC PORTB' handler='#ifndef MX_INTHANDLER_intcon_RBIF\n#define MX_INTHANDLER_intcon_RBIF\nchar mxtmp;\nif (ts_bit(intcon, RBIF) &amp;&amp; ts_bit(intcon, RBIE))\n{\n\tFCM_%n();\n\tmxtmp=portb;\n\tcr_bit(intcon, RBIF);\n}\n#else\n#warning &quot;This interrupt has previously been enabled, so the macro &lt;%n&gt; may never get called.&quot;\n#endif\n' enable='iocb=%pB0v;\nst_bit(intcon, RBIE);\n' disable='cr_bit(intcon, RBIE);\n' >
            <ioc config='0x0C' >
                <rising port='1' mask='0xF0' />
                <falling port='1' mask='0xF0' />
            </ioc>
        </interrupt>
        <interrupt ident='TMR4' regl='tmr4' regh='' type='timer8' name='Timer 4' handler='#ifndef MX_INTHANDLER_pir3_TMR4IF\n#define MX_INTHANDLER_pir3_TMR4IF\nif (ts_bit(pir3, TMR4IF) &amp;&amp; ts_bit(pie3, TMR4IE))\n{\n\tFCM_%n();\n\tcr_bit(pir3, TMR4IF);\n}\n#else\n#warning &quot;This interrupt has previously been enabled, so the macro &lt;%n&gt; may never get called.&quot;\n#endif' enable='st_bit(intcon, PEIE);\nst_bit(pie3, TMR4IE);\n' disable='cr_bit(pie3, TMR4IE);\n' >
            <timer overflow='256' extrange='0' />
            <options >
                <prescale name='Prescaler Rate' >
                    <entry name='1:1' value='cr_bit(t4con, T4CKPS0);\ncr_bit(t4con, T4CKPS1);\nst_bit(t4con, TMR4ON);\n' />
                    <entry name='1:4' value='st_bit(t4con, T4CKPS0);\ncr_bit(t4con, T4CKPS1);\nst_bit(t4con, TMR4ON);\n' />
                    <entry name='1:16' value='cr_bit(t4con, T4CKPS0);\nst_bit(t4con, T4CKPS1);\nst_bit(t4con, TMR4ON);\n' />
                </prescale>
                <postscale name='Postscaler Rate' >
                    <entry name='1:1' value='t4con = t4con &amp; 0x07;\n' />
                    <entry name='1:2' value='t4con = (t4con &amp; 0x07) | 0x08;\n' />
                    <entry name='1:3' value='t4con = (t4con &amp; 0x07) | 0x10;\n' />
                    <entry name='1:4' value='t4con = (t4con &amp; 0x07) | 0x18;\n' />
                    <entry name='1:5' value='t4con = (t4con &amp; 0x07) | 0x20;\n' />
                    <entry name='1:6' value='t4con = (t4con &amp; 0x07) | 0x28;\n' />
                    <entry name='1:7' value='t4con = (t4con &amp; 0x07) | 0x30;\n' />
                    <entry name='1:8' value='t4con = (t4con &amp; 0x07) | 0x38;\n' />
                    <entry name='1:9' value='t4con = (t4con &amp; 0x07) | 0x40;\n' />
                    <entry name='1:10' value='t4con = (t4con &amp; 0x07) | 0x48;\n' />
                    <entry name='1:11' value='t4con = (t4con &amp; 0x07) | 0x50;\n' />
                    <entry name='1:12' value='t4con = (t4con &amp; 0x07) | 0x58;\n' />
                    <entry name='1:13' value='t4con = (t4con &amp; 0x07) | 0x60;\n' />
                    <entry name='1:14' value='t4con = (t4con &amp; 0x07) | 0x68;\n' />
                    <entry name='1:15' value='t4con = (t4con &amp; 0x07) | 0x70;\n' />
                    <entry name='1:16' value='t4con = (t4con &amp; 0x07) | 0x78;\n' />
                </postscale>
                <rollover name='Rollover Value' >
                    <entry name='256' min='1' max='256' value='pr4=%d-1;\n' />
                </rollover>
            </options>
        </interrupt>
        <interrupt ident='TMR1' regl='tmr1l' regh='tmr1h' type='timer16' name='Timer 1' handler='#ifndef MX_INTHANDLER_pir1_TMR1IF\n#define MX_INTHANDLER_pir1_TMR1IF\nif (ts_bit(pir1, TMR1IF) &amp;&amp; ts_bit(pie1, TMR1IE))\n{\n\tFCM_%n();\n\tcr_bit(pir1, TMR1IF);\n}\n#else\n#warning &quot;This interrupt has previously been enabled, so the macro &lt;%n&gt; may never get called.&quot;\n#endif\n' enable='st_bit(intcon, PEIE);\nst_bit(pie1, TMR1IE);\n' disable='cr_bit(pie1, TMR1IE);\n' >
            <timer overflow='65536' extrange='0' />
            <options >
                <option name='Clock Source Select' >
                    <entry name='Transition on T1CKI pin' clkdiv='0' value='st_bit(t1con, TMR1ON);\ncr_bit(t1con, TMR1CS0);\nst_bit(t1con, TMR1CS1);\ncr_bit(t1con, T1SOSCEN);\n' />
                    <entry name='Internal clock (Fosc/4)' clkdiv='4' value='st_bit(t1con, TMR1ON);\ncr_bit(t1con, TMR1CS0);\ncr_bit(t1con, TMR1CS1);\n' />
                    <entry name='Internal clock (Fosc)' clkdiv='1' value='st_bit(t1con, TMR1ON);\ncr_bit(t1con, TMR1CS0);\ncr_bit(t1con, TMR1CS1);\ncr_bit(t1con, T1SOSCEN);\n' />
                    <entry name='32.768KHz XTAL T1CKI/T1CKO' clkdiv='0' value='st_bit(t1con, TMR1ON);\ncr_bit(t1con, TMR1CS0);\nst_bit(t1con, TMR1CS1);\nst_bit(t1con, T1SOSCEN);\n' />
                </option>
                <option name='16-Bit Read/Write Mode' >
                    <entry name='Timer1 register read/write in one 16-bit operation' value='st_bit(t1con, RD16);\n' />
                    <entry name='Timer1 register read/write in two 8-bit operations' value='cr_bit(t1con, RD16);\n' />
                </option>
                <prescale name='Prescaler Rate' >
                    <entry name='1:1' value='t1con = t1con &amp; 0xCF;\n' />
                    <entry name='1:2' value='t1con = (t1con &amp; 0xCF) | 0x10;\n' />
                    <entry name='1:4' value='t1con = (t1con &amp; 0xCF) | 0x20;\n' />
                    <entry name='1:8' value='t1con = (t1con &amp; 0xCF) | 0x30;\n' />
                </prescale>
            </options>
        </interrupt>
        <interrupt ident='TMR3' regl='tmr3l' regh='tmr3h' type='timer16' name='Timer 3' handler='#ifndef MX_INTHANDLER_pir2_TMR3IF\n#define MX_INTHANDLER_pir2_TMR3IF\nif (ts_bit(pir2, TMR3IF) &amp;&amp; ts_bit(pie2, TMR3IE))\n{\n\tFCM_%n();\n\tcr_bit(pir2, TMR3IF);\n}\n#else\n#warning &quot;This interrupt has previously been enabled, so the macro &lt;%n&gt; may never get called.&quot;\n#endif\n' enable='st_bit(intcon, PEIE);\nst_bit(pie2, TMR3IE);\n' disable='cr_bit(pie2, TMR3IE);\n' >
            <timer overflow='65536' extrange='0' />
            <options >
                <option name='Clock Source Select' >
                    <entry name='Transition on T3CKI pin' clkdiv='0' value='st_bit(t3con, TMR3ON);\ncr_bit(t3con, TMR3CS0);\nst_bit(t3con, TMR3CS1);\ncr_bit(t3con, T3SOSCEN);\n' />
                    <entry name='Internal clock (Fosc/4)' clkdiv='4' value='st_bit(t3con, TMR3ON);\ncr_bit(t3con, TMR3CS0);\ncr_bit(t3con, TMR3CS1);\n' />
                    <entry name='Internal clock (Fosc)' clkdiv='1' value='st_bit(t3con, TMR3ON);\nst_bit(t3con, TMR3CS0);\ncr_bit(t3con, TMR3CS1);\n' />
                </option>
                <option name='16-Bit Read/Write Mode' >
                    <entry name='Timer3 register read/write in one 16-bit operation' value='st_bit(t3con, RD16);\n' />
                    <entry name='Timer3 register read/write in two 8-bit operations' value='cr_bit(t3con, RD16);\n' />
                </option>
                <prescale name='Prescaler Rate' >
                    <entry name='1:1' value='t3con = t3con &amp; 0xCF;\n' />
                    <entry name='1:2' value='t3con = (t3con &amp; 0xCF) | 0x10;\n' />
                    <entry name='1:4' value='t3con = (t3con &amp; 0xCF) | 0x20;\n' />
                    <entry name='1:8' value='t3con = (t3con &amp; 0xCF) | 0x30;\n' />
                </prescale>
            </options>
        </interrupt>
    </interrupts>
</device>
<inline >
    <defines code="" />
    <directives code="" />
    <main >
        <start code='void main()\n{\n' />
        <end code='\tmainendloop: goto mainendloop;\n}\n\n' />
        <init code='ancon0 = 0x00;\nancon1 = 0x00;\n' />
    </main>
    <interrupt >
        <enable code='st_bit(intcon, GIE);\n' />
        <start code='void MX_INTERRUPT_MACRO(void)\n{\n' />
        <end code='}\n\n' />
        <init code='\n\n' />
    </interrupt>
    <config >
        <body code='#ifdef _BOOSTC\n#pragma DATA $(address), 0x$(value:x)\n#endif\n#ifdef HI_TECH_C\n__CONFIG(0x$(value:x));\n#endif\n' />
    </config>
</inline>
<test >
    <icd >
        <clock port='1' pin='6' />
        <data port='1' pin='7' />
    </icd>
</test>
</root>
