33 #ifndef LIDAR_LITE_I2C_H
34 #define LIDAR_LITE_I2C_H
I2C transaction structure.
Architecture independent I2C (Inter-Integrated Circuit Bus) API.
@ LIDAR_LITE_READ_DISTANCE
@ LIDAR_LITE_INIT_RANGING
void lidar_lite_downlink(void)
Downlink message for debug.
void lidar_lite_init(void)
Initialization function.
void lidar_lite_event(void)
Lidar event function Basically just check the progress of the transation to prevent overruns during h...
void lidar_lite_periodic(void)
Poll lidar for data for altitude hold 50Hz-100Hz should be enough, in theory can go faster (see the d...
struct i2c_transaction trans
enum LidarLiteStatus status
struct LidarLite lidar_lite
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.