Added support for banked registers

Dependents:   Component_Test_Interface FalconWing MX_Spoile_Test Simple_Power_Distribution ... more

Files at this revision

API Documentation at this revision

Comitter:
wim
Date:
Mon Feb 13 22:14:51 2012 +0000
Parent:
4:868db61f5f4e
Commit message:

Changed in this revision

MCP23017.h Show annotated file Show diff for this revision Revisions of this file
diff -r 868db61f5f4e -r 5696b886a895 MCP23017.h
--- a/MCP23017.h	Mon Feb 13 21:54:29 2012 +0000
+++ b/MCP23017.h	Mon Feb 13 22:14:51 2012 +0000
@@ -43,9 +43,9 @@
 #define GPINTENA_BNK 0x02
 #define DEFVALA_BNK  0x03
 #define INTCONA_BNK  0x04
-#define GPPUA_BNK    0x05
-#define INTFA_BNK    0x06
-#define IOCONA_BNK   0x07
+#define IOCONA_BNK   0x05
+#define GPPUA_BNK    0x06
+#define INTFA_BNK    0x07
 #define INTCAPA_BNK  0x08
 #define GPIOA_BNK    0x09
 #define OLATA_BNK    0x0A