Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: iks01a1_acc LoRaWAN-demo-72_mdotIKS01A1 MTDOT-UDKDemo_Senet MTDOT-UDKDemo
Fork of X_NUCLEO_IKS01A1 by
PressureSensor Class Reference
An abstract class for a Pressure Sensor. More...
#include <PressureSensor.h>
Inherits GenericSensor.
Inherited by LPS25H.
Public Member Functions | |
| virtual int | GetPressure (float *pfData)=0 |
| Get current pressure [mbar]. | |
| virtual int | Init (void *ptr)=0 |
| Initialization of sensor. | |
| virtual int | ReadID (uint8_t *id)=0 |
| Get ID of sensor. | |
Detailed Description
An abstract class for a Pressure Sensor.
Definition at line 49 of file PressureSensor.h.
Member Function Documentation
| virtual int GetPressure | ( | float * | pfData ) | [pure virtual] |
Get current pressure [mbar].
- Parameters:
-
[out] pfData Pointer to where to store pressure to
- Returns:
- 0 in case of success, an error code otherwise
Implemented in LPS25H.
| virtual int Init | ( | void * | ptr ) | [pure virtual, inherited] |
Generated on Tue Jul 12 2022 16:34:53 by
1.7.2
