ACwing FC firmware
STM32WB55: attitude IEKF, altitude Kalman filter, flight core, protocol v2
Loading...
Searching...
No Matches
sensor_bus_t Struct Reference

#include <sensor_bus.h>

Data Fields

bus_write_fn write
 
bus_read_fn read
 
bus_delay_fn delay_ms
 optional (used only in init/reset)

 
void * handle
 opaque context passed to read/write

 

Detailed Description

Definition at line 19 of file sensor_bus.h.

Field Documentation

◆ write

bus_write_fn sensor_bus_t::write

Definition at line 20 of file sensor_bus.h.

Referenced by imu_i2c_make_bus(), and imu_init().

◆ read

bus_read_fn sensor_bus_t::read

Definition at line 21 of file sensor_bus.h.

Referenced by flow_init(), flow_read(), imu_fifo_read_burst(), imu_i2c_make_bus(), and imu_init().

◆ delay_ms

bus_delay_fn sensor_bus_t::delay_ms

optional (used only in init/reset)

Definition at line 22 of file sensor_bus.h.

Referenced by dly(), imu_i2c_make_bus(), and imu_init().

◆ handle

void* sensor_bus_t::handle

opaque context passed to read/write

Definition at line 23 of file sensor_bus.h.

Referenced by flow_init(), flow_read(), imu_fifo_read_burst(), imu_i2c_make_bus(), and imu_init().


The documentation for this struct was generated from the following file: