/***************************************************************************
 *
 *  Oxford Semiconductor Proprietary and Confidential Information
 *
 *  Copyright:      Oxford Semiconductor Ltd, 2006
 *
 *  Description:    Definition of different IO control codes.
 *
 ***************************************************************************/

#ifndef INC_GpioIoctls_h
#define INC_GpioIoctls_h


#include "GpioCoreIoControls.h"
#include "OsIoctl.h"


/* Use 'o' as a magic number */
#define GPIO_IOC_MAGIC 'o'


#define IOCTL_GET_DESCRIPTION           _IOR(GPIO_IOC_MAGIC, GET_DESCRIPTION, int)

#define IOCTL_SET_CONFIGURATION         _IOW(GPIO_IOC_MAGIC, SET_CONFIGURATION, int)

#define IOCTL_GET_CONFIGURATION         _IOR(GPIO_IOC_MAGIC, GET_CONFIGURATION, int)

#define IOCTL_SET_OUTPUT_VALUES         _IOW(GPIO_IOC_MAGIC, SET_OUTPUT_VALUES, int)

#define IOCTL_GET_INPUT_VALUES          _IOR(GPIO_IOC_MAGIC, GET_INPUT_VALUES, int)



#endif // INC_GpioIoctls_h
