« Back to documentation index
LPS25H_Private_Functions
Function Documentation
void LPS25H_DisableIT
(
void
)
Disable INT1.
Return values:
Definition at line 234 of file lps25h.c .
void LPS25H_EnableIT
(
void
)
Enable INT1.
Return values:
Definition at line 225 of file lps25h.c .
void LPS25H_GetPressure
(
float *
pfData )
Read LPS25H output register, and calculate the pressure in mbar.
Parameters:
float *pressure. Pressure value in mbar.
Return values:
LPS25H_ERROR or LPS25H_OK.
Definition at line 272 of file lps25h.c .
void LPS25H_GetTemperature
(
float *
pfData )
Read LPS25H output register, and calculate the temperature.
Parameters:
float *temperature : temperature value..
Return values:
LPS25H_ERROR or LPS25H_OK.
Definition at line 310 of file lps25h.c .
void LPS25H_I2C_ReadRawPressure
(
uint32_t *
raw_press )
Read LPS25H output register, and calculate the raw pressure.
Parameters:
uint32_t,: raw_press. Pressure raw value.
Return values:
LPS25H_ERROR or LPS25H_OK.
Definition at line 245 of file lps25h.c .
void LPS25H_I2C_ReadRawTemperature
(
int16_t *
raw_data )
Read LPS25H output register, and calculate the raw temperature.
Parameters:
int16_t *raw_data: temperature raw value.
Return values:
LPS25H_ERROR or LPS25H_OK.
Definition at line 289 of file lps25h.c .
void LPS25H_Init
(
PRESSURE_InitTypeDef *
LPS25H_Init )
Set LPS25H Initialization.
Parameters:
InitStruct,: it contains the configuration setting for the LPS25H.
Return values:
Error Code (PressureError_Enum)
Definition at line 133 of file lps25h.c .
void LPS25H_INT1InterruptConfig
(
uint16_t
Int1Config )
Set LPS25H Interrupt INT1 configuration.
Parameters:
LPS25H_InterruptConfig_TypeDef,: pointer to a LPS25H_InterruptConfig_TypeDef structure that contains the configuration setting for the LPS25H Interrupt.
Return values:
Definition at line 216 of file lps25h.c .
void LPS25H_PowerOff
(
void
)
Enter the shutdown mode for LPS25H.
Parameters:
Return values:
Definition at line 347 of file lps25h.c .
uint8_t LPS25H_ReadID
(
void
)
Read ID address of LPS25H.
Parameters:
Return values:
Definition at line 180 of file lps25h.c .
void LPS25H_RebootCmd
(
void
)
Reboot memory content of LPS25H.
Parameters:
Return values:
Definition at line 196 of file lps25h.c .
void LPS25H_SlaveAddrRemap
(
uint8_t
SA0_Bit_Status )
Set the slave address according to SA0 bit.
Parameters:
SA0_Bit_Status,: LPS25H_SA0_LOW or LPS25H_SA0_HIGH
Return values:
Definition at line 369 of file lps25h.c .