#include <xdc/std.h>
#include <ti/sysbios/BIOS.h>
#include <ti/sysbios/knl/Task.h>
#include <ti/sysbios/knl/Swi.h>
#define ti_sysbios_family_msp430_Hwi__internalaccess
#include <ti/sysbios/family/msp430/Hwi.h>
#include <ti/sysbios/family/msp430/Power.h>

extern ti_sysbios_family_msp430_Hwi_Object ti_sysbios_family_msp430_Hwi_Object__table__V[];

#if defined(__ICC430__)
#pragma vector = 0 * 2
#else
#pragma vector = 0;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi0(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 1 * 2
#else
#pragma vector = 1;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi1(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 2 * 2
#else
#pragma vector = 2;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi2(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 3 * 2
#else
#pragma vector = 3;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi3(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 4 * 2
#else
#pragma vector = 4;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi4(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 5 * 2
#else
#pragma vector = 5;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi5(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 6 * 2
#else
#pragma vector = 6;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi6(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 7 * 2
#else
#pragma vector = 7;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi7(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 8 * 2
#else
#pragma vector = 8;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi8(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 9 * 2
#else
#pragma vector = 9;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi9(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 10 * 2
#else
#pragma vector = 10;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi10(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 11 * 2
#else
#pragma vector = 11;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi11(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 12 * 2
#else
#pragma vector = 12;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi12(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 13 * 2
#else
#pragma vector = 13;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi13(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 14 * 2
#else
#pragma vector = 14;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi14(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 15 * 2
#else
#pragma vector = 15;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi15(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 16 * 2
#else
#pragma vector = 16;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi16(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 17 * 2
#else
#pragma vector = 17;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi17(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 18 * 2
#else
#pragma vector = 18;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi18(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 19 * 2
#else
#pragma vector = 19;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi19(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 20 * 2
#else
#pragma vector = 20;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi20(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 21 * 2
#else
#pragma vector = 21;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi21(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 22 * 2
#else
#pragma vector = 22;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi22(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 23 * 2
#else
#pragma vector = 23;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi23(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 24 * 2
#else
#pragma vector = 24;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi24(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 25 * 2
#else
#pragma vector = 25;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi25(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 26 * 2
#else
#pragma vector = 26;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi26(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 27 * 2
#else
#pragma vector = 27;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi27(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 28 * 2
#else
#pragma vector = 28;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi28(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 29 * 2
#else
#pragma vector = 29;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi29(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 30 * 2
#else
#pragma vector = 30;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi30(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 31 * 2
#else
#pragma vector = 31;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi31(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 32 * 2
#else
#pragma vector = 32;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi32(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 33 * 2
#else
#pragma vector = 33;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi33(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 34 * 2
#else
#pragma vector = 34;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi34(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 35 * 2
#else
#pragma vector = 35;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi35(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 36 * 2
#else
#pragma vector = 36;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi36(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 37 * 2
#else
#pragma vector = 37;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi37(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 38 * 2
#else
#pragma vector = 38;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi38(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 39 * 2
#else
#pragma vector = 39;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi39(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 40 * 2
#else
#pragma vector = 40;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi40(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 41 * 2
#else
#pragma vector = 41;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi41(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 42 * 2
#else
#pragma vector = 42;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi42(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 43 * 2
#else
#pragma vector = 43;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi43(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 44 * 2
#else
#pragma vector = 44;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi44(Void)
{
    while(1){};
}

extern Void ti_sysbios_family_xxx_Hwi_switchAndRunFunc(Void (*func)());

extern Void ti_sysbios_family_msp430_Hwi45_p2(Void);

#if defined(__ICC430__)
#pragma inline=never
#endif
extern Void I2CUSCIB_hwiIntFxn(UArg);
#if defined(__ICC430__)
#pragma vector = 45 * 2
#else
#pragma vector = 45;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi45(Void)
{
    UInt taskKey;

    /* disable Task scheduler */
    taskKey = ti_sysbios_knl_Task_disable();

    /* switch stacks and then run the phase 2 function */
    ti_sysbios_family_xxx_Hwi_switchAndRunFunc(&ti_sysbios_family_msp430_Hwi45_p2);

    /* handle any Task re-scheduling as required */
    ti_sysbios_knl_Task_restoreHwi(taskKey);

}

Void ti_sysbios_family_msp430_Hwi45_p2(Void)
{
    ti_sysbios_BIOS_ThreadType prevThreadType;
    UInt swiKey;

    /* disable Swi scheduler */
    swiKey = ti_sysbios_knl_Swi_disable();

    /* set thread type to Hwi */
    prevThreadType = ti_sysbios_BIOS_setThreadType(ti_sysbios_BIOS_ThreadType_Hwi);

    /* run ISR function */
    I2CUSCIB_hwiIntFxn(0);

    /* run any posted Swis */
    ti_sysbios_knl_Swi_restoreHwi(swiKey);

    /* restore thread type */
    ti_sysbios_BIOS_setThreadType(prevThreadType);

}

#if defined(__ICC430__)
#pragma vector = 46 * 2
#else
#pragma vector = 46;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi46(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 47 * 2
#else
#pragma vector = 47;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi47(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 48 * 2
#else
#pragma vector = 48;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi48(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 49 * 2
#else
#pragma vector = 49;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi49(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 50 * 2
#else
#pragma vector = 50;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi50(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 51 * 2
#else
#pragma vector = 51;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi51(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 52 * 2
#else
#pragma vector = 52;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi52(Void)
{
    while(1){};
}

extern Void ti_sysbios_family_xxx_Hwi_switchAndRunFunc(Void (*func)());

extern Void ti_sysbios_family_msp430_Hwi53_p2(Void);

#if defined(__ICC430__)
#pragma inline=never
#endif
extern Void ti_sysbios_family_msp430_Timer_periodicStub__E(UArg);
#if defined(__ICC430__)
#pragma vector = 53 * 2
#else
#pragma vector = 53;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi53(Void)
{
    UInt taskKey;

    /* disable Task scheduler */
    taskKey = ti_sysbios_knl_Task_disable();

    /* switch stacks and then run the phase 2 function */
    ti_sysbios_family_xxx_Hwi_switchAndRunFunc(&ti_sysbios_family_msp430_Hwi53_p2);

    /* handle any Task re-scheduling as required */
    ti_sysbios_knl_Task_restoreHwi(taskKey);

}

Void ti_sysbios_family_msp430_Hwi53_p2(Void)
{
    ti_sysbios_BIOS_ThreadType prevThreadType;
    UInt swiKey;

    /* disable Swi scheduler */
    swiKey = ti_sysbios_knl_Swi_disable();

    /* set thread type to Hwi */
    prevThreadType = ti_sysbios_BIOS_setThreadType(ti_sysbios_BIOS_ThreadType_Hwi);

    /* run ISR function */
    ti_sysbios_family_msp430_Timer_periodicStub__E(0);

    /* run any posted Swis */
    ti_sysbios_knl_Swi_restoreHwi(swiKey);

    /* restore thread type */
    ti_sysbios_BIOS_setThreadType(prevThreadType);

}

#if defined(__ICC430__)
#pragma vector = 54 * 2
#else
#pragma vector = 54;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi54(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 55 * 2
#else
#pragma vector = 55;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi55(Void)
{
    while(1){};
}

extern Void ti_sysbios_family_xxx_Hwi_switchAndRunFunc(Void (*func)());

extern Void ti_sysbios_family_msp430_Hwi56_p2(Void);

#if defined(__ICC430__)
#pragma inline=never
#endif
extern Void UARTUSCIA_hwiIntFxn(UArg);
#if defined(__ICC430__)
#pragma vector = 56 * 2
#else
#pragma vector = 56;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi56(Void)
{
    UInt taskKey;

    /* disable Task scheduler */
    taskKey = ti_sysbios_knl_Task_disable();

    /* switch stacks and then run the phase 2 function */
    ti_sysbios_family_xxx_Hwi_switchAndRunFunc(&ti_sysbios_family_msp430_Hwi56_p2);

    /* handle any Task re-scheduling as required */
    ti_sysbios_knl_Task_restoreHwi(taskKey);

}

Void ti_sysbios_family_msp430_Hwi56_p2(Void)
{
    ti_sysbios_BIOS_ThreadType prevThreadType;
    UInt swiKey;

    /* disable Swi scheduler */
    swiKey = ti_sysbios_knl_Swi_disable();

    /* set thread type to Hwi */
    prevThreadType = ti_sysbios_BIOS_setThreadType(ti_sysbios_BIOS_ThreadType_Hwi);

    /* run ISR function */
    UARTUSCIA_hwiIntFxn(0);

    /* run any posted Swis */
    ti_sysbios_knl_Swi_restoreHwi(swiKey);

    /* restore thread type */
    ti_sysbios_BIOS_setThreadType(prevThreadType);

}

#if defined(__ICC430__)
#pragma vector = 57 * 2
#else
#pragma vector = 57;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi57(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 58 * 2
#else
#pragma vector = 58;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi58(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 59 * 2
#else
#pragma vector = 59;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi59(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 60 * 2
#else
#pragma vector = 60;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi60(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 61 * 2
#else
#pragma vector = 61;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi61(Void)
{
    while(1){};
}

#if defined(__ICC430__)
#pragma vector = 62 * 2
#else
#pragma vector = 62;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi62(Void)
{
    while(1){};
}


