if( result == TI_DCO_SET_TO_SLOWEST ) // returned result if DCO registers hit min
{
while(1); // trap the CPU if hit
}
else if( result == TI_DCO_SET_TO_FASTEST ) // returned result if DCO registers hit max
{
while(1); // trap the CPU if hit
}
else if( result == TI_DCO_TIMEOUT_ERROR ) // result if DCO takes >10000 loops
{
while(1); // trap the CPU if hit
}