Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: PCAL9554B.h
- Revision:
- 0:16f7f665ba9d
--- /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 + +