You are reading a single comment by @ltj and its replies. Click here to read the full conversation.
  • Absolutely. According to the datasheet the STM32F103x family of mcu's have 2 watchdog timers. You control them via registers, and you can write register data using the poke8/16/32 functions. Do be careful however. The watchdog counter needs to be reset at your discretion. ie. if you have a program that just sits and wait for an external interrupt (say, a PIR motion sensor), and nothing happens for a while. Then you need to make sure that you counter reset takes place in a setInterval().

    You can see all the register documentaion and much more in the ST reference manual found here.


Avatar for ltj @ltj started