File tree Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,18 @@ void lp_ticker_irq_handler(void);
112
112
*/
113
113
void lp_ticker_init (void );
114
114
115
+ /** Deinitialize the lower power ticker
116
+ *
117
+ * Powerdown the lp ticker in preparation for sleep, powerdown, or reset.
118
+ *
119
+ * After calling this function no other ticker functions should be called except
120
+ * lp_ticker_init(). Calling any function other than init after freeing is
121
+ * undefined.
122
+ *
123
+ * @note This function stops the ticker from counting.
124
+ */
125
+ void lp_ticker_free (void );
126
+
115
127
/** Read the current tick
116
128
*
117
129
* If no rollover has occurred, the seconds passed since lp_ticker_init()
Original file line number Diff line number Diff line change @@ -161,7 +161,18 @@ void us_ticker_irq_handler(void);
161
161
*/
162
162
void us_ticker_init (void );
163
163
164
- /** Read the current tick
164
+ /** Deinitialize the us ticker
165
+ *
166
+ * Powerdown the us ticker in preparation for sleep, powerdown, or reset.
167
+ *
168
+ * After this function is called, no other ticker functions should be called
169
+ * except us_ticker_init(), calling any function other than init is undefined.
170
+ *
171
+ * @note This function stops the ticker from counting.
172
+ */
173
+ void us_ticker_free (void );
174
+
175
+ /** Read the current counter
165
176
*
166
177
* Read the current counter value without performing frequency conversions.
167
178
* If no rollover has occurred, the seconds passed since us_ticker_init()
@@ -230,7 +241,7 @@ void us_ticker_disable_interrupt(void);
230
241
void us_ticker_clear_interrupt (void );
231
242
232
243
/** Set pending interrupt that should be fired right away.
233
- *
244
+ *
234
245
* The ticker should be initialized prior calling this function.
235
246
*
236
247
* Pseudo Code:
You can’t perform that action at this time.
0 commit comments