NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
baro_bmp085_unittest.cc File Reference
#include <stdint.h>
#include "target.h"
#include <platform.h>
#include "unittest_macros.h"
#include "gtest/gtest.h"
Include dependency graph for baro_bmp085_unittest.cc:

Data Structures

struct  bmp085_smd500_calibration_param_t
 
struct  bmp085_t
 

Functions

void bmp085_calculate (int32_t *pressure, int32_t *temperature)
 
 TEST (baroBmp085Test, TestBmp085CalculateOss0)
 
 TEST (baroBmp085Test, TestBmp085CalculateOss3)
 
 TEST (baroBmp085Test, TestBmp085CalculateOss3Cold)
 
 TEST (baroBmp085Test, TestBmp085CalculateOss3Hot)
 
void gpioInit ()
 
void RCC_APB2PeriphClockCmd ()
 
bool i2cWrite (uint8_t, uint8_t, uint8_t)
 
bool i2cRead (uint8_t, uint8_t, uint8_t, uint8_t)
 

Variables

uint32_t bmp085_up
 
uint16_t bmp085_ut
 
bmp085_t bmp085
 

Function Documentation

void bmp085_calculate ( int32_t *  pressure,
int32_t *  temperature 
)
void gpioInit ( )
bool i2cRead ( uint8_t  ,
uint8_t  ,
uint8_t  ,
uint8_t   
)
bool i2cWrite ( uint8_t  ,
uint8_t  ,
uint8_t   
)
void RCC_APB2PeriphClockCmd ( )
TEST ( baroBmp085Test  ,
TestBmp085CalculateOss0   
)

Here is the call graph for this function:

TEST ( baroBmp085Test  ,
TestBmp085CalculateOss3   
)

Here is the call graph for this function:

TEST ( baroBmp085Test  ,
TestBmp085CalculateOss3Cold   
)

Here is the call graph for this function:

TEST ( baroBmp085Test  ,
TestBmp085CalculateOss3Hot   
)

Here is the call graph for this function:

Variable Documentation

bmp085_t bmp085
uint32_t bmp085_up
uint16_t bmp085_ut