16 lines
373 B
C
Executable File
16 lines
373 B
C
Executable File
#pragma once
|
|
|
|
bool bmp085Init(void);
|
|
|
|
// polled versions
|
|
int16_t bmp085_read_temperature(void);
|
|
int32_t bmp085_read_pressure(void);
|
|
|
|
// interrupt versions
|
|
void bmp085_start_ut(void);
|
|
uint16_t bmp085_get_ut(void);
|
|
void bmp085_start_up(void);
|
|
uint32_t bmp085_get_up(void);
|
|
int16_t bmp085_get_temperature(uint32_t ut);
|
|
int32_t bmp085_get_pressure(uint32_t up);
|