Yi Li | 4f025cd | 2016-12-02 19:03:53 +0800 | [diff] [blame] | 1 | description: > |
| 2 | Implement the watchdog function. |
William A. Kennington III | 34fc296 | 2018-01-23 21:05:19 -0800 | [diff] [blame^] | 3 | |
Yi Li | 4f025cd | 2016-12-02 19:03:53 +0800 | [diff] [blame] | 4 | properties: |
William A. Kennington III | 34fc296 | 2018-01-23 21:05:19 -0800 | [diff] [blame^] | 5 | - name: Initialized |
| 6 | type: boolean |
| 7 | description: > |
| 8 | Whether the host has configured the watchdog yet. |
| 9 | default: false |
Yi Li | 4f025cd | 2016-12-02 19:03:53 +0800 | [diff] [blame] | 10 | - name: Enabled |
| 11 | type: boolean |
| 12 | description: > |
| 13 | The watchdog is enabled or not. |
| 14 | default: false |
| 15 | - name: Interval |
| 16 | type: uint64 |
| 17 | description: > |
Patrick Venture | 08b0d93 | 2017-07-30 10:40:41 -0700 | [diff] [blame] | 18 | Time interval to arm the watchdog, in milli-second. |
Yi Li | 4f025cd | 2016-12-02 19:03:53 +0800 | [diff] [blame] | 19 | default: 30000 |
| 20 | - name: TimeRemaining |
| 21 | type: uint64 |
| 22 | description: > |
Patrick Venture | 08b0d93 | 2017-07-30 10:40:41 -0700 | [diff] [blame] | 23 | Time remaining before timeout, in milli-second. |
Yi Li | 4f025cd | 2016-12-02 19:03:53 +0800 | [diff] [blame] | 24 | Setting this property can re-arm the watchdog. |
| 25 | default: 0 |
Yi Li | 4f025cd | 2016-12-02 19:03:53 +0800 | [diff] [blame] | 26 | |
| 27 | # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 |