eric's fork test

Dependencies:   mbed-rtos mbed

Fork of Pacemaker by 3k04 team

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers pulse.h Source File

pulse.h

00001 #pragma once
00002 #include "mbed.h"
00003 #include "hardware.h"
00004 #include "chamberData.h"
00005 
00006 class pulse{
00007 public:
00008     pulse();
00009     pulse(chamberData*, hardware*);
00010     ~pulse();
00011     void startPulse();
00012     void setWaitTime(double);
00013     void setChamber(chamberData*); //used in VOOR (for now, might change) - eric
00014     
00015 private:
00016     double myPaceWidth; //mSec, width of ventricular pace
00017     double myPaceAmp; //mV, amplitude of ventricular pace
00018     double myRP; //mSec, duration of refractory period
00019     double waitTime;
00020     float p_hysteresisInterval;
00021     float p_lowrateInterval;
00022     bool p_hysteresis;
00023     Serial* pc;
00024     PwmOut* aOut;
00025     chamberData* myChamber;
00026     hardware* myIOpins;    
00027 };