AskSin++
|
Classes | |
class | CheckAlarm |
Public Types | |
enum | States { invalid = 0, none = 1, released = 2, pressed = 3, debounce = 4, longpressed = 5, longreleased = 6 } |
Public Member Functions | |
void | setLongPressTime (uint16_t t) |
uint8_t | getPin () |
virtual void | trigger (AlarmClock &clock) |
virtual void | state (uint8_t s) |
uint8_t | state () const |
void | irq () |
void | check () |
void | init (uint8_t pin) |
![]() | |
Alarm (uint32_t t) | |
Alarm (uint32_t t, bool asynch) | |
void | set (uint32_t t) |
void | async (bool value) |
bool | async () const |
void | active (bool value) |
bool | active () const |
![]() | |
Link (Link *item) | |
Link * | select () const |
void | select (Link *item) |
void | append (Link &item) |
Link * | ending () const |
Link * | unlink () |
Link * | remove () |
void | detach () |
Link * | search (const Link *item) const |
void | remove (const Link &item) |
Protected Attributes | |
uint8_t | stat: 3 |
uint8_t | pinstate: 1 |
uint8_t | pin |
uint16_t | longpresstime |
CheckAlarm | ca |
![]() | |
bool | m_Async: 4 |
bool | m_Active: 4 |
Additional Inherited Members | |
![]() | |
uint32_t | tick: 24 |