APM:Libraries
Public Member Functions | Static Public Member Functions | Friends | List of all members
PX4::I2CDeviceManager Class Reference

#include <I2CDevice.h>

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

Public Member Functions

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)
 

Static Public Member Functions

static I2CDeviceManagerfrom (AP_HAL::I2CDeviceManager *i2c_mgr)
 

Friends

class I2CDevice
 

Detailed Description

Definition at line 84 of file I2CDevice.h.

Member Function Documentation

◆ from()

static I2CDeviceManager* PX4::I2CDeviceManager::from ( AP_HAL::I2CDeviceManager i2c_mgr)
inlinestatic

Definition at line 88 of file I2CDevice.h.

Here is the call graph for this function:

◆ get_device()

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

Implements AP_HAL::I2CDeviceManager.

Definition at line 183 of file I2CDevice.cpp.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ I2CDevice

friend class I2CDevice
friend

Definition at line 86 of file I2CDevice.h.


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