summaryrefslogtreecommitdiff
path: root/cesar/hal/phy/src/pratic.c
diff options
context:
space:
mode:
authorNicolas Schodet2011-01-05 10:40:17 +0100
committerNicolas Schodet2011-01-05 17:30:32 +0100
commitbf1d78a8407a3fa41db1177b503b384e863bab2b (patch)
treefa8c52648d085c6ed3a74b0e7a8e3eda33aee3d3 /cesar/hal/phy/src/pratic.c
parentd38d25f14da861e6dc70e4170f8f85afd74e4058 (diff)
cesar/hal/phy: add hardware watchdog, workaround RESYS freeze, closes #2156
If hardware watchdog is triggered, this means that hardware is in an undefined state. This commit workarounds RESYS freeze after PRP lost, maria:#927. This works by checking RESYS state and restart it to generate an end of frame signal to PRATIC.
Diffstat (limited to 'cesar/hal/phy/src/pratic.c')
-rw-r--r--cesar/hal/phy/src/pratic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cesar/hal/phy/src/pratic.c b/cesar/hal/phy/src/pratic.c
index 178e319dc7..b1869d9b94 100644
--- a/cesar/hal/phy/src/pratic.c
+++ b/cesar/hal/phy/src/pratic.c
@@ -17,6 +17,7 @@
* - 4: PRP/RX ACTIVATE
* - 5: extra timer
* - 6: FC 1.0 creation
+ * - 7: watchdog
*
* See also access.c.
*/