CQ_I2C_book / Mbed 2 deprecated PCAL9554B

Dependencies:   mbed

Revision:
0:16f7f665ba9d
diff -r 000000000000 -r 16f7f665ba9d PCAL9554B.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PCAL9554B.h	Wed Feb 04 06:10:27 2015 +0000
@@ -0,0 +1,24 @@
+// for PCAL9554B
+//#define PCAL9554B_ADDR 0x40
+//#define PCAL9554B_ADDR 0x42
+//#define PCAL9554B_ADDR 0x44
+//#define PCAL9554B_ADDR 0x46
+#define PCAL9554B_ADDR 0x48
+//#define PCAL9554B_ADDR 0x4a
+//#define PCAL9554B_ADDR 0x4c
+//#define PCAL9554B_ADDR 0x4e
+
+#define Input_port                0x00
+#define Output_port               0x01
+#define Polarity_Inversion        0x02
+#define Configuration             0x03
+#define Output_Drive_Strength0    0x40
+#define Output_Drive_Strength1    0x41
+#define Input_latch               0x42
+#define PUPD_enable               0x43
+#define PUPD_selection            0x44
+#define Interrupt_mask            0x45
+#define Interrupt_status          0x46
+#define Output_port_configuration 0x4f
+
+