I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
Loading...
Searching...
No Matches
BMP180_ex.h File Reference

BMP180 Driver extensions. More...

#include "sarmfsw.h"
#include "BMP180.h"
Include dependency graph for BMP180_ex.h:
This graph shows which files directly or indirectly include this file:

Macros

#define BMP180_RESET_VAL   0xB6U
 Reset value for "soft reset" register.
 

Functions

FctERR BMP180_Start_Conversion (BMP180_t *const pCpnt, const BMP180_meas meas)
 Start BMP180 Temperature/Pressure conversion.
 
FctERR BMP180_Get_ChipID (BMP180_t *const pCpnt, uint8_t *id)
 Get BMP180 chip ID.
 
FctERR BMP180_Reset (BMP180_t *const pCpnt)
 Reset BMP180 chip.
 
FctERR BMP180_Get_Temperature_Raw (BMP180_t *const pCpnt, int32_t *tp)
 Get Raw Temperature.
 
FctERR BMP180_Get_Pressure_Raw (BMP180_t *const pCpnt, int32_t *pr)
 Get Raw Pressure.
 

Detailed Description

BMP180 Driver extensions.

Author
SMFSW

BMP180: Digital pressure sensor

Macro Definition Documentation

◆ BMP180_RESET_VAL

#define BMP180_RESET_VAL   0xB6U

Reset value for "soft reset" register.

Function Documentation

◆ BMP180_Get_ChipID()

FctERR BMP180_Get_ChipID ( BMP180_t *const pCpnt,
uint8_t * id )
inline

Get BMP180 chip ID.

Parameters
[in]pCpnt- Pointer to BMP180 component
[in,out]id- pointer to chip ID result
Returns
FctERR - error code
Here is the call graph for this function:
Here is the caller graph for this function:

◆ BMP180_Get_Pressure_Raw()

FctERR BMP180_Get_Pressure_Raw ( BMP180_t *const pCpnt,
int32_t * pr )

Get Raw Pressure.

Parameters
[in]pCpnt- Pointer to BMP180 component
[in,out]pr- pointer to raw pressure result
Returns
FctERR - error code
Here is the call graph for this function:
Here is the caller graph for this function:

◆ BMP180_Get_Temperature_Raw()

FctERR BMP180_Get_Temperature_Raw ( BMP180_t *const pCpnt,
int32_t * tp )

Get Raw Temperature.

Parameters
[in]pCpnt- Pointer to BMP180 component
[in,out]tp- pointer to raw temperature result
Returns
FctERR - error code
Here is the call graph for this function:
Here is the caller graph for this function:

◆ BMP180_Reset()

FctERR BMP180_Reset ( BMP180_t *const pCpnt)
inline

Reset BMP180 chip.

Parameters
[in]pCpnt- Pointer to BMP180 component
Returns
FctERR - error code
Here is the call graph for this function:

◆ BMP180_Start_Conversion()

FctERR BMP180_Start_Conversion ( BMP180_t *const pCpnt,
const BMP180_meas meas )

Start BMP180 Temperature/Pressure conversion.

Parameters
[in]pCpnt- Pointer to BMP180 component
[in]meas- Temperature / Pressure
Returns
FctERR - error code
Here is the call graph for this function:
Here is the caller graph for this function: