File volume_calculations.hpp
FileList > SensorHub_FW > src > volume_calculations.hpp
Go to the source code of this file
#include <FreeRTOS.h>
#include <queue.h>
#include <task.h>
Public Attributes
Public Static Attributes
Public Functions
Macros
Public Attributes Documentation
variable sampleVolume
Public Static Attributes Documentation
variable stopTime
variable timeDifference
variable totalVolume
Public Functions Documentation
function CalculateAirBlownInLungs
double CalculateAirBlownInLungs (
uint16_t differentialPressure
)
function CalculateTotalVolume
uint16_t CalculateTotalVolume (
uint16_t differentialPressure
)
function sqrt
double sqrt (
double input
)
Macro Definition Documentation
define AIR_DRAG
define AIR_WEIGHT
define CORRECTION_FACTOR
#define CORRECTION_FACTOR 1.78
define FLOW_ERROR
define INTERVAL_TO_FREQ
#define INTERVAL_TO_FREQ 1000
define M3TOCM3_FACTOR
#define M3TOCM3_FACTOR 1e6
define MAX_PROCESSABLE_SENSOR_VAL
#define MAX_PROCESSABLE_SENSOR_VAL 500
define ORIFICE_SURFACE
#define ORIFICE_SURFACE 7.069e-6
define VOLUME_CALC_CONSTANT
#define VOLUME_CALC_CONSTANT 0.94
The documentation for this class was generated from the following file SensorHub_FW/src/volume_calculations.hpp