/* STLM75 Device' OS/INT pin callback. 
\breif GPIO External interrupt handler. */
unsigned long UserCallback(void *pvCBData, unsigned long ulEvent, unsigned long ulMsgParam, void *pvMsgData)
/* STLM75 Device' OS/INT pin callback. 
\breif GPIO External interrupt handler. */
unsigned long UserCallback(void *pvCBData, unsigned long ulEvent, unsigned long ulMsgParam, void *pvMsgData)
{
    float fTemp,fTos,fThys;
    int i;
    fTemp = STLM75TempRead(&Dev1);
    fTos = STLM75LimitRead(&Dev1, 1);
    fThys = STLM75LimitRead(&Dev1, 0);
    if(fTemp > fTos)
    {
        for(i=0; ucTemp1[i]!=0; i++)
            UartPrintfChar(ucTemp1[i]);
    }
    else if(fTemp < fThys)
    {
        for(i=0; ucTemp2[i]!=0; i++)
            UartPrintfChar(ucTemp1[i]);
    } 
    return 0;
}