Pacemaker code Implementation for SFWRENG 3K04

Dependencies:   mbed Queue mbed-rtos FXOS8700Q

Fork of Pacemaker by Eric dollar

SWFRENG 3K04 Project to design, develop, and document a functional pacemaker.

The project uses the Freescale K64F Microcontroller and C++ mbed library.

Revision:
2:fbba2687ddfe
Parent:
0:b2b3955cd77b
Child:
20:bfd23a6845bb
diff -r b2b3955cd77b -r fbba2687ddfe genData.cpp
--- a/genData.cpp	Sun Oct 30 16:04:52 2016 +0000
+++ b/genData.cpp	Mon Nov 14 01:27:31 2016 +0000
@@ -14,6 +14,62 @@
     p_pacingState = PERMANENT;
 }
 
+void genData::chngHyst(bool chng){
+    p_hysteresis = chng;   
+}
+
+bool genData::getHyst(){
+    return p_hysteresis;   
+}
+
+void genData::chngHystInterval(double val){
+    p_hysteresisInterval = val;   
+}
+
+double genData::getHystInterval(){
+    return p_hysteresisInterval;
+}
+
+void genData::chngLRL(double val){
+    p_lowerRateLimit = val;   
+}
+
+double genData::getLRL(){
+    return p_lowerRateLimit;
+}
+
+void genData::chngURL(double val){
+    p_upperRateLimit = val;
+}
+
+double genData::getURL(){
+    return p_upperRateLimit;
+}
+
+void genData::chngAVdelay(double val){
+    p_AVdelay = val;
+}
+
+double genData::getAVdelay(){
+    return p_AVdelay;   
+}
+
+void genData::chngAVdelayOffset(double val){
+    p_AVdelayOffset = val;   
+}
+
+double genData::getAVdelayOffset(){
+    return p_AVdelayOffset;
+}
+
+void genData::chngRSmooth(double val){
+    p_rateSmoothing = val;   
+}
+
+double genData::getRSmooth(){
+    return p_rateSmoothing;   
+}
+
 void genData::chngMode(Mode mode){
     p_pacingMode = mode;
 }