Types
Button data types. More...
Data Structures |
|
struct | gos_button_config_t |
Button configuration.
More...
|
|
Enumerations |
|
enum |
gos_button_active_level_t
{
GOS_BUTTON_ACTIVE_HIGH = GOS_GPIO_INPUT_PULL_DOWN, GOS_BUTTON_ACTIVE_LOW = GOS_GPIO_INPUT_PULL_UP } |
Active level of the button.
More...
|
|
enum |
gos_button_execution_context_t
{
GOS_BUTTON_CONTEXT_DEFAULT , GOS_BUTTON_CONTEXT_EVENT_THREAD , GOS_BUTTON_CONTEXT_IRQ , GOS_BUTTON_CONTEXT_NETWORK_WORKER } |
Context in which the button event should execute.
More...
|
|
enum |
gos_button_flag_t
{
GOS_BUTTON_FLAG_NONE = 0, GOS_BUTTON_FLAG_SKIP_REGISTRATION = (1 << 0) } |
Button configuration flags.
More...
|
|
Detailed Description
Button data types.
Enumeration Type Documentation
◆ gos_button_active_level_t
◆ gos_button_execution_context_t
Context in which the button event should execute.
◆ gos_button_flag_t
enum gos_button_flag_t |
Button configuration flags.