/************************************************************************** * * Copyright (c) 2024-2024 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * @file PressureCommon.h * * @author (last) Vinayakam Mani * @date (last) 13-Sep-2024 * * @author (original) Sean * @date (original) 22-Aug-2024 * ***************************************************************************/ #ifndef __PRESSURE_COMMON_H__ #define __PRESSURE_COMMON_H__ #ifdef _TD_ #include "TDCommon.h" #endif #ifdef _DD_ #include "DDCommon.h" #endif #ifdef _RO_ #include "ROCommon.h" #endif /** * @defgroup PressureCommon PressureCommon * @brief The Pressure Sensor unit provides common conversion functions for * MicroSensor (MPM3801) pressure sensors. * * @addtogroup PressureCommon * @{ */ // ********** public definitions ********** // ********** public function prototypes ********** F32 convertPressureReading2mmHg( S16 counts ); F32 convertPressureTempReading2DegC( S16 counts ); /**@}*/ #endif