|
APM:Libraries
|
#include <SPIDevice.h>
Public Member Functions | |
| SPIDeviceManager () | |
| AP_HAL::OwnPtr< AP_HAL::SPIDevice > | get_device (const char *name) |
| void | teardown () |
| uint8_t | get_count () |
| const char * | get_device_name (uint8_t idx) |
Static Public Member Functions | |
| static SPIDeviceManager * | from (AP_HAL::SPIDeviceManager *spi_mgr) |
Protected Member Functions | |
| void | _unregister (SPIBus &b) |
| AP_HAL::OwnPtr< AP_HAL::SPIDevice > | _create_device (SPIBus &b, SPIDesc &device_desc) const |
Protected Attributes | |
| std::vector< SPIBus * > | _buses |
Static Protected Attributes | |
| static const uint8_t | _n_device_desc = LINUX_SPI_DEVICE_NUM_DEVICES |
| static SPIDesc | _device [] |
Friends | |
| class | SPIDevice |
Definition at line 77 of file SPIDevice.h.
|
inline |
|
protected |
|
protected |
Definition at line 494 of file SPIDevice.cpp.
Referenced by Linux::SPIDevice::~SPIDevice().
|
inlinestatic |
Definition at line 81 of file SPIDevice.h.
Referenced by Linux::SPIDevice::~SPIDevice().
|
virtual |
Reimplemented from AP_HAL::SPIDeviceManager.
Definition at line 473 of file SPIDevice.cpp.
|
virtual |
Reimplemented from AP_HAL::SPIDeviceManager.
Definition at line 432 of file SPIDevice.cpp.
|
virtual |
Reimplemented from AP_HAL::SPIDeviceManager.
Definition at line 477 of file SPIDevice.cpp.
| void Linux::SPIDeviceManager::teardown | ( | ) |
Definition at line 509 of file SPIDevice.cpp.
|
friend |
Definition at line 79 of file SPIDevice.h.
|
protected |
Definition at line 112 of file SPIDevice.h.
|
staticprotected |
Definition at line 115 of file SPIDevice.h.
|
staticprotected |
Definition at line 114 of file SPIDevice.h.
1.8.13