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

#include <SPIDevice.h>

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

Public Member Functions

AP_HAL::OwnPtr< AP_HAL::SPIDeviceget_device (const char *name)
 
- Public Member Functions inherited from AP_HAL::SPIDeviceManager
virtual uint8_t get_count ()
 
virtual const char * get_device_name (uint8_t idx)
 

Static Public Member Functions

static SPIDeviceManagerfrom (AP_HAL::SPIDeviceManager *spi_mgr)
 

Private Attributes

SPIBusbuses
 

Static Private Attributes

static SPIDesc device_table []
 

Friends

class SPIDevice
 

Detailed Description

Definition at line 97 of file SPIDevice.h.

Member Function Documentation

◆ from()

static SPIDeviceManager* PX4::SPIDeviceManager::from ( AP_HAL::SPIDeviceManager spi_mgr)
inlinestatic

Definition at line 101 of file SPIDevice.h.

Here is the call graph for this function:

◆ get_device()

AP_HAL::OwnPtr< AP_HAL::SPIDevice > PX4::SPIDeviceManager::get_device ( const char *  name)
virtual

Reimplemented from AP_HAL::SPIDeviceManager.

Definition at line 290 of file SPIDevice.cpp.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ SPIDevice

friend class SPIDevice
friend

Definition at line 99 of file SPIDevice.h.

Member Data Documentation

◆ buses

SPIBus* PX4::SPIDeviceManager::buses
private

Definition at line 110 of file SPIDevice.h.

◆ device_table

SPIDesc PX4::SPIDeviceManager::device_table
staticprivate

Definition at line 109 of file SPIDevice.h.


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