Public functions of the application layer of the power control task. More...
Functions | |
volatile uint16_t | appPushButton_Initialize (void) |
Initializes the USER push button on DPSK3. More... | |
volatile uint16_t | appPushButton_Execute (void) |
Executes the USER push button monitor. More... | |
volatile uint16_t | appPushButton_Dispose (void) |
Unloads the push button data object and frees its resources. More... | |
Public functions of the application layer of the power control task.
The push button application layer is the proprietary user code used to configure and drive the on-board push button.
volatile uint16_t appPushButton_Dispose | ( | void | ) |
Unloads the push button data object and frees its resources.
void |
This function is used to unload all push button function driver data objects and free their resources.
All user settings will get reset. The PUSH_BUTTON_OBJECT_t data object holding all user-defined settings of the push-button object need to be re-initialized before this function driver can be used again. *
Definition at line 106 of file app_push_button.c.
volatile uint16_t appPushButton_Execute | ( | void | ) |
Executes the USER push button monitor.
void |
DPSK3 has one on-board push button labeled 'USER' which is used in this application example to switch between different LCD screens allowing the user to view runtime data.
This function monitors the defined general purpose I/O to detect the status of the on-board push button 'USER', scanning for Long Press events, which will trigger the switch-over between different LCD screens.
Definition at line 81 of file app_push_button.c.
volatile uint16_t appPushButton_Initialize | ( | void | ) |
Initializes the USER push button on DPSK3.
void |
DPSK3 has one on-board push button labeled 'USER' which is used in this application example to switch between different LCD screens allowing the user to view runtime data.
This function initializes the push button function driver used by the push button monitoring function appPushButton_Execute() by setting user defined delays to debounce the switching edge and set up filters for short and long press events.
Definition at line 45 of file app_push_button.c.