APM:Libraries
Public Member Functions | List of all members
Empty::I2CDeviceManager Class Reference

#include <I2CDevice.h>

Inheritance diagram for Empty::I2CDeviceManager:
[legend]
Collaboration diagram for Empty::I2CDeviceManager:
[legend]

Public Member Functions

 I2CDeviceManager ()
 
AP_HAL::OwnPtr< AP_HAL::I2CDeviceget_device (uint8_t bus, uint8_t address, uint32_t bus_clock=400000, bool use_smbus=false, uint32_t timeout_ms=4) override
 
- Public Member Functions inherited from AP_HAL::I2CDeviceManager
virtual OwnPtr< I2CDeviceget_device (std::vector< const char *> devpaths, uint8_t address)
 

Detailed Description

Definition at line 81 of file I2CDevice.h.

Constructor & Destructor Documentation

◆ I2CDeviceManager()

Empty::I2CDeviceManager::I2CDeviceManager ( void  )
inline

Definition at line 83 of file I2CDevice.h.

Member Function Documentation

◆ get_device()

AP_HAL::OwnPtr<AP_HAL::I2CDevice> Empty::I2CDeviceManager::get_device ( uint8_t  bus,
uint8_t  address,
uint32_t  bus_clock = 400000,
bool  use_smbus = false,
uint32_t  timeout_ms = 4 
)
inlineoverridevirtual

Implements AP_HAL::I2CDeviceManager.

Definition at line 86 of file I2CDevice.h.


The documentation for this class was generated from the following file: