|
I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
|
BMP180 Driver procedures. More...


Data Structures | |
| struct | BMP180_calib |
| struct | BMP180_t |
| BMP180 user interface struct. More... | |
Macros | |
| #define | BMP180_CHIP_ID 0x55U |
| BMP180 Chip ID to check against. | |
Functions | |
| void | BMP180_Set_SeaLevel_Pressure (BMP180_t *const pCpnt) |
| Setter of Sea Level pressure for BMP180 peripheral. | |
| FctERR | BMP180_Init_Sequence (BMP180_t *const pCpnt) |
| Initialization Sequence for BMP180 peripheral. | |
| FctERR | BMP180_Set_Oversampling (BMP180_t *const pCpnt, const BMP180_oversampling oss) |
| Set oversampling for BMP180 peripheral. | |
| FctERR | BMP180_Get_Calibration (BMP180_t *const pCpnt, BMP180_calib *pCalib) |
| Get calibration parameters from BMP180 peripheral. | |
| FctERR | BMP180_Get_Pressure (BMP180_t *const pCpnt, float *pres) |
| Gets the compensated pressure level. | |
| FctERR | BMP180_Get_Temperature (BMP180_t *const pCpnt, float *temp) |
| Get the temperature. | |
| FctERR | BMP180_handler (BMP180_t *const pCpnt) |
| Handler for BMP180 peripheral. | |
| FctERR | BMP180_handler_all (void) |
| Handler for all BMP180 peripherals. | |
Variables | |
| BMP180_t | BMP180 [I2C_BMP180_NB] |
| BMP180 User structure. | |
BMP180 Driver procedures.
BMP180: Digital pressure sensor
| #define BMP180_CHIP_ID 0x55U |
BMP180 Chip ID to check against.
| FctERR BMP180_Get_Calibration | ( | BMP180_t *const | pCpnt, |
| BMP180_calib * | pCalib ) |
Get calibration parameters from BMP180 peripheral.
| [in] | pCpnt | - Pointer to BMP180 component |
| [in,out] | pCalib | - pointer to calibration structure to read to |


| FctERR BMP180_Get_Pressure | ( | BMP180_t *const | pCpnt, |
| float * | pres ) |
Gets the compensated pressure level.
| [in] | pCpnt | - Pointer to BMP180 component |
| [in,out] | pres | - pointer to atmospheric pressure level to read to (in hPa) |


| FctERR BMP180_Get_Temperature | ( | BMP180_t *const | pCpnt, |
| float * | temp ) |
Get the temperature.
| [in] | pCpnt | - Pointer to BMP180 component |
| [in,out] | temp | - pointer to temperature to read to (in Celsius degrees) |


| FctERR BMP180_handler | ( | BMP180_t *const | pCpnt | ) |
Handler for BMP180 peripheral.
| [in] | pCpnt | - Pointer to BMP180 component |


| FctERR BMP180_handler_all | ( | void | ) |
Handler for all BMP180 peripherals.

| FctERR BMP180_Init_Sequence | ( | BMP180_t *const | pCpnt | ) |
Initialization Sequence for BMP180 peripheral.
| [in] | pCpnt | - Pointer to BMP180 component |


| FctERR BMP180_Set_Oversampling | ( | BMP180_t *const | pCpnt, |
| const BMP180_oversampling | oss ) |
Set oversampling for BMP180 peripheral.
| [in] | pCpnt | - Pointer to BMP180 component |
| [in,out] | oss | - oversampling value |
| void BMP180_Set_SeaLevel_Pressure | ( | BMP180_t *const | pCpnt | ) |
Setter of Sea Level pressure for BMP180 peripheral.
| [in] | pCpnt | - Pointer to BMP180 component |


|
extern |
BMP180 User structure.