I want to halt or wait microprocessor how can I do it?
Is this a true format?
timerHandle = adl_tmrSubscribe(FALSE,10, ADL_TMR_TYPE_100MS,(adl_tmrHandler_t)timerHandler);
while(1); //or does this cause a watchdog timer reset?
I want processor to wait until subscribed timer event happens.
Is there a special function to stop processor?
My code always resets at the same place, I don’t think it is because stack overflow because I set it big enough (4000) and there is no recursive functions in my code and I controlled the syntax and code makes sense.
I think the reset reason is watchdog timer or something internal. How can I monitor exact reset reason?
Note I don’t know how to use target monitoring tool well, but I debug where the the is using
adl_atSendResponse( ADL_AT_RSP, “\r\nDEBUG point number xxx\r\n” );