@@ -53,14 +53,14 @@ IWatchdogClass IWatchdog = IWatchdogClass();
53
53
54
54
#### Predefined values
55
55
56
- * Minimal timeout in microseconds: ` IWDG_TIMEOUT_MIN `
57
- * Maximal timeout in microseconds: ` IWDG_TIMEOUT_MAX `
56
+ * Minimal timeout in ** microseconds** : ` IWDG_TIMEOUT_MIN `
57
+ * Maximal timeout in ** microseconds** : ` IWDG_TIMEOUT_MAX `
58
58
59
59
#### ` void begin(uint32_t timeout, uint32_t window = IWDG_TIMEOUT_MAX) `
60
60
61
61
The ` begin() ` function would initialize the IWDG hardware block.
62
62
63
- The ` timeout ` parameter is in microseconds and set the timer reset timeout.
63
+ The ` timeout ` parameter is in ** microseconds** and set the timer reset timeout.
64
64
When the timer reaches zero the hardware block would generate a reset signal
65
65
for the CPU.
66
66
@@ -84,22 +84,22 @@ Valid timeout values depends of the LSI clock. Typically, it is 32kH value are b
84
84
| 8193ms - 16384ms | 4ms
85
85
| 16385ms - 32768ms | 8ms
86
86
87
- The optional ` window ` parameter is in microseconds and must be less than ` timeout ` .
87
+ The optional ` window ` parameter is in ** microseconds and must be less than ` timeout ` ** .
88
88
If the window option is enabled, the counter must be refreshed inside the window;
89
89
otherwise, a system reset is generated.
90
90
91
- ** Note: **
92
- Window feature is not available for all STM32 series.
91
+ > [ !NOTE ]
92
+ > Window feature is not available for all STM32 series.
93
93
94
94
Calling the ` begin() ` method with value outside of the valid range
95
95
would return without initializing the watchdog timer.
96
96
97
- ** WARNING: **
98
- * Once started the IWDG timer can not be stopped. If you are
99
- planning to debug the live system, the watchdog timer may cause the
100
- system to be reset while you are stopped in the debugger. Also consider
101
- the iwatchdog timer implications if you are designing a system which puts
102
- the CPU in sleep mode.*
97
+ > [ ! WARNING]
98
+ > Once started the IWDG timer can not be stopped. If you are
99
+ > planning to debug the live system, the watchdog timer may cause the
100
+ > system to be reset while you are stopped in the debugger. Also consider
101
+ > the iwatchdog timer implications if you are designing a system which puts
102
+ > the CPU in sleep mode.*
103
103
104
104
#### ` void reload() `
105
105
@@ -119,7 +119,7 @@ The `timeout` and optional `window` parameters are the same than `begin()` metho
119
119
The ` get() ` method allows to get the current timeout and window values
120
120
currently set.
121
121
122
- The ` timeout ` and optional ` window ` pointers to get values are in microseconds.
122
+ The ` timeout ` and optional ` window ` pointers to get values are in ** microseconds** .
123
123
124
124
#### ` bool isEnabled() `
125
125
0 commit comments