#include <ir_hasher.hpp>
Public Member Functions | |
Hasher (int gpio, HasherCB_t callback, int timeout=5) | |
Private Member Functions | |
void | _callback (int gpio, int level, uint32_t tick) |
void | _hash (int old_val, int new_val) |
Static Private Member Functions | |
static void | _callbackExt (int gpio, int level, uint32_t tick, void *user) |
Private Attributes | |
int | edges |
uint32_t | hash_val |
int | in_code |
HasherCB_t | mycallback |
int | mygpio |
int | mytimeout |
uint32_t | t1 |
uint32_t | t2 |
uint32_t | t3 |
uint32_t | t4 |
Definition at line 8 of file ir_hasher.hpp.
Hasher::Hasher | ( | int | gpio, |
HasherCB_t | callback, | ||
int | timeout = 5 |
||
) |
Definition at line 75 of file ir_hasher.cpp.
|
private |
Definition at line 17 of file ir_hasher.cpp.
|
staticprivate |
Definition at line 64 of file ir_hasher.cpp.
|
private |
Definition at line 5 of file ir_hasher.cpp.
|
private |
Definition at line 29 of file ir_hasher.hpp.
|
private |
Definition at line 28 of file ir_hasher.hpp.
|
private |
Definition at line 27 of file ir_hasher.hpp.
|
private |
Definition at line 26 of file ir_hasher.hpp.
|
private |
Definition at line 25 of file ir_hasher.hpp.
|
private |
Definition at line 25 of file ir_hasher.hpp.
|
private |
Definition at line 30 of file ir_hasher.hpp.
|
private |
Definition at line 30 of file ir_hasher.hpp.
|
private |
Definition at line 30 of file ir_hasher.hpp.
|
private |
Definition at line 30 of file ir_hasher.hpp.