aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/lib
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-02-26 16:28:43 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-02-26 16:28:43 +0000
commit70fb3b40569070168d85a65ede1ca8112a9394f8 (patch)
tree647ee84eb90b6d984e850e4772b4ea3dbe3bc1f1 /os/hal/lib
parente8dda5f8eea2d59fa92e124327e4b2f7885d75ad (diff)
downloadChibiOS-70fb3b40569070168d85a65ede1ca8112a9394f8.tar.gz
ChibiOS-70fb3b40569070168d85a65ede1ca8112a9394f8.tar.bz2
ChibiOS-70fb3b40569070168d85a65ede1ca8112a9394f8.zip
Modified sensor classes, not complete yet.
git-svn-id: https://svn.code.sf.net/p/chibios/svn2/trunk@11550 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/lib')
-rw-r--r--os/hal/lib/peripherals/sensors/hal_accelerometer.h2
-rw-r--r--os/hal/lib/peripherals/sensors/hal_barometer.h2
-rw-r--r--os/hal/lib/peripherals/sensors/hal_compass.h2
-rw-r--r--os/hal/lib/peripherals/sensors/hal_gyroscope.h2
-rw-r--r--os/hal/lib/peripherals/sensors/hal_hygrometer.h2
-rw-r--r--os/hal/lib/peripherals/sensors/hal_sensors.h4
-rw-r--r--os/hal/lib/peripherals/sensors/hal_thermometer.h2
7 files changed, 16 insertions, 0 deletions
diff --git a/os/hal/lib/peripherals/sensors/hal_accelerometer.h b/os/hal/lib/peripherals/sensors/hal_accelerometer.h
index 91bc6fd0a..43395fe63 100644
--- a/os/hal/lib/peripherals/sensors/hal_accelerometer.h
+++ b/os/hal/lib/peripherals/sensors/hal_accelerometer.h
@@ -77,6 +77,8 @@ struct BaseAccelerometerVMT {
_base_sensor_data
/**
+ * @extends BaseSensor
+ *
* @brief Base accelerometer class.
* @details This class represents a generic a generic accelerometer.
*/
diff --git a/os/hal/lib/peripherals/sensors/hal_barometer.h b/os/hal/lib/peripherals/sensors/hal_barometer.h
index 1ab4552cb..275fefa10 100644
--- a/os/hal/lib/peripherals/sensors/hal_barometer.h
+++ b/os/hal/lib/peripherals/sensors/hal_barometer.h
@@ -78,6 +78,8 @@ struct BaseBarometerVMT {
_base_sensor_data
/**
+ * @extends BaseSensor
+ *
* @brief Base barometer class.
* @details This class represents a generic barometer.
*/
diff --git a/os/hal/lib/peripherals/sensors/hal_compass.h b/os/hal/lib/peripherals/sensors/hal_compass.h
index 83ab8b2ab..e777070c3 100644
--- a/os/hal/lib/peripherals/sensors/hal_compass.h
+++ b/os/hal/lib/peripherals/sensors/hal_compass.h
@@ -78,6 +78,8 @@ struct BaseCompassVMT {
_base_sensor_data
/**
+ * @extends BaseSensor
+ *
* @brief Base compass class.
* @details This class represents a generic compass.
*/
diff --git a/os/hal/lib/peripherals/sensors/hal_gyroscope.h b/os/hal/lib/peripherals/sensors/hal_gyroscope.h
index 47b3708c8..f5bfc1f03 100644
--- a/os/hal/lib/peripherals/sensors/hal_gyroscope.h
+++ b/os/hal/lib/peripherals/sensors/hal_gyroscope.h
@@ -80,6 +80,8 @@ struct BaseGyroscopeVMT {
_base_sensor_data
/**
+ * @extends BaseSensor
+ *
* @brief Base gyroscope class.
* @details This class represents a generic gyroscope.
*/
diff --git a/os/hal/lib/peripherals/sensors/hal_hygrometer.h b/os/hal/lib/peripherals/sensors/hal_hygrometer.h
index 3feace0bc..31c066e92 100644
--- a/os/hal/lib/peripherals/sensors/hal_hygrometer.h
+++ b/os/hal/lib/peripherals/sensors/hal_hygrometer.h
@@ -78,6 +78,8 @@ struct BaseHygrometerVMT {
_base_sensor_data
/**
+ * @extends BaseSensor
+ *
* @brief Base hygrometer class.
* @details This class represents a generic hygrometer.
*/
diff --git a/os/hal/lib/peripherals/sensors/hal_sensors.h b/os/hal/lib/peripherals/sensors/hal_sensors.h
index 0a09a3b21..b5c6b4e9d 100644
--- a/os/hal/lib/peripherals/sensors/hal_sensors.h
+++ b/os/hal/lib/peripherals/sensors/hal_sensors.h
@@ -56,6 +56,7 @@
* @brief BaseSensor specific methods with inherited ones.
*/
#define _base_sensor_methods \
+ _base_object_methods \
_base_sensor_methods_alone
/**
@@ -71,8 +72,11 @@ struct BaseSensorVMT {
* without implementation.
*/
#define _base_sensor_data
+ _base_object_data \
/**
+ * @extends BaseObject
+ *
* @brief Base stream class.
* @details This class represents a generic blocking unbuffered sequential
* data stream.
diff --git a/os/hal/lib/peripherals/sensors/hal_thermometer.h b/os/hal/lib/peripherals/sensors/hal_thermometer.h
index 2094d9c0a..6cf13d7f2 100644
--- a/os/hal/lib/peripherals/sensors/hal_thermometer.h
+++ b/os/hal/lib/peripherals/sensors/hal_thermometer.h
@@ -78,6 +78,8 @@ struct BaseThermometerVMT {
_base_sensor_data
/**
+ * @extends BaseSensor
+ *
* @brief Base thermometer class.
* @details This class represents a generic thermometer.
*/