NinjaFlight
|
Functions | |
int8_t | ms5611_crc (uint16_t *prom) |
void | ms5611_calculate (int32_t *pressure, int32_t *temperature) |
TEST (baroMS5611Test, TestValidMs5611Crc) | |
TEST (baroMS5611Test, TestInvalidMs5611Crc) | |
TEST (baroMS5611Test, TestMs5611AllZeroProm) | |
TEST (baroMS5611Test, TestMs5611AllOnesProm) | |
TEST (baroMS5611Test, TestMs5611CalculatePressureGT20Deg) | |
TEST (baroMS5611Test, TestMs5611CalculatePressureLT20Deg) | |
TEST (baroMS5611Test, TestMs5611CalculatePressureLTMinus15Deg) | |
bool | i2cWrite (uint8_t, uint8_t, uint8_t) |
bool | i2cRead (uint8_t, uint8_t, uint8_t, uint8_t) |
Variables | |
uint16_t | ms5611_c [8] |
uint32_t | ms5611_up |
uint32_t | ms5611_ut |
bool i2cRead | ( | uint8_t | , |
uint8_t | , | ||
uint8_t | , | ||
uint8_t | |||
) |
bool i2cWrite | ( | uint8_t | , |
uint8_t | , | ||
uint8_t | |||
) |
void ms5611_calculate | ( | int32_t * | pressure, |
int32_t * | temperature | ||
) |
int8_t ms5611_crc | ( | uint16_t * | prom | ) |
TEST | ( | baroMS5611Test | , |
TestValidMs5611Crc | |||
) |
TEST | ( | baroMS5611Test | , |
TestInvalidMs5611Crc | |||
) |
TEST | ( | baroMS5611Test | , |
TestMs5611AllZeroProm | |||
) |
TEST | ( | baroMS5611Test | , |
TestMs5611AllOnesProm | |||
) |
TEST | ( | baroMS5611Test | , |
TestMs5611CalculatePressureGT20Deg | |||
) |
TEST | ( | baroMS5611Test | , |
TestMs5611CalculatePressureLT20Deg | |||
) |
TEST | ( | baroMS5611Test | , |
TestMs5611CalculatePressureLTMinus15Deg | |||
) |
uint16_t ms5611_c[8] |
uint32_t ms5611_up |
uint32_t ms5611_ut |