Private functions of the application layer of the push button task. More...
Functions | |
volatile uint16_t | appPushButton_EventButtonDown (void) |
Push button event raised at the "pressed" transition. More... | |
volatile uint16_t | appPushButton_EventButtonUp (void) |
Push button event raised at the "not pressed" transition. More... | |
volatile uint16_t | appPushButton_EventButtonPressed (void) |
Push button event raised at the "is pressed" detection. More... | |
volatile uint16_t | appPushButton_EventButtonLongPress (void) |
Push button event raised at the "is long pressed" detection. More... | |
Private functions of the application layer of the push button task.
The private functions of the push button application layer are used to configure the generic push button device driver.
volatile uint16_t appPushButton_EventButtonDown | ( | void | ) |
Push button event raised at the "pressed" transition.
void |
This function is called when the push button detects a transition event from 'not being pressed' to 'being pressed'. Enabling this interrupt requires to declare the function pointer to this function in the push button data object event_btn_down data field. If this data field remains uninitialized or is set to NULL, this even is disabled.
Definition at line 135 of file app_push_button.c.
volatile uint16_t appPushButton_EventButtonLongPress | ( | void | ) |
Push button event raised at the "is long pressed" detection.
void |
This function is called after the push button event PRESSED has been detected and the Long Press Delay has expired without detecting a Button Up event. Enabling this interrupt requires to declare the function pointer to this function in the push button data object event_long_press data field. If this data field remains uninitialized or is set to NULL, this even is disabled.
Definition at line 201 of file app_push_button.c.
volatile uint16_t appPushButton_EventButtonPressed | ( | void | ) |
Push button event raised at the "is pressed" detection.
void |
This function is called after the push button detects a transition event from 'not being pressed' to 'being pressed'. Enabling this interrupt requires to declare the function pointer to this function in the push button data object event_btn_pressed data field. If this data field remains uninitialized or is set to NULL, this even is disabled.
Definition at line 179 of file app_push_button.c.
volatile uint16_t appPushButton_EventButtonUp | ( | void | ) |
Push button event raised at the "not pressed" transition.
void |
This function is called when the push button detects a transition event from 'being pressed' to 'not being pressed'. Enabling this interrupt requires to declare the function pointer to this function in the push button data object event_btn_up data field. If this data field remains uninitialized or is set to NULL, this even is disabled.
Definition at line 157 of file app_push_button.c.