BriscoeTech / Arduino-FreeRTOS-SAMD51

A port of FreeRTOS that runs on Arduino Samd51 boards
19 stars 13 forks source link

Estimate the number of times WDT hits the timeout? #6

Closed TinManAkshay closed 2 years ago

TinManAkshay commented 2 years ago

Hi,

I've been trying to understand how, in the code, I can figure out the way to estimate the number of times WDT hits the timeout and issues a system reset.

Is there any way I can do with any of the WDT registers, perhaps using some flag bit or something.

I'd appreciate all the suggestions here.

Thanks, Akshay