eric's fork test

Dependencies:   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 setChamber(chamberData*); //used in VOOR (for now, might change) - eric
00013     
00014 private:
00015     double myPaceWidth; //mSec, width of ventricular pace
00016     double myPaceAmp; //mV, amplitude of ventricular pace
00017     double myRP; //mSec, duration of refractory period
00018     float p_hysteresisInterval;
00019     float p_lowrateInterval;
00020     bool p_hysteresis;
00021     Serial* pc;
00022     PwmOut* aOut;
00023     chamberData* myChamber;
00024     hardware* myIOpins;
00025         
00026 };