Low-voltage 8-bit I2C-bus and SMBus low power I/O port with interrupt, weak pull-up and Agile I/O
Dependencies: mbed
PCAL9554B.h
- Committer:
- wataaki
- Date:
- 2015-02-04
- Revision:
- 0:16f7f665ba9d
File content as of revision 0:16f7f665ba9d:
// 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