|
|
|
@ -102,8 +102,12 @@ public:
@@ -102,8 +102,12 @@ public:
|
|
|
|
|
AuxiliaryBusSlave *request_next_slave(uint8_t addr); |
|
|
|
|
int register_periodic_read(AuxiliaryBusSlave *slave, uint8_t reg, uint8_t size); |
|
|
|
|
|
|
|
|
|
/* See AP_HAL::Device::register_periodic_callback() */ |
|
|
|
|
AP_HAL::Device::PeriodicHandle register_periodic_callback(uint32_t, AP_HAL::Device::PeriodicCb); |
|
|
|
|
/* See AP_HAL::Device::register_periodic_callback()
|
|
|
|
|
* |
|
|
|
|
* This method must be implemented by the sensor exposing the |
|
|
|
|
* AuxiliaryBus. |
|
|
|
|
*/ |
|
|
|
|
virtual AP_HAL::Device::PeriodicHandle register_periodic_callback(uint32_t, AP_HAL::Device::PeriodicCb) = 0; |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Get the semaphore needed to call methods on the bus this sensor is on. |
|
|
|
|