26 #ifndef LIDAR_SF11_I2C_H
27 #define LIDAR_SF11_I2C_H
I2C transaction structure.
Architecture independent I2C (Inter-Integrated Circuit Bus) API.
void lidar_sf11_init(void)
Initialization function.
enum LidarSF11Status status
struct LidarSF11 lidar_sf11
void lidar_sf11_periodic(void)
Poll lidar for data.
void lidar_sf11_downlink(void)
Downlink message for debug.
void lidar_sf11_event(void)
Lidar event function Check if the transaction succeded before reading the result.
struct i2c_transaction trans
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.