 </table>
  </dd>
</dl>
<p>This functions calculates the watch dog time base based on desired timeout, to give the best granularity. The STM32 independent watch dog peripheral runs on a 40KHz RC oscillator. This 40KHz clock can be divided down in range 4 - 256. The watchdog itself resets the system when the watchdog timer reaches a value of 0 (12 bit counter).</p>
<p>Min timeout (highest resolution): 4095 / (40KHz / 4) -&gt; 0.410s</p>
<p>Max timeout: 4095 / (40KHz / 256) -&gt; 26.2s </p>
<div class="dynhea