Ersa Wearable Platform
Embedded smartwatch firmware and application framework
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions
buttons.h File Reference
#include <stdint.h>
Include dependency graph for buttons.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Buttons
 

Enumerations

enum class  Buttons::Pull : uint8_t { Buttons::None , Buttons::Up , Buttons::Down }
 
enum class  Buttons::Event : uint8_t {
  Buttons::None = 0 , Buttons::Next , Buttons::Previous , Buttons::Home ,
  Buttons::Action , Buttons::ActionAlt , Buttons::ActionLong
}
 

Functions

void Buttons::begin (int topPin, int bottomPin, Pull topPull, Pull bottomPull, bool topActiveLow, bool bottomActiveLow)
 
void Buttons::tick ()
 
Event Buttons::takeEvent ()
 
bool Buttons::hasPendingEvents ()
 
const char * Buttons::name (Event event)