diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-09-02 16:35:10 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-09-02 16:35:10 +0000 |
commit | 16e2a55bf42f532404cddd8ddbc7cbee38c39572 (patch) | |
tree | 31420acfcb28168ac876f45f0c51253090d8f547 /os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.h | |
parent | a489fc365df4d1b4f407438c2efcee428e073e49 (diff) | |
download | ChibiOS-16e2a55bf42f532404cddd8ddbc7cbee38c39572.tar.gz ChibiOS-16e2a55bf42f532404cddd8ddbc7cbee38c39572.tar.bz2 ChibiOS-16e2a55bf42f532404cddd8ddbc7cbee38c39572.zip |
Made PAL callback and wait APIs independent from each other.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10543 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.h')
-rw-r--r-- | os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.h b/os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.h index 7b423807e..c76fda1b0 100644 --- a/os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.h +++ b/os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.h @@ -563,19 +563,16 @@ typedef uint32_t iopadid_t; /**
* @brief Pad event enable.
- * @details This function programs an event callback in the specified mode.
* @note Programming an unknown or unsupported mode is silently ignored.
*
* @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] arg callback argument
*
* @notapi
*/
-#define pal_lld_enablepadevent(port, pad, mode, callback, arg) \
- _pal_lld_enablepadevent(port, pad, mode, callback, arg)
+#define pal_lld_enablepadevent(port, pad, mode) \
+ _pal_lld_enablepadevent(port, pad, mode)
/**
* @brief Pad event disable.
@@ -624,9 +621,7 @@ extern "C" { iomode_t mode);
void _pal_lld_enablepadevent(ioportid_t port,
iopadid_t pad,
- ioeventmode_t mode,
- palcallback_t callback,
- void *arg);
+ ioeventmode_t mode);
void _pal_lld_disablepadevent(ioportid_t port, iopadid_t pad);
#ifdef __cplusplus
}
|