Pacemaker code Implementation for SFWRENG 3K04

Dependencies:   FXOS8700Q Queue mbed-rtos mbed

Fork of Pacemaker by Eric dollar

Revision:
0:b2b3955cd77b
Child:
1:fbba2687ddfe
diff -r 000000000000 -r b2b3955cd77b genData.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/genData.cpp	Sun Oct 30 16:04:52 2016 +0000
@@ -0,0 +1,35 @@
+#pragma once
+#include "mbed.h"
+#include "genData.h"
+
+genData::genData(){
+    p_hysteresis = false;
+    p_hysteresisInterval = 0;
+    p_lowerRateLimit = 0;
+    p_upperRateLimit = 0;
+    p_AVdelay = 0;
+    p_AVdelayOffset = 0;
+    p_rateSmoothing = 0;
+    p_pacingMode = VVI;
+    p_pacingState = PERMANENT;
+}
+
+void genData::chngMode(Mode mode){
+    p_pacingMode = mode;
+}
+
+genData::Mode genData::getMode(){
+    return p_pacingMode;
+}
+
+void genData::chngState(State state){
+    p_pacingState = state;
+}
+
+genData::State genData::getState(){
+    return p_pacingState;
+}
+
+
+
+genData::~genData(){}
\ No newline at end of file