blob: 650cb88a53f14f05a7c204e157645434c85d2d65 [file] [log] [blame]
Colin Cross1c7708e2010-06-01 17:45:50 -07001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 ****************************************************************************
11 ****************************************************************************/
12#ifndef __BMP085_H__
13#define __BMP085_H__
Ben Cheng4b29af02012-03-07 16:14:53 -080014
Colin Cross1c7708e2010-06-01 17:45:50 -070015#include <linux/ioctl.h>
Ben Cheng4b29af02012-03-07 16:14:53 -080016
Colin Cross1c7708e2010-06-01 17:45:50 -070017#define BMP085_NAME "bmp085"
Ben Cheng4b29af02012-03-07 16:14:53 -080018
Colin Cross1c7708e2010-06-01 17:45:50 -070019#define BMP085_IOCTL_BASE 78
Ben Cheng4b29af02012-03-07 16:14:53 -080020
Colin Cross1c7708e2010-06-01 17:45:50 -070021#define BMP085_IOCTL_SET_DELAY _IOW(BMP085_IOCTL_BASE, 0, int)
22#define BMP085_IOCTL_GET_DELAY _IOR(BMP085_IOCTL_BASE, 1, int)
23#define BMP085_IOCTL_SET_ENABLE _IOW(BMP085_IOCTL_BASE, 2, int)
24#define BMP085_IOCTL_GET_ENABLE _IOR(BMP085_IOCTL_BASE, 3, int)
25#define BMP085_IOCTL_ACCURACY _IOW(BMP085_IOCTL_BASE, 4, int)
Ben Cheng4b29af02012-03-07 16:14:53 -080026
Colin Cross1c7708e2010-06-01 17:45:50 -070027#endif
Ben Cheng4b29af02012-03-07 16:14:53 -080028
29