gpio: doc: Be explicit about how EDGE and DOUBLE_EDGE work together

Be explicit about how EDGE and DOUBLE_EDGE interact, see PR #6807 for
details.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
This commit is contained in:
Sebastian Bøe 2018-05-22 11:34:36 +02:00 committed by Anas Nashif
commit 1f22a418ca

View file

@ -52,7 +52,9 @@
/** Do Edge trigger. */ /** Do Edge trigger. */
#define GPIO_INT_EDGE (1 << 5) #define GPIO_INT_EDGE (1 << 5)
/** Interrupt triggers on both rising and falling edge. */ /** Interrupt triggers on both rising and falling edge.
* Must be combined with GPIO_INT_EDGE.
*/
#define GPIO_INT_DOUBLE_EDGE (1 << 6) #define GPIO_INT_DOUBLE_EDGE (1 << 6)
/** @} */ /** @} */