Libraries and Example of mbed parallel bus using I2C port expanders

Dependencies:   HDSP253X mbed PCF8574_Bus

Revision:
6:aaefa04f06be
Parent:
4:745fbbd5e4e5
--- a/MBED_ControlBus.h	Fri Aug 26 20:35:11 2011 +0000
+++ b/MBED_ControlBus.h	Sun Jan 25 17:30:47 2015 +0000
@@ -11,9 +11,6 @@
 //Enums for Control Bus
 #include "BusEnums.h"
 
-//Debounce and Edge detecting stuff
-#include "PinDetect.h"
-
 /** Create an MBED_ControlBus object connected to the specified Pins
  *
  * @param PinName WR the Write pin 
@@ -21,17 +18,16 @@
  * @param PinName DTR the databuffer Transmit/Receive direction pin 
  * @param PinName CDBUF the databuffer enable pin
  * @param PinName CDINT the Keyboard interrupt pin 
- * @param PinName FIRE the Manual Fire Unit pin    
 */
 class MBED_ControlBus {
 public:
-    MBED_ControlBus(PinName WR, PinName RD, PinName DTR, PinName CDBUF, PinName CDINT, PinName FIRE);
+    MBED_ControlBus(PinName WR, PinName RD, PinName DTR, PinName CDBUF, PinName CDINT);
     void WR (Bit_Level wr_level);
     void RD (Bit_Level rd_level);
     void busdir (Bus_Dir buf_dir);    
     void busctrl (Bus_Ena buf_ena, Bus_Dir buf_dir);   
     Bit_Level CDINT ();
-    Bit_Level FIRE ();    
+
 protected:
     DigitalOut _WR;    // Write pin 
     DigitalOut _RD;    // Read pin 
@@ -39,27 +35,15 @@
     DigitalOut _CDBUF; // Databuffer enable pin
     
 //Plain digital input pin
-//    DigitalIn  _CDINT; // Keyboard interrupt pin
-//    DigitalIn  _FIRE;  // Fire interrupt pin
-    
+    DigitalIn  _CDINT; // Keyboard interrupt pin
+  
 //Plain digital interrupt pin
 //    InterruptIn  _CDINT; // Keyboard interrupt pin
-//    InterruptIn  _FIRE;  // Fire interrupt pin
 
 //Debounced and Edge detected input pin (Andy Kirkmans's Lib)
-    PinDetect  _CDINT; // Keyboard interrupt pin    
-    PinDetect  _FIRE;  // Fire interrupt pin
-        
+//    PinDetect  _CDINT; // Keyboard interrupt pin    
+       
     bool _CDINT_detected;
-    bool _FIRE_detected;
-
-    void _CDINT_activated();
-    void _CDINT_deactivated();
-    void _CDINT_init();        
-
-    void _FIRE_activated();
-    void _FIRE_deactivated();
-    void _FIRE_init();        
 
     void _init(); 
 };