|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
void l3gd20_spi_read(struct L3gd20_Spi *l3g)
union L3gd20_Spi::@321 data_rates
struct spi_transaction spi_trans
SPI transaction structure.
void l3gd20_spi_start_configure(struct L3gd20_Spi *l3g)
volatile bool data_available
data ready flag
Paparazzi fixed point algebra.
static void l3gd20_spi_periodic(struct L3gd20_Spi *l3g)
convenience function: read or start configuration if not already initialized
SPI peripheral structure.
void l3gd20_spi_event(struct L3gd20_Spi *l3g)
struct L3gd20Config config
bool initialized
config done flag
void l3gd20_spi_init(struct L3gd20_Spi *l3g, struct spi_periph *spi_p, uint8_t slave_idx)
volatile uint8_t tx_buf[2]
volatile uint8_t rx_buf[8]
struct spi_periph * spi_p
enum L3gd20ConfStatus init_status
init status