47 bool transfer(
const uint8_t *send, uint32_t send_len,
48 uint8_t *recv, uint32_t recv_len)
override 54 uint32_t recv_len, uint8_t times)
68 uint32_t period_usec, AP_HAL::Device::PeriodicCb)
override 87 uint32_t bus_clock=400000,
88 bool use_smbus =
false,
89 uint32_t timeout_ms=4)
override
bool set_speed(enum AP_HAL::Device::Speed speed) override
void set_retries(uint8_t retries) override
bool transfer(const uint8_t *send, uint32_t send_len, uint8_t *recv, uint32_t recv_len) override
AP_HAL::Semaphore * get_semaphore()
bool read_registers_multiple(uint8_t first_reg, uint8_t *recv, uint32_t recv_len, uint8_t times)
virtual bool adjust_periodic_callback(AP_HAL::Device::PeriodicHandle h, uint32_t period_usec) override
void set_address(uint8_t address) override
AP_HAL::OwnPtr< AP_HAL::I2CDevice > get_device(uint8_t bus, uint8_t address, uint32_t bus_clock=400000, bool use_smbus=false, uint32_t timeout_ms=4) override
AP_HAL::Device::PeriodicHandle register_periodic_callback(uint32_t period_usec, AP_HAL::Device::PeriodicCb) override