#include <wiegand.hpp>
Public Member Functions | |
void | cancel (void) |
Wiegand (int gpio_0, int gpio_1, WiegandCB_t callback, int timeout=5) | |
Private Member Functions | |
void | _cb (int gpio, int level, uint32_t tick) |
Static Private Member Functions | |
static void | _cbEx (int gpio, int level, uint32_t tick, void *user) |
Private Attributes | |
int | bits |
uint32_t | code_timeout |
int | in_code |
WiegandCB_t | mycallback |
int | mygpio_0 |
int | mygpio_1 |
int | mytimeout |
uint32_t | num |
Definition at line 8 of file wiegand.hpp.
Wiegand::Wiegand | ( | int | gpio_0, |
int | gpio_1, | ||
WiegandCB_t | callback, | ||
int | timeout = 5 |
||
) |
Definition at line 5 of file wiegand.cpp.
|
private |
Definition at line 34 of file wiegand.cpp.
|
staticprivate |
Definition at line 95 of file wiegand.cpp.
void Wiegand::cancel | ( | void | ) |
Definition at line 107 of file wiegand.cpp.
|
private |
Definition at line 10 of file wiegand.hpp.
|
private |
Definition at line 16 of file wiegand.hpp.
|
private |
Definition at line 10 of file wiegand.hpp.
|
private |
Definition at line 12 of file wiegand.hpp.
|
private |
Definition at line 10 of file wiegand.hpp.
|
private |
Definition at line 10 of file wiegand.hpp.
|
private |
Definition at line 10 of file wiegand.hpp.
|
private |
Definition at line 14 of file wiegand.hpp.