Synopsis
CTL_STATUS_t platform_hook_button_press(int index,
                                        PLATFORM_HOOK_t *hook);
Description

platform_hook_button_press hooks a press on the button with index index using hook. platform_hook_button_press will hook the correct edge to detect a button press according to the configuration for button index.

Return Value

platform_hook_button_press returns a standard status code.

See Also

PLATFORM_BUTTON_CONFIGURATION_t