The PCAL6416A is a low-voltage 16-bit general purpose I/O (GPIO) expander with interrupt. This component library is compatible to basic operation as GPIO expanders: PCAL6416A, PCAL9555, PCA9555, PCA9535, PCA9539, PCAL9554, PCA9554 and PCA9538. On addition to this, this library is including mbed-SDK-style APIs. APIs that similar to DigitaiInOut, DigitalOut, DigitalIn, BusInOUt, BusOut and BusIn are available.

This is a copy of the PCA9555 library by Akifumi "Tedd" OKANO, which is compatible with PCAL6416A chip.

Committer:
andriym
Date:
Wed Feb 15 10:07:59 2017 +0000
Revision:
0:035111d3d631
A change of name for the PCAL955x library to make it searchable for people needing PCAL6416A library.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andriym 0:035111d3d631 1 #include "mbed.h"
andriym 0:035111d3d631 2 #include "GpioDigitalIn.h"
andriym 0:035111d3d631 3
andriym 0:035111d3d631 4 GpioDigitalIn::GpioDigitalIn( CompGpioExp &gpiop, GpioPinName pin_name )
andriym 0:035111d3d631 5 : GpioDigitalInOut( gpiop, pin_name )
andriym 0:035111d3d631 6 {
andriym 0:035111d3d631 7 this->input();
andriym 0:035111d3d631 8 }
andriym 0:035111d3d631 9
andriym 0:035111d3d631 10 GpioDigitalIn::~GpioDigitalIn()
andriym 0:035111d3d631 11 {
andriym 0:035111d3d631 12 }