![](/media/cache/group/i2c_logo.png.50x50_q85.png)
Low-voltage 16-bit I2C-bus GPIO with Agile I/O, interrupt and weak pull-up
Dependencies: mbed
PCAL9555A.h@0:e714fc19ba54, 2015-02-04 (annotated)
- Committer:
- wataaki
- Date:
- Wed Feb 04 06:11:10 2015 +0000
- Revision:
- 0:e714fc19ba54
Initial version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
wataaki | 0:e714fc19ba54 | 1 | #define PCAL9555A_ADDR 0x40 |
wataaki | 0:e714fc19ba54 | 2 | //#define PCAL9555A_ADDR 0x42 |
wataaki | 0:e714fc19ba54 | 3 | //#define PCAL9555A_ADDR 0x44 |
wataaki | 0:e714fc19ba54 | 4 | //#define PCAL9555A_ADDR 0x46 |
wataaki | 0:e714fc19ba54 | 5 | //#define PCAL9555A_ADDR 0x48 |
wataaki | 0:e714fc19ba54 | 6 | //#define PCAL9555A_ADDR 0x4a |
wataaki | 0:e714fc19ba54 | 7 | //#define PCAL9555A_ADDR 0x4c |
wataaki | 0:e714fc19ba54 | 8 | //#define PCAL9555A_ADDR 0x4e |
wataaki | 0:e714fc19ba54 | 9 | |
wataaki | 0:e714fc19ba54 | 10 | #define Input_port0 0x00 |
wataaki | 0:e714fc19ba54 | 11 | #define Input_port1 0x01 |
wataaki | 0:e714fc19ba54 | 12 | #define Output_port0 0x02 |
wataaki | 0:e714fc19ba54 | 13 | #define Output_port1 0x03 |
wataaki | 0:e714fc19ba54 | 14 | #define Polarity_Inversion0 0x04 |
wataaki | 0:e714fc19ba54 | 15 | #define Polarity_Inversion1 0x05 |
wataaki | 0:e714fc19ba54 | 16 | #define Configuration0 0x06 |
wataaki | 0:e714fc19ba54 | 17 | #define Configuration1 0x07 |
wataaki | 0:e714fc19ba54 | 18 | #define Output_Drive_Strength00 0x40 |
wataaki | 0:e714fc19ba54 | 19 | #define Output_Drive_Strength01 0x41 |
wataaki | 0:e714fc19ba54 | 20 | #define Output_Drive_Strength10 0x42 |
wataaki | 0:e714fc19ba54 | 21 | #define Output_Drive_Strength11 0x43 |
wataaki | 0:e714fc19ba54 | 22 | #define Input_latch0 0x44 |
wataaki | 0:e714fc19ba54 | 23 | #define Input_latch1 0x45 |
wataaki | 0:e714fc19ba54 | 24 | #define PUPD_enable0 0x46 |
wataaki | 0:e714fc19ba54 | 25 | #define PUPD_enable1 0x47 |
wataaki | 0:e714fc19ba54 | 26 | #define PUPD_selection0 0x48 |
wataaki | 0:e714fc19ba54 | 27 | #define PUPD_selection1 0x49 |
wataaki | 0:e714fc19ba54 | 28 | #define Interrupt_mask0 0x4A |
wataaki | 0:e714fc19ba54 | 29 | #define Interrupt_mask1 0x4B |
wataaki | 0:e714fc19ba54 | 30 | #define Interrupt_status0 0x4C |
wataaki | 0:e714fc19ba54 | 31 | #define Interrupt_status1 0x4D |
wataaki | 0:e714fc19ba54 | 32 | #define Output_port_configuration 0x4f |