32 #include <mraa/pwm.hpp> 
   33 #include <mraa/aio.hpp> 
   34 #include <mraa/gpio.hpp> 
   76 #if defined(SWIGJAVA) || defined(JAVACALLBACK) 
   79 typedef void (* callback_handler) (
clbk_data);
 
   89 #if defined(SWIGJAVA) || defined(JAVACALLBACK) 
   98     static void      *do_sample(
void *arg);
 
   99     pthread_t        sample_thread; 
 
  100     uint32_t         sample_counter; 
 
  101     uint32_t         last_beat_time; 
 
  116 #if defined(SWIGJAVA) || defined(JAVACALLBACK) 
  117     Callback *obj_callback; 
 
  119     callback_handler callback; 
 
  121     volatile uint16_t ctx_counter;
 
The context for the heartbeat pulse sensor. 
Definition: pulsensor.h:86
 
C++ API for the 3-Wire Pulse Sensor. 
Definition: pulsensor.h:71
 
int is_heart_beat
Definition: pulsensor.h:72