Driver for a CD22M3494 cross point switcher

Library description

The CD22M3494 is a 16x8 crosspoint switch matrix, it can be used in any configuration i.e. 16 ins' 8 outs' or 16 outs' and 8 ins'. Control of the chip is pretty simple there are two parallel address buses a 4 byte address controls the X axis (16 IO pins) and a 3 byte address controls the Y axis (8 IO pins). A data bus says whether to open or close the switch and a 'strobe' bus actually performs the switch. This library provides a simple interface to control the CD22M3494 and provides a mechanism to associate source and destinations in pairs and switch the pairs via their names.

Revision:
8:20fd0ebff489
Parent:
7:6dc462dd6a0a
Child:
9:4b836ceacfba
--- a/CD22M3494.h	Thu Dec 19 14:35:12 2013 +0000
+++ b/CD22M3494.h	Fri Dec 20 08:40:47 2013 +0000
@@ -122,9 +122,9 @@
      * @param str the pin name for the strobe bus
      * @param rs the pin name for reset.
      */
-    CD22M3494(PinName x0, PinName x1, PinName x2, PinName x3, PinName y01, PinName y11, PinName y2, PinName d, PinName str, PinName rs) {
+    CD22M3494(PinName x0, PinName x1, PinName x2, PinName x3, PinName y0, PinName y1, PinName y2, PinName d, PinName str, PinName rs) {
         xbus = new BusOut(x0, x1, x2, x3);
-        ybus = new BusOut(y01, y11, y2);
+        ybus = new BusOut(y0, y1, y2);
         data = new DigitalOut(d);
         obe = new DigitalOut(str);
         reset = new DigitalOut(rs);