diff options
Diffstat (limited to 'os/hal/include/st.h')
-rw-r--r-- | os/hal/include/st.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/os/hal/include/st.h b/os/hal/include/st.h index 05d382d93..b2cb00543 100644 --- a/os/hal/include/st.h +++ b/os/hal/include/st.h @@ -111,6 +111,17 @@ * @api
*/
#define stGetAlarm() st_lld_get_alarm()
+
+/**
+ * @brief Determines if the alarm is active.
+ *
+ * @return The alarm status.
+ * @retval false if the alarm is not active.
+ * @retval true is the alarm is active
+ *
+ * @api
+ */
+#define stIsAlarmActive() st_lld_is_alarm_active()
/** @} */
/*===========================================================================*/
|