[PATCH 1/2] Add ABI documentation for the bmp085 digital pressure sensor.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christoph Mair
Date: Saturday, June 26, 2010 - 4:10 am

Signed-off-by: Christoph Mair <christoph.mair@gmail.com>
---
 Documentation/ABI/testing/sysfs-i2c-bmp085 |   31 ++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-i2c-bmp085

diff --git a/Documentation/ABI/testing/sysfs-i2c-bmp085 b/Documentation/ABI/testing/sysfs-i2c-bmp085
new file mode 100644
index 0000000..585962a
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-i2c-bmp085
@@ -0,0 +1,31 @@
+What:		/sys/bus/i2c/devices/<busnum>-<devaddr>/pressure0_input
+Date:		June 2010
+Contact:	Christoph Mair <christoph.mair@gmail.com>
+Description:	Start a pressure measurement and read the result. Values
+		represent the ambient air pressure in pascal (0.01 millibar).
+
+		Reading: returns the current air pressure.
+
+
+What:		/sys/bus/i2c/devices/<busnum>-<devaddr>/temp0_input
+Date:		June 2010
+Contact:	Christoph Mair <christoph.mair@gmail.com>
+Description:	Measure the ambient temperature. The returned value represents
+		the ambient temperature in units of 0.1 degree celsius.
+
+		Reading: returns the current temperature.
+
+
+What:		/sys/bus/i2c/devices/<busnum>-<devaddr>/oversampling
+Date:		June 2010
+Contact:	Christoph Mair <christoph.mair@gmail.com>
+Description:	Tell the bmp085 to use more samples to calculate a pressure
+		value. When writing to this file the chip will use 2^x samples
+		to calculate the next pressure value with x being the value
+		written. Using this feature will decrease RMS noise and
+		increase the measurement time.
+
+		Reading: returns the current oversampling setting.
+
+		Writing: sets a new oversampling setting.
+		Accepted values: 0..3.
-- 
1.7.1

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RE: [PATCH] Support for the pressure sensor BMP085 from Bo ..., Datta, Shubhrajyoti, (Sun Jun 20, 11:45 pm)
RE: [PATCH] Support for the pressure sensor BMP085 from Bo ..., Datta, Shubhrajyoti, (Mon Jun 21, 1:52 am)
bmp085: add inline and ABI documentation , Christoph Mair, (Sat Jun 26, 4:10 am)
[PATCH 1/2] Add ABI documentation for the bmp085 digital p ..., Christoph Mair, (Sat Jun 26, 4:10 am)