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

#include <SPIDevice.h>

Inheritance diagram for ChibiOS::SPIDeviceManager:
[legend]
Collaboration diagram for ChibiOS::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 [] = { HAL_SPI_DEVICE_LIST }
 

Friends

class SPIDevice
 

Detailed Description

Definition at line 119 of file SPIDevice.h.

Member Function Documentation

◆ from()

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

Definition at line 123 of file SPIDevice.h.

Here is the call graph for this function:

◆ get_device()

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

Reimplemented from AP_HAL::SPIDeviceManager.

Definition at line 305 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 121 of file SPIDevice.h.

Member Data Documentation

◆ buses

SPIBus* ChibiOS::SPIDeviceManager::buses
private

Definition at line 132 of file SPIDevice.h.

◆ device_table

ChibiOS::SPIDesc SPIDeviceManager::device_table = { HAL_SPI_DEVICE_LIST }
staticprivate

Definition at line 131 of file SPIDevice.h.


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