Add a struct for gpio interrupt information 89/138389/3
authorjino.cho <jino.cho@samsung.com>
Tue, 11 Jul 2017 11:13:33 +0000 (20:13 +0900)
committerjino cho <jino.cho@samsung.com>
Thu, 13 Jul 2017 01:52:46 +0000 (01:52 +0000)
commit021a2a44080fba0ae9b14750b1b7a454d30e0c16
treea59bf958a90732ad27527b0727bfe84f7ace2e91
parent6f7c431546416acd5d03b0ef34b3390db10d77dc
Add a struct for gpio interrupt information

This patch adds gpio isr callback data deliverd via gpio_isr_cb().
A gpio isr callback data is delivered as a structure, which contains
the pin number, the pin value, and the timestamp(ms)  when the gpio
interrupt occurred.

Change-Id: Iee60dc4d33fe856d46fda83c487ed27d8d1fadae
Signed-off-by: jino.cho <jino.cho@samsung.com>
include/peripheral_io.h
src/peripheral_gdbus_gpio.c
src/peripheral_gpio.c
src/peripheral_io.xml
test/peripheral-io-test.c