bool MTOUCH_Service_Mainloop(void)
{

    /* In free running mode, the mTouch service will be executed 
        once MTOUCH_Service_Mainloop gets called.*/
    mtouch_time_toScan = true;

    if(mtouch_time_toScan)               
    {
        if(MTOUCH_Sensor_SampleAll() == false)     
            return false;           
        MTOUCH_Button_ServiceAll();             
        MTOUCH_Proximity_ServiceAll();          
        mtouch_time_toScan = MTOUCH_needReburst();
        MTOUCH_Sensor_Sampled_ResetAll();  
        MTOUCH_Tick();
        return true;
    }
    else                              
    {
        return false;                
    }
}