Revision 542939ea periphery-lld/periphAL.h
periphery-lld/periphAL.h | ||
---|---|---|
210 | 210 |
#define APAL2CH_EDGE(edge) \ |
211 | 211 |
((edge == APAL_GPIO_EDGE_RISING) ? PAL_EVENT_MODE_RISING_EDGE : \ |
212 | 212 |
(edge == APAL_GPIO_EDGE_FALLING) ? PAL_EVENT_MODE_FALLING_EDGE : \ |
213 |
(edge == APAL_GPIO_EDGE_BOTH) ? PAL_EVENT_MODE_BOTH_EDGES : 0) |
|
213 |
(edge == APAL_GPIO_EDGE_BOTH) ? PAL_EVENT_MODE_BOTH_EDGES : \ |
|
214 |
PAL_EVENT_MODE_DISABLED) |
|
214 | 215 |
|
215 | 216 |
#endif /* (HAL_USE_PAL == TRUE) */ |
216 | 217 |
|
Also available in: Unified diff