Classes | Functions
ir_hasher.c File Reference
#include <stdlib.h>
#include <pigpio.h>
#include "ir_hasher.h"
Include dependency graph for ir_hasher.c:

Go to the source code of this file.

Classes

struct  _Pi_Hasher_s

Functions

static void _cb (int gpio, int level, uint32_t tick, void *user)
static uint32_t _hash (uint32_t hv, int old_val, int new_val)
Pi_Hasher_tPi_Hasher (int gpio, Pi_Hasher_CB_t callback, int timeout)
void Pi_Hasher_cancel (Pi_Hasher_t *hasher)

Function Documentation

static void _cb ( int  gpio,
int  level,
uint32_t  tick,
void *  user 
) [static]

Definition at line 50 of file ir_hasher.c.

static uint32_t _hash ( uint32_t  hv,
int  old_val,
int  new_val 
) [static]

Definition at line 36 of file ir_hasher.c.

Pi_Hasher_t* Pi_Hasher ( int  gpio,
Pi_Hasher_CB_t  callback,
int  timeout 
)

Definition at line 107 of file ir_hasher.c.

void Pi_Hasher_cancel ( Pi_Hasher_t hasher)

Definition at line 125 of file ir_hasher.c.



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