NinjaFlight
|
#include <stdint.h>
#include "target.h"
#include <platform.h>
#include "unittest_macros.h"
#include "gtest/gtest.h"
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 |
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 | |||
) |
TEST | ( | baroBmp085Test | , |
TestBmp085CalculateOss3 | |||
) |
TEST | ( | baroBmp085Test | , |
TestBmp085CalculateOss3Cold | |||
) |
TEST | ( | baroBmp085Test | , |
TestBmp085CalculateOss3Hot | |||
) |
bmp085_t bmp085 |
uint32_t bmp085_up |
uint16_t bmp085_ut |