i use code as below:
void CallMyHeavyTreatpments(void)
{
// To store remaining time before the end of watchdog inactivation
u32 i_u32_ReaminingTime;
// Watchdog inactivation for 30 seconds
adl_wdPut2Sleep(ADL_TMR_S_TO_TICK(30));
// Watchdog reactivation
i_u32_ReaminingTime = adl_wdAwake();
printf(“Watchdog is to be awaken in %d number of ticks”,
i_u32_ReaminingTime );
}
but get 0 number of ticks?
Hi,
Are you using multi-tasking ? when is the following part of code called in your application ?