Testbench for FastIO

Dependencies:   FastIO mbed

Fork of FastIO by Igor Skochinsky

Files at this revision

API Documentation at this revision

Comitter:
igorsk
Date:
Tue May 25 08:35:39 2010 +0000
Parent:
3:8d217a0bb245
Child:
5:8a7a7df0a9c7
Commit message:

Changed in this revision

FastIO.h Show annotated file Show diff for this revision Revisions of this file
--- a/FastIO.h	Sat May 22 23:31:39 2010 +0000
+++ b/FastIO.h	Tue May 25 08:35:39 2010 +0000
@@ -96,7 +96,7 @@
     void write(int value)
     {
         PORTDEFPORT(port)->FIOSET = value & mask;
-        PORTDEFPORT(port)->FIOCLR = value & ~mask;
+        PORTDEFPORT(port)->FIOCLR = ~value & mask;
     } 
     int read()
     {