MCPcopy Create free account
hub / github.com/0x1abin/MultiButton / button_attach

Function button_attach

multi_button.c:48–53  ·  view source on GitHub ↗

* @brief Attach the button event callback function * @param handle: the button handle struct * @param event: trigger event type * @param cb: callback function * @param user_data: user context pointer passed to callback (stored per-button) * @retval None */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

setup_buttonFunction · 0.85
test_null_handleFunction · 0.85
test_stop_in_callbackFunction · 0.85
test_user_dataFunction · 0.85
init_buttonFunction · 0.85
buttons_initFunction · 0.85
dynamic_config_demoFunction · 0.85
buttons_initFunction · 0.85

Calls

no outgoing calls

Tested by 4

setup_buttonFunction · 0.68
test_null_handleFunction · 0.68
test_stop_in_callbackFunction · 0.68
test_user_dataFunction · 0.68