Dear,
I'm now face problem on button interrupt.
I use 3 buttons for my system.
button 2, 3 is used for boot diagnostics. assigned as below.
bsp_event_to_button_action_assign(0,
BSP_BUTTON_ACTION_PUSH,
BSP_EVENT_KEY_0);
bsp_event_to_button_action_assign(BTN_ID_U,
BSP_BUTTON_ACTION_PUSH,
BSP_EVENT_KEY_1);
bsp_event_to_button_action_assign(BTN_ID_C,
BSP_BUTTON_ACTION_PUSH,
BSP_EVENT_KEY_2);
bsp_event_to_button_action_assign(BTN_ID_U,
BSP_BUTTON_ACTION_RELEASE,
BSP_EVENT_KEY_1);
bsp_event_to_button_action_assign(BTN_ID_C,
BSP_BUTTON_ACTION_RELEASE,
BSP_EVENT_KEY_2);
problem caused when boot up. I have to detect key_1 pressed status at boot up. It works fine.
But, key_1 release event I can't receive.
Please advised on this problem. I think it has some problem on interrupt handler when boot with button pressed status.