WatchDog
<p>1、设置看门狗 timeout 时间:
0x00,0x01 --- 63s; 0x02 --- 126s; 0x03 --- 192s; 最高可设置0x06 ---378s;</p>
<pre><code class="language-shell">i2ctransfer -y -f 3 w3@0x15 0x00 0x02 0x01</code></pre>
<p>2、打开 watchdog (默认超时时间为60s):</p>
<pre><code class="language-shell">i2ctransfer -y -f 3 w3@0x15 0x00 0x03 0x01</code></pre>
<p>3、喂狗:</p>
<pre><code class="language-shell">i2ctransfer -y -f 3 w3@0x15 0x00 0x04 0x01</code></pre>
<p>4、关闭 watchdog:</p>
<pre><code class="language-shell">i2ctransfer -y -f 3 w3@0x15 0x00 0x03 0x00</code></pre>