fork of StateScript

Dependencies:   mbed SOMO_II

Fork of stateScript_v2 by Mattias Karlsson

Revision:
1:3a050d26d4f6
Parent:
0:8dbd6bd9167f
--- a/mbedInterface/mbedInterface.h	Tue May 19 15:45:42 2015 +0000
+++ b/mbedInterface/mbedInterface.h	Wed Jun 03 22:54:25 2015 +0000
@@ -65,8 +65,8 @@
     void interrupt_up_callback();
     void interrupt_down_callback();
 protected:
-    
-    
+
+
 
 private:
     DigitalIn *inpin;
@@ -87,7 +87,7 @@
 
 private:
     //Serial communication
-    
+
 
 };
 
@@ -111,16 +111,18 @@
     sDigitalOut* getDigitalOutPtr(int portNum);
     sDigitalIn* getDigitalInPtr(int portNum);
     sSound* createNewSoundAction();
+    void pauseInterrupts();
+    void resumeInterrupts();
     void incrementClock();
     void externalClockReset(); //needs to reset harware timer before calling immediateClockReset();
     void mainLoopToDo();
-    
+
 protected:
-    
+
     //Pins for clock syncing
     InterruptIn clockResetInt;
     InterruptIn clockExternalIncrement;
-    
+
 private:
     MBEDDigitalIn dIn[NUMPORTS];
     MBEDDigitalOut dOut[NUMPORTS];