ARMmbed / mbed-drivers

Drivers for common MCU peripherals in mbed OS.
Other
39 stars 42 forks source link

Support for GPIO pins on external chips. #124

Open marcuschangarm opened 8 years ago

marcuschangarm commented 8 years ago

I have this I/O expander chip that runs over I2C.

In "the other OS" I could make each pin look and behave like any other GPIO pin on the main MCU which meant I could pass it along to other modules like the SPI driver.

It would be useful to be able to do the same in mbed OS, for example by making the methods in Digital*/InterruptIn virtual or by adding support in gpio.c/InterruptIn.cpp.

ciarmcom commented 8 years ago

ARM Internal Ref: IOTSFW-1302