aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-08-23 07:57:26 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-08-23 07:57:26 +0000
commit960847273c5015002fff1bb7c483556140746de2 (patch)
tree5f0e8d024143d216301dd3472deb1c3c904ba099 /os/hal/include
parentb11d97ab581b4b2983b40d36fac8202f18ff0bac (diff)
downloadChibiOS-960847273c5015002fff1bb7c483556140746de2.tar.gz
ChibiOS-960847273c5015002fff1bb7c483556140746de2.tar.bz2
ChibiOS-960847273c5015002fff1bb7c483556140746de2.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6205 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r--os/hal/include/st.h11
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()
/** @} */
/*===========================================================================*/