27
27
28
28
/* * Test max_timeout validity
29
29
*
30
- * Given a device supporting watchdog HAL API,
30
+ * Given a device supporting Watchdog HAL API,
31
31
* when @a hal_watchdog_get_platform_features() is called,
32
32
* then max_timeout member of returned watchdog_features_t struct is greater than 1.
33
33
*/
34
34
void test_max_timeout_is_valid ();
35
35
36
- /* * Test watchdog features if a stopped watchdog can be started again
36
+ /* * Test Watchdog features if a stopped Watchdog can be started again
37
37
*
38
- * Given a device supporting watchdog HAL API,
38
+ * Given a device supporting Watchdog HAL API,
39
39
* when the device supports the @a disable_watchdog feature,
40
40
* then the device also supports @a update_config feature.
41
41
*/
42
42
void test_restart_is_possible ();
43
43
44
- /* * Test watchdog stop
44
+ /* * Test Watchdog stop
45
45
*
46
46
* Given a device without a support for the @a disable_watchdog feature,
47
47
* when @a hal_watchdog_stop() is called,
48
48
* then WATCHDOG_STATUS_NOT_SUPPORTED is returned.
49
49
*
50
50
* Otherwise, given the device with @a disable_watchdog feature support:
51
51
*
52
- * Given the watchdog is *NOT* running,
52
+ * Given the Watchdog is *NOT* running,
53
53
* when @a hal_watchdog_stop() is called,
54
54
* then WATCHDOG_STATUS_OK is returned.
55
55
*
56
- * Given the watchdog is running,
56
+ * Given the Watchdog is running,
57
57
* when @a hal_watchdog_stop() is called before the timeout expires,
58
58
* then WATCHDOG_STATUS_OK is returned and the device is not restarted.
59
59
*
60
- * Given the watchdog is *NOT* running (it has already been stopped),
60
+ * Given the Watchdog is *NOT* running (it has already been stopped),
61
61
* when @a hal_watchdog_stop() is called,
62
62
* then WATCHDOG_STATUS_OK is returned.
63
63
*/
64
64
void test_stop ();
65
65
66
- /* * Test watchdog init multiple times
66
+ /* * Test Watchdog init multiple times
67
67
*
68
68
* Given @a max_timeout value returned by @a hal_watchdog_get_platform_features():
69
69
*
@@ -84,18 +84,18 @@ void test_stop();
84
84
*/
85
85
void test_update_config ();
86
86
87
- /* * Test watchdog init with a valid config
87
+ /* * Test Watchdog init with a valid config
88
88
*
89
89
* Given @a config.timeout_ms is set to X ms,
90
- * which is within supported watchdog timeout range,
90
+ * which is within supported Watchdog timeout range,
91
91
* when @a hal_watchdog_init() is called,
92
92
* then @a WATCHDOG_STATUS_OK is returned
93
93
* and @a hal_watchdog_get_reload_value() returns X.
94
94
*/
95
95
template <uint32_t timeout_ms>
96
96
void test_init ();
97
97
98
- /* * Test watchdog init with a max_timeout
98
+ /* * Test Watchdog init with a max_timeout
99
99
*
100
100
* Given @a config.timeout_ms is set to max_timeout,
101
101
* which is a value returned by @a hal_watchdog_get_platform_features(),
0 commit comments