|
|
@ -110,6 +110,21 @@ public: |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
void teardown(); |
|
|
|
void teardown(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
get mask of bus numbers for all configured I2C buses |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
uint32_t get_bus_mask(void) const override; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
get mask of bus numbers for all configured external I2C buses |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
uint32_t get_bus_mask_external(void) const override; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
get mask of bus numbers for all configured internal I2C buses |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
uint32_t get_bus_mask_internal(void) const override; |
|
|
|
|
|
|
|
|
|
|
|
protected: |
|
|
|
protected: |
|
|
|
void _unregister(I2CBus &b); |
|
|
|
void _unregister(I2CBus &b); |
|
|
|
AP_HAL::OwnPtr<AP_HAL::I2CDevice> _create_device(I2CBus &b, uint8_t address) const; |
|
|
|
AP_HAL::OwnPtr<AP_HAL::I2CDevice> _create_device(I2CBus &b, uint8_t address) const; |
|
|
|