Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
Wiegand Class Reference

#include <wiegand.hpp>

List of all members.

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

Detailed Description

Definition at line 8 of file wiegand.hpp.


Constructor & Destructor Documentation

Wiegand::Wiegand ( int  gpio_0,
int  gpio_1,
WiegandCB_t  callback,
int  timeout = 5 
)

Definition at line 5 of file wiegand.cpp.


Member Function Documentation

void Wiegand::_cb ( int  gpio,
int  level,
uint32_t  tick 
) [private]

Definition at line 34 of file wiegand.cpp.

void Wiegand::_cbEx ( int  gpio,
int  level,
uint32_t  tick,
void *  user 
) [static, private]

Definition at line 95 of file wiegand.cpp.

void Wiegand::cancel ( void  )

Definition at line 107 of file wiegand.cpp.


Member Data Documentation

int Wiegand::bits [private]

Definition at line 10 of file wiegand.hpp.

uint32_t Wiegand::code_timeout [private]

Definition at line 16 of file wiegand.hpp.

int Wiegand::in_code [private]

Definition at line 10 of file wiegand.hpp.

Definition at line 12 of file wiegand.hpp.

int Wiegand::mygpio_0 [private]

Definition at line 10 of file wiegand.hpp.

int Wiegand::mygpio_1 [private]

Definition at line 10 of file wiegand.hpp.

int Wiegand::mytimeout [private]

Definition at line 10 of file wiegand.hpp.

uint32_t Wiegand::num [private]

Definition at line 14 of file wiegand.hpp.


The documentation for this class was generated from the following files:


cob_hand_bridge
Author(s): Mathias L├╝dtke
autogenerated on Thu Jun 6 2019 20:43:57