mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-23 04:48:22 +00:00
bc92b67c41
SVN-Revision: 12790
12 lines
337 B
C
12 lines
337 B
C
#ifndef _GPIODEV_H__
|
|
#define _GPIODEV_H__
|
|
|
|
#define IOC_GPIODEV_MAGIC 'B'
|
|
#define GPIO_GET _IO(IOC_GPIODEV_MAGIC, 10)
|
|
#define GPIO_SET _IO(IOC_GPIODEV_MAGIC, 11)
|
|
#define GPIO_CLEAR _IO(IOC_GPIODEV_MAGIC, 12)
|
|
#define GPIO_DIR_IN _IO(IOC_GPIODEV_MAGIC, 13)
|
|
#define GPIO_DIR_OUT _IO(IOC_GPIODEV_MAGIC, 14)
|
|
|
|
#endif
|