In rsl 10, Blinky sample project is that using DIO0 interrupt ?
RSL10 blinky project uses DIO0 interrupt for BUTTON which is DIO interrupt source).
Sys_DIO_IntConfig(0,
DIO_EVENT_TRANSITION | DIO_SRC(BUTTON_DIO) |
DIO_DEBOUNCE_ENABLE,
DIO_DEBOUNCE_SLOWCLK_DIV1024, 49);
where:
0 – DIO0 interrupt.
See our CMSIS pack configuration wizard for easier configuration.
Or in app.h code:
/* DIO number that is connected to push button of EVB */
#define BUTTON_DIO 5
Thank you for using our community forum!
1 Like