File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -100,15 +100,17 @@ int gpio_setdir(int handle, int dir);
100
100
* GPIO driver provide slow trigger option without debounce support to check and confirm
101
101
* active trigger. On active trigger, callback function is called with state of gpio.
102
102
* Triggers are only possible on gpio configured as inputs.
103
+ *
103
104
* If input level changes after first transition is detected and debounce time,
104
105
* internal debounce timer is reset for resampling of IO state.
106
+ *
105
107
* @param handle Handle to gpio object returned by @ref gpio_request
106
108
* @param fn Callback function of type @ref gpio_callback_f
107
109
* @param trigger_time Debounce time or trigger delay
108
110
* @param flags Type of trigger requested @ref gpio_trigger_e
109
111
* @return 0 on success, negative error code on failure
110
112
*/
111
- int gpio_settrigger (int handle , gpio_callback_f fn , int trigger_time , int flags );
113
+ int gpio_trigger_enable (int handle , gpio_callback_f fn , int trigger_time , int flags );
112
114
113
115
/**
114
116
* Disable GPIO trigger
You can’t perform that action at this time.
0 commit comments