aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/hal_pal.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-02-11 15:11:45 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-02-11 15:11:45 +0000
commit0b5d6d6f77d0869cfdf4c793bc3e831557902067 (patch)
tree1ce0bb7ae17017ad80447660c24de91795ceb563 /os/hal/include/hal_pal.h
parent548ecb2c4bc326c26a91e3c17933ce893f78b4fc (diff)
downloadChibiOS-0b5d6d6f77d0869cfdf4c793bc3e831557902067.tar.gz
ChibiOS-0b5d6d6f77d0869cfdf4c793bc3e831557902067.tar.bz2
ChibiOS-0b5d6d6f77d0869cfdf4c793bc3e831557902067.zip
Last minute fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11481 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include/hal_pal.h')
-rw-r--r--os/hal/include/hal_pal.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/os/hal/include/hal_pal.h b/os/hal/include/hal_pal.h
index abd2d0fd7..a3c9818ce 100644
--- a/os/hal/include/hal_pal.h
+++ b/os/hal/include/hal_pal.h
@@ -920,8 +920,7 @@ typedef struct {
*
* @param[in] port port identifier
* @param[in] pad pad number within the port
- * @param[in] mode pad event mode
- * @param[in] callback event callback function
+ * @param[in] cb event callback function
* @param[in] arg callback argument
*
* @api
@@ -937,7 +936,7 @@ typedef struct {
* @brief Associates a callback to a line.
*
* @param[in] line line identifier
- * @param[in] callback event callback function
+ * @param[in] cb event callback function
* @param[in] arg callback argument
*
* @iclass
@@ -956,6 +955,11 @@ typedef struct {
*
* @param[in] port port identifier
* @param[in] pad pad number within the port
+ * @param[in] timeout the number of ticks before the operation timeouts,
+ * the following special values are allowed:
+ * - @a TIME_IMMEDIATE immediate timeout.
+ * - @a TIME_INFINITE no timeout.
+ * .
* @returns The operation state.
* @retval MSG_OK if an edge has been detected.
* @retval MSG_TIMEOUT if a timeout occurred before an edge cound be detected.