#include <push_button/drivers/drv_push_button.h>
 Collaboration diagram for PUSH_BUTTON_OBJECT_s:Data Fields | |
| volatile struct PUSH_BUTTON_STATUS_s | status | 
| Status word of the switch object.  More... | |
| volatile uint16_t | debounce_delay | 
| Number of call cycles until a switch event is triggered.  More... | |
| volatile uint16_t | long_press_delay | 
| Number of call cycles until a "long press" switch event is triggered.  More... | |
| volatile uint16_t(* | event_btn_down )(void) | 
| Function pointer to user function triggering a PRESSED event.  More... | |
| volatile uint16_t(* | event_long_press )(void) | 
| Function pointer to user function triggering a LONG_PRESS event.  More... | |
| volatile uint16_t(* | event_pressed )(void) | 
| Function pointer to user function triggering a LONG_PRESS event.  More... | |
| volatile uint16_t(* | event_btn_up )(void) | 
| Function pointer to user function triggering a RELEASE event.  More... | |
Definition at line 108 of file drv_push_button.h.
| volatile uint16_t debounce_delay | 
Number of call cycles until a switch event is triggered.
Definition at line 111 of file drv_push_button.h.
| volatile uint16_t(* event_btn_down) (void) | 
Function pointer to user function triggering a PRESSED event.
Definition at line 113 of file drv_push_button.h.
| volatile uint16_t(* event_btn_up) (void) | 
Function pointer to user function triggering a RELEASE event.
Definition at line 116 of file drv_push_button.h.
| volatile uint16_t(* event_long_press) (void) | 
Function pointer to user function triggering a LONG_PRESS event.
Definition at line 114 of file drv_push_button.h.
| volatile uint16_t(* event_pressed) (void) | 
Function pointer to user function triggering a LONG_PRESS event.
Definition at line 115 of file drv_push_button.h.
| volatile uint16_t long_press_delay | 
Number of call cycles until a "long press" switch event is triggered.
Definition at line 112 of file drv_push_button.h.
| volatile struct PUSH_BUTTON_STATUS_s status | 
Status word of the switch object.
Definition at line 110 of file drv_push_button.h.