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:
parent
8c53f2422c
commit
1f22a418ca
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue