Sygaldry
Loading...
Searching...
No Matches
sygaldry::sygsr::Button< pin_number, active_level > Struct Template Reference

Raspberry Pi Pico SDK Button Component. More...

Inheritance diagram for sygaldry::sygsr::Button< pin_number, active_level >:
sygaldry::sygsp::ButtonGestureModel sygaldry::name_<"Button"> sygaldry::description_<"A single button attached to a GPIO"> sygaldry::author_<"Travis J. West"> sygaldry::copyright_<"Copyright 2023 Sygaldry Contributors"> sygaldry::license_<"SPDX-License-Identifier: MIT"> sygaldry::version_<"0.0.0">

Public Member Functions

void init ()
 
void operator() ()
 
- Public Member Functions inherited from sygaldry::sygsp::ButtonGestureModel
void operator() ()
 

Additional Inherited Members

- Static Public Member Functions inherited from sygaldry::name_<"Button">
static _consteval auto name ()
 
- Static Public Member Functions inherited from sygaldry::description_<"A single button attached to a GPIO">
static _consteval auto description ()
 
- Static Public Member Functions inherited from sygaldry::author_<"Travis J. West">
static _consteval auto author ()
 
- Static Public Member Functions inherited from sygaldry::copyright_<"Copyright 2023 Sygaldry Contributors">
static _consteval auto copyright ()
 
- Static Public Member Functions inherited from sygaldry::license_<"SPDX-License-Identifier: MIT">
static _consteval auto license ()
 
- Static Public Member Functions inherited from sygaldry::version_<"0.0.0">
static _consteval auto version ()
 
- Public Attributes inherited from sygaldry::sygsp::ButtonGestureModel
struct sygaldry::sygsp::ButtonGestureModel::inputs_t inputs
 
struct sygaldry::sygsp::ButtonGestureModel::outputs_t outputs
 

Detailed Description

template<unsigned int pin_number, sygsp::ButtonActive active_level = sygsp::ButtonActive::Low>
struct sygaldry::sygsr::Button< pin_number, active_level >

Raspberry Pi Pico SDK Button Component.

Template Parameters
pin_numberThe GPIO pin number on which to read the button
active_levelWhether the button is active high or low.

The documentation for this struct was generated from the following file: