|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
void ms5611_spi_periodic_check(struct Ms5611_Spi *ms)
Periodic function to ensure proper delay after triggering reset or conversion.
bool is_ms5607
TRUE if MS5607, FALSE if MS5611.
SPI transaction structure.
static void ms5611_spi_read(struct Ms5611_Spi *ms)
convenience function to trigger new measurement.
volatile uint8_t rx_buf[4]
volatile bool data_available
data ready flag
SPI peripheral structure.
int32_t prom_cnt
number of bytes read from PROM
bool initialized
config done flag
struct spi_periph * spi_p
static void ms5611_spi_periodic(struct Ms5611_Spi *ms)
convenience function
struct spi_transaction spi_trans
void ms5611_spi_start_conversion(struct Ms5611_Spi *ms)
void ms5611_spi_event(struct Ms5611_Spi *ms)
void ms5611_spi_init(struct Ms5611_Spi *ms, struct spi_periph *spi_p, uint8_t addr, bool is_ms5607)
void ms5611_spi_start_configure(struct Ms5611_Spi *ms)
volatile uint8_t tx_buf[1]