/* The main function of the adi7417 Get Temperature. 
return none  */
void TemperatureGet(void)
/* The main function of the adi7417 Get Temperature. 
return none  */
void TemperatureGet(void)
{
    unsigned long  ulTemp;
    int i;
    xSysCtlClockSet(12000000, xSYSCTL_XTAL_12MHZ | xSYSCTL_OSC_MAIN);
    AD7415Init(10000, AD7415_MODE_POWER_DOWN); 
    while(1)
    {               
        for(i = 0; i < 10; i++)
        {
            if(i == 3)
            {
                AD7415OneShotConvert();
            }
            ulTemp = AD7415TempReadLDC();
            ulTemp = ulTemp + 1;
            for(ulTemp = 0; ulTemp < 1000; ulTemp++);
        }
    }
}