Home
last modified time | relevance | path

Searched refs:Pressure (Results 1 – 4 of 4) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/algorithms/sensorfusion/sources/
Ddriver_MPL3115.c74 sfg->Pressure.iWhoAmI = reg; in MPL3115_Init()
89 sfg->Pressure.fmPerCount = MPL3115_MPERCOUNT; // Convert 32-bit Altitude value to meters in MPL3115_Init()
90 sfg->Pressure.fCPerCount = MPL3115_CPERCOUNT; // Convert 16-bit Temperature value to Celcius in MPL3115_Init()
93 sfg->Pressure.isEnabled = true; in MPL3115_Init()
112 sfg->Pressure.iH = (I2C_Buffer[0] << 24) | (I2C_Buffer[1] << 16) | (I2C_Buffer[2] << 8); in MPL3115_Read()
113 sfg->Pressure.iT = (I2C_Buffer[3] << 8) | I2C_Buffer[4]; in MPL3115_Read()
116 sfg->Pressure.fH = (float) sfg->Pressure.iH * sfg->Pressure.fmPerCount; in MPL3115_Read()
117 sfg->Pressure.fT = (float) sfg->Pressure.iT * sfg->Pressure.fCPerCount; in MPL3115_Read()
119 sfg->Pressure.fH = 0.0; in MPL3115_Read()
120 sfg->Pressure.fT = 0.0; in MPL3115_Read()
[all …]
Dsensor_fusion.c99 sfg->Pressure.iWhoAmI = 0; in initSensorFusionGlobals()
444 pPressure = &(sfg->Pressure); in runFusion()
Dsensor_fusion.h481 struct PressureSensor Pressure; ///< pressure sensor storage member
Doutput_stream.c512 if (sfg->pControlSubsystem->AltPacketOn && sfg->Pressure.iWhoAmI) in CreateAndSendPackets()